directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1021409 - in /directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers: ./ views/ wizards/
Date Mon, 11 Oct 2010 16:26:22 GMT
Author: pamarcelot
Date: Mon Oct 11 16:26:22 2010
New Revision: 1021409

URL: http://svn.apache.org/viewvc?rev=1021409&view=rev
Log:
Externalized a few strings.

Modified:
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/ConsolesManager.java
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersPluginConstants.java
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersUtils.java
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages.properties
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_de.properties
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_fr.properties
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServerAdaptersView.java
    directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/wizards/LdapServerAdapterExtensionsLabelProvider.java

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/ConsolesManager.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/ConsolesManager.java?rev=1021409&r1=1021408&r2=1021409&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/ConsolesManager.java
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/ConsolesManager.java
Mon Oct 11 16:26:22 2010
@@ -89,7 +89,8 @@ public class ConsolesManager
         }
         else
         {
-            MessageConsole messageConsole = new MessageConsole( server.getName() + " [LDAP
Server]", null );
+            MessageConsole messageConsole = new MessageConsole( server.getName()
+                + " " + Messages.getString( "ConsolesManager.LdapServer" ), null ); //$NON-NLS-1$
//$NON-NLS-2$
             consolesMap.put( server, messageConsole );
 
             ConsolePlugin.getDefault().getConsoleManager().addConsoles( new IConsole[]

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersPluginConstants.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersPluginConstants.java?rev=1021409&r1=1021408&r2=1021409&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersPluginConstants.java
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersPluginConstants.java
Mon Oct 11 16:26:22 2010
@@ -62,7 +62,7 @@ public interface LdapServersPluginConsta
     public static final String CMD_NEW_SERVER = LdapServersPlugin.getDefault().getPluginProperties()
         .getString( "Cmd_NewServer_id" ); //$NON-NLS-1$
     public static final String CMD_OPEN_CONFIGURATION = LdapServersPlugin.getDefault().getPluginProperties()
-        .getString( "Cmd_OpenConfiguration_id" );
+        .getString( "Cmd_OpenConfiguration_id" ); //$NON-NLS-1$
     public static final String CMD_PROPERTIES = LdapServersPlugin.getDefault().getPluginProperties()
         .getString( "Cmd_Properties_id" ); //$NON-NLS-1$
     public static final String CMD_RENAME = LdapServersPlugin.getDefault().getPluginProperties()

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersUtils.java?rev=1021409&r1=1021408&r2=1021409&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersUtils.java
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/LdapServersUtils.java
Mon Oct 11 16:26:22 2010
@@ -215,8 +215,8 @@ public class LdapServersUtils
     public static void startConsolePrinterThread( LdapServer server )
     {
         MessageConsole messageConsole = ConsolesManager.getDefault().getMessageConsole( server
);
-        ConsolePrinterThread consolePrinter = new ConsolePrinterThread( LdapServersManager.getServerFolder(
server ).append( "log" )
-            .append( "apacheds.log" ).toFile(), messageConsole.newMessageStream() );
+        ConsolePrinterThread consolePrinter = new ConsolePrinterThread( LdapServersManager.getServerFolder(
server ).append( "log" ) //$NON-NLS-1$
+            .append( "apacheds.log" ).toFile(), messageConsole.newMessageStream() ); //$NON-NLS-1$
         consolePrinter.start();
 
         // Storing the console printer as a custom object in the LDAP Server for later use

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages.properties?rev=1021409&r1=1021408&r2=1021409&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages.properties
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages.properties
Mon Oct 11 16:26:22 2010
@@ -15,6 +15,8 @@
 # specific language governing permissions and limitations
 # under the License.
 
+ConsolesManager.LdapServer=[LDAP Server]
+
 LdapServersPlugin.UnableGetPluginProperties=Unable to get the plugin properties.
 
 LdapServersManager.ErrorLoadingServer=An error occurred when loading the servers.\n\n

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_de.properties?rev=1021409&r1=1021408&r2=1021409&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_de.properties
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_de.properties
Mon Oct 11 16:26:22 2010
@@ -15,6 +15,8 @@
 # specific language governing permissions and limitations
 # under the License.
 
+ConsolesManager.LdapServer=TODO:[LDAP Server]
+
 LdapServersPlugin.UnableGetPluginProperties=Die Plugin Eigenschaften k\u00F6nnen nicht geladen
werden.
 
 LdapServersManager.ErrorLoadingServer=Beim Laden des Servers ist ein Fehler aufgetreten.\n\n

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_fr.properties?rev=1021409&r1=1021408&r2=1021409&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_fr.properties
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/messages_fr.properties
Mon Oct 11 16:26:22 2010
@@ -15,6 +15,8 @@
 # specific language governing permissions and limitations
 # under the License.
 
+ConsolesManager.LdapServer=[Serveur LDAP]
+
 LdapServersPlugin.UnableGetPluginProperties=Impossible de r\u00E9cup\u00E9rer les propri\u00E9t\u00E9s
de ce plugin
 
 LdapServersManager.ErrorLoadingServer=Une erreur est survenue lors du chargement des serveurs.\n\n

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServerAdaptersView.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServerAdaptersView.java?rev=1021409&r1=1021408&r2=1021409&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServerAdaptersView.java
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/views/ServerAdaptersView.java
Mon Oct 11 16:26:22 2010
@@ -60,7 +60,7 @@ public class ServerAdaptersView extends 
                 {
                     LdapServerAdapterExtension extension = ( LdapServerAdapterExtension )
element;
 
-                    return extension.getName() + " " + extension.getVersion();
+                    return extension.getName() + " " + extension.getVersion(); //$NON-NLS-1$
                 }
 
                 // TODO Auto-generated method stub

Modified: directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/wizards/LdapServerAdapterExtensionsLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/wizards/LdapServerAdapterExtensionsLabelProvider.java?rev=1021409&r1=1021408&r2=1021409&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/wizards/LdapServerAdapterExtensionsLabelProvider.java
(original)
+++ directory/studio/trunk/plugins/ldapservers/src/main/java/org/apache/directory/studio/ldapservers/wizards/LdapServerAdapterExtensionsLabelProvider.java
Mon Oct 11 16:26:22 2010
@@ -68,7 +68,7 @@ public class LdapServerAdapterExtensions
         {
             LdapServerAdapterExtension extension = ( LdapServerAdapterExtension ) element;
 
-            return extension.getName() + " " + extension.getVersion();
+            return extension.getName() + " " + extension.getVersion(); //$NON-NLS-1$
         }
 
         return super.getText( element );



Mime
View raw message