directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r986033 - in /directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views: ServersViewLabelProvider.java messages.properties messages_de.properties messages_fr.properties
Date Mon, 16 Aug 2010 16:44:18 GMT
Author: pamarcelot
Date: Mon Aug 16 16:44:18 2010
New Revision: 986033

URL: http://svn.apache.org/viewvc?rev=986033&view=rev
Log:
Localized server statuses in the Servers view.

Modified:
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersViewLabelProvider.java
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages.properties
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_de.properties
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_fr.properties

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersViewLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersViewLabelProvider.java?rev=986033&r1=986032&r2=986033&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersViewLabelProvider.java
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServersViewLabelProvider.java
Mon Aug 16 16:44:18 2010
@@ -63,15 +63,15 @@ public class ServersViewLabelProvider ex
                 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$
                 }
             }
 

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages.properties?rev=986033&r1=986032&r2=986033&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages.properties
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages.properties
Mon Aug 16 16:44:18 2010
@@ -19,3 +19,9 @@ ServersView.ldapBrowser=LDAP Browser
 ServersView.new=&New
 ServersView.server=Server
 ServersView.state=State
+
+ServersViewLabelProvider.Started=Started
+ServersViewLabelProvider.Starting=Starting
+ServersViewLabelProvider.Stopped=Stopped
+ServersViewLabelProvider.Stopping=Stopping
+ServersViewLabelProvider.Unknown=Unknown
\ No newline at end of file

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_de.properties?rev=986033&r1=986032&r2=986033&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_de.properties
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_de.properties
Mon Aug 16 16:44:18 2010
@@ -19,3 +19,9 @@ ServersView.ldapBrowser=LDAP Browser
 ServersView.new=&Neu
 ServersView.server=Server
 ServersView.state=Status
+
+ServersViewLabelProvider.Started=Gestartet
+ServersViewLabelProvider.Starting=Startend
+ServersViewLabelProvider.Stopped=Gestoppt
+ServersViewLabelProvider.Stopping=Stoppend
+ServersViewLabelProvider.Unknown=Unbekannt
\ No newline at end of file

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_fr.properties?rev=986033&r1=986032&r2=986033&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_fr.properties
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/messages_fr.properties
Mon Aug 16 16:44:18 2010
@@ -19,3 +19,9 @@ ServersView.ldapBrowser=Navigateur LDAP
 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



Mime
View raw message