Commits

Pierre-Arnaud Marcelot  committed 7f15da4

Localized server statuses in the Servers view.

git-svn-id: https://svn.apache.org/repos/asf/directory/studio/trunk@98603313f79535-47bb-0310-9956-ffa450edef68

  • Participants
  • Parent commits 83411dc

Comments (0)

Files changed (4)

File plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersViewLabelProvider.java

                 switch ( status )
                 {
                     case STARTED:
-                        return "Started"; // TODO
+                        return Messages.getString( "ServersViewLabelProvider.Started" ); //$NON-NLS-1$
                     case STARTING:
-                        return "Starting" + getDots(); // TODO
+                        return Messages.getString( "ServersViewLabelProvider.Starting" ) + getDots(); //$NON-NLS-1$
                     case STOPPED:
-                        return "Stopped"; // TODO
+                        return Messages.getString( "ServersViewLabelProvider.Stopped" ); //$NON-NLS-1$
                     case STOPPING:
-                        return "Stopping" + getDots(); // TODO
+                        return Messages.getString( "ServersViewLabelProvider.Stopping" ) + getDots(); //$NON-NLS-1$
                     case UNKNOWN:
-                        return "Unkown"; // TODO
+                        return Messages.getString( "ServersViewLabelProvider.Unknown" ); //$NON-NLS-1$
                 }
             }
 

File plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages.properties

 ServersView.new=&New
 ServersView.server=Server
 ServersView.state=State
+
+ServersViewLabelProvider.Started=Started
+ServersViewLabelProvider.Starting=Starting
+ServersViewLabelProvider.Stopped=Stopped
+ServersViewLabelProvider.Stopping=Stopping
+ServersViewLabelProvider.Unknown=Unknown

File plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_de.properties

 ServersView.new=&Neu
 ServersView.server=Server
 ServersView.state=Status
+
+ServersViewLabelProvider.Started=Gestartet
+ServersViewLabelProvider.Starting=Startend
+ServersViewLabelProvider.Stopped=Gestoppt
+ServersViewLabelProvider.Stopping=Stoppend
+ServersViewLabelProvider.Unknown=Unbekannt

File plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_fr.properties

 ServersView.new=&Nouveau
 ServersView.server=Serveur
 ServersView.state=Etat
+
+ServersViewLabelProvider.Started=D\u00E9marr\u00E9
+ServersViewLabelProvider.Starting=En cours de d\u00E9marrage
+ServersViewLabelProvider.Stopped=Arr\u00EAt\u00E9
+ServersViewLabelProvider.Stopping=En cours d'arr\u00EAt
+ServersViewLabelProvider.Unknown=Inconnu