directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1432982 [1/2] - in /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2: ./ actions/ dialogs/ editor/ jobs/
Date Mon, 14 Jan 2013 16:33:56 GMT
Author: pamarcelot
Date: Mon Jan 14 16:33:55 2013
New Revision: 1432982

URL: http://svn.apache.org/viewvc?rev=1432982&view=rev
Log:
Externalized and translated strings.

Added:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/Messages.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_de.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_fr.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/Messages.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_de.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_fr.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/Messages.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/messages.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/messages_de.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/messages_fr.properties
Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/ApacheDS2ConfigurationPlugin.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorExportConfigurationAction.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorImportConfigurationAction.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/AttributeValueDialog.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_de.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_fr.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ConnectionServerConfigurationInput.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ErrorPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LoadingPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/NewServerConfigurationInput.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/OverviewPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionDetailsPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionsMasterDetailsBlock.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionsPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PasswordPolicyPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ReplicationPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditor.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditorPage.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationEditorUtils.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ServerConfigurationInput.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/LoadConfigurationRunnable.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/PartitionsDiffComputer.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/jobs/SaveConfigurationRunnable.java
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/messages.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/messages_de.properties
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/messages_fr.properties

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/ApacheDS2ConfigurationPlugin.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/ApacheDS2ConfigurationPlugin.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/ApacheDS2ConfigurationPlugin.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/ApacheDS2ConfigurationPlugin.java Mon Jan 14 16:33:55 2013
@@ -104,7 +104,7 @@ public class ApacheDS2ConfigurationPlugi
             // Checking if no error occurred when loading the schemas
             if ( schemaManager.getErrors().size() != 0 )
             {
-                throw new Exception( "Could not load the schema correctly." );
+                throw new Exception( Messages.getString("ApacheDS2ConfigurationPlugin.CouldNotLoadSchemaCorrectly") ); //$NON-NLS-1$
             }
         }
 

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorExportConfigurationAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorExportConfigurationAction.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorExportConfigurationAction.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorExportConfigurationAction.java Mon Jan 14 16:33:55 2013
@@ -70,7 +70,7 @@ public class EditorExportConfigurationAc
      */
     public String getText()
     {
-        return "Export Configuration";
+        return Messages.getString("EditorExportConfigurationAction.ExportConfiguration"); //$NON-NLS-1$
     }
 
 
@@ -86,8 +86,8 @@ public class EditorExportConfigurationAc
         }
         catch ( Exception e )
         {
-            MessageDialog.openError( editor.getSite().getShell(), "Error Exporting Configuration File",
-                NLS.bind( "An error occurred when exporting the selected file:\n{0}", e.getMessage() ) );
+            MessageDialog.openError( editor.getSite().getShell(), Messages.getString("EditorExportConfigurationAction.ErrorExportingConfigurationFile"), //$NON-NLS-1$
+                NLS.bind( Messages.getString("EditorExportConfigurationAction.AnErrorOccurredWhenExportingTheSelectedFile"), e.getMessage() ) ); //$NON-NLS-1$
         }
     }
 }

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorImportConfigurationAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorImportConfigurationAction.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorImportConfigurationAction.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/EditorImportConfigurationAction.java Mon Jan 14 16:33:55 2013
@@ -55,7 +55,7 @@ import org.eclipse.ui.model.WorkbenchLab
  */
 public class EditorImportConfigurationAction extends Action
 {
-    private static final String DIALOG_TITLE = "Select Configuration File";
+    private static final String DIALOG_TITLE = Messages.getString("EditorImportConfigurationAction.SelectConfigurationFile"); //$NON-NLS-1$
 
     /** The associated editor */
     private ServerConfigurationEditor editor;
@@ -88,7 +88,7 @@ public class EditorImportConfigurationAc
      */
     public String getText()
     {
-        return "Import Configuration";
+        return Messages.getString("EditorImportConfigurationAction.ImportConfiguration"); //$NON-NLS-1$
     }
 
 
@@ -106,8 +106,8 @@ public class EditorImportConfigurationAc
                 if ( !MessageDialog
                     .openConfirm(
                         editor.getSite().getShell(),
-                        "Unsaved Modifications",
-                        "The configuration has unsaved modifications. All recent changes will be lost. Are you sure you want to continue?" ) )
+                        Messages.getString("EditorImportConfigurationAction.UnsavedModifications"), //$NON-NLS-1$
+                        Messages.getString("EditorImportConfigurationAction.ConfigurationHasUnsavedModificationsSureToContinue") ) ) //$NON-NLS-1$
                 {
                     return;
                 }
@@ -142,7 +142,7 @@ public class EditorImportConfigurationAc
                 // Opening a dialog for file selection
                 FileDialog dialog = new FileDialog( editor.getSite().getShell(), SWT.OPEN | SWT.SINGLE );
                 dialog.setText( DIALOG_TITLE );
-                dialog.setFilterPath( System.getProperty( "user.home" ) );
+                dialog.setFilterPath( System.getProperty( "user.home" ) ); //$NON-NLS-1$
                 String filePath = dialog.open();
                 if ( filePath == null )
                 {
@@ -172,8 +172,8 @@ public class EditorImportConfigurationAc
             if ( !MessageDialog
                 .openConfirm(
                     editor.getSite().getShell(),
-                    "Overwrite Existing Configuration",
-                    "Are you sure you want to overwrite the existing configuration with the contents of the selected file?" ) )
+                    Messages.getString("EditorImportConfigurationAction.OverwriteExistingConfiguration"), //$NON-NLS-1$
+                    Messages.getString("EditorImportConfigurationAction.AreYouSureYouWantToOverwriteTheExistingConfiguration") ) ) //$NON-NLS-1$
             {
                 return;
             }
@@ -189,9 +189,9 @@ public class EditorImportConfigurationAc
             MessageDialog
                 .openError(
                     editor.getSite().getShell(),
-                    "Error Importing Configuration File",
+                    Messages.getString("EditorImportConfigurationAction.ErrorImportingConfigurationFile"), //$NON-NLS-1$
                     NLS.bind(
-                        "An error occurred when importing the selected file:\n{0}\n\nIt does not seem to be a correct LDIF configuration file.",
+                        Messages.getString("EditorImportConfigurationAction.AnErrorOccurredWhenImportingTheSelectedFile"), //$NON-NLS-1$
                         e.getMessage() ) );
         }
     }
@@ -208,7 +208,7 @@ public class EditorImportConfigurationAc
         ElementTreeSelectionDialog dialog = new ElementTreeSelectionDialog( editor.getSite().getShell(),
             new WorkbenchLabelProvider(), new WorkbenchContentProvider() );
         dialog.setInput( ResourcesPlugin.getWorkspace().getRoot() );
-        dialog.setMessage( "Select the configuration file to import:" );
+        dialog.setMessage( Messages.getString("EditorImportConfigurationAction.SelectConfigurationFileToImport") ); //$NON-NLS-1$
         dialog.setTitle( DIALOG_TITLE );
         dialog.setAllowMultiple( false );
         dialog.setStatusLineAboveButtons( false );

Added: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/Messages.java?rev=1432982&view=auto
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/Messages.java (added)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/Messages.java Mon Jan 14 16:33:55 2013
@@ -0,0 +1,50 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.v2.actions;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.apacheds.configuration.v2.actions.messages"; //$NON-NLS-1$
+
+    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+
+
+    private Messages()
+    {
+    }
+
+
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Added: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages.properties?rev=1432982&view=auto
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages.properties (added)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages.properties Mon Jan 14 16:33:55 2013
@@ -0,0 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+EditorExportConfigurationAction.AnErrorOccurredWhenExportingTheSelectedFile=An error occurred when exporting the selected file:\n{0}
+EditorExportConfigurationAction.ErrorExportingConfigurationFile=Error Exporting Configuration File
+EditorExportConfigurationAction.ExportConfiguration=Export Configuration
+
+EditorImportConfigurationAction.AnErrorOccurredWhenImportingTheSelectedFile=An error occurred when importing the selected file:\n{0}\n\nIt does not seem to be a correct LDIF configuration file.
+EditorImportConfigurationAction.AreYouSureYouWantToOverwriteTheExistingConfiguration=Are you sure you want to overwrite the existing configuration with the contents of the selected file?
+EditorImportConfigurationAction.ConfigurationHasUnsavedModificationsSureToContinue=The configuration has unsaved modifications. All recent changes will be lost. Are you sure you want to continue?
+EditorImportConfigurationAction.ErrorImportingConfigurationFile=Error Importing Configuration File
+EditorImportConfigurationAction.ImportConfiguration=Import Configuration
+EditorImportConfigurationAction.OverwriteExistingConfiguration=Overwrite Existing Configuration
+EditorImportConfigurationAction.SelectConfigurationFile=Select Configuration File
+EditorImportConfigurationAction.SelectConfigurationFileToImport=Select the configuration file to import:
+EditorImportConfigurationAction.UnsavedModifications=Unsaved Modifications

Added: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_de.properties?rev=1432982&view=auto
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_de.properties (added)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_de.properties Mon Jan 14 16:33:55 2013
@@ -0,0 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+EditorExportConfigurationAction.AnErrorOccurredWhenExportingTheSelectedFile=TODO:An error occurred when exporting the selected file:\n{0}
+EditorExportConfigurationAction.ErrorExportingConfigurationFile=TODO:Error Exporting Configuration File
+EditorExportConfigurationAction.ExportConfiguration=TODO:Export Configuration
+
+EditorImportConfigurationAction.AnErrorOccurredWhenImportingTheSelectedFile=TODO:An error occurred when importing the selected file:\n{0}\n\nIt does not seem to be a correct LDIF configuration file.
+EditorImportConfigurationAction.AreYouSureYouWantToOverwriteTheExistingConfiguration=TODO:Are you sure you want to overwrite the existing configuration with the contents of the selected file?
+EditorImportConfigurationAction.ConfigurationHasUnsavedModificationsSureToContinue=TODO:The configuration has unsaved modifications. All recent changes will be lost. Are you sure you want to continue?
+EditorImportConfigurationAction.ErrorImportingConfigurationFile=TODO:Error Importing Configuration File
+EditorImportConfigurationAction.ImportConfiguration=TODO:Import Configuration
+EditorImportConfigurationAction.OverwriteExistingConfiguration=TODO:Overwrite Existing Configuration
+EditorImportConfigurationAction.SelectConfigurationFile=TODO:Select Configuration File
+EditorImportConfigurationAction.SelectConfigurationFileToImport=TODO:Select the configuration file to import:
+EditorImportConfigurationAction.UnsavedModifications=TODO:Unsaved Modifications

Added: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_fr.properties?rev=1432982&view=auto
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_fr.properties (added)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/actions/messages_fr.properties Mon Jan 14 16:33:55 2013
@@ -0,0 +1,30 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+EditorExportConfigurationAction.AnErrorOccurredWhenExportingTheSelectedFile=Une erreur est survenue lors de l'export du fichier sélectionné :\n{0}
+EditorExportConfigurationAction.ErrorExportingConfigurationFile=Erreur Export Fichier de Configuration
+EditorExportConfigurationAction.ExportConfiguration=Exporter la configuration
+
+EditorImportConfigurationAction.AnErrorOccurredWhenImportingTheSelectedFile=Une erreur est survenue lors de l'import du fichier sélectionné :\n{0}\n\nCela ne semble pas être un fichier de configuration LDIF correct.
+EditorImportConfigurationAction.AreYouSureYouWantToOverwriteTheExistingConfiguration=Êtes-vous sûr de vouloir écraser la configuration existante par le contenu du fichier sélectionné ?
+EditorImportConfigurationAction.ConfigurationHasUnsavedModificationsSureToContinue=La configuration contient des modifications non sauvegardées. Tous les changements récents vont être perdus. Êtes-vous sûr de vouloir continuer ?
+EditorImportConfigurationAction.ErrorImportingConfigurationFile=Erreur Import Fichier de Configuration
+EditorImportConfigurationAction.ImportConfiguration=Importer la Configuration
+EditorImportConfigurationAction.OverwriteExistingConfiguration=Écraser Configuration Existante
+EditorImportConfigurationAction.SelectConfigurationFile=Sélection Fichier de Configuration
+EditorImportConfigurationAction.SelectConfigurationFileToImport=Sélectionnez le fichier de configuration à importer :
+EditorImportConfigurationAction.UnsavedModifications=Modifications Non Sauvegardées

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/AttributeValueDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/AttributeValueDialog.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/AttributeValueDialog.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/AttributeValueDialog.java Mon Jan 14 16:33:55 2013
@@ -69,7 +69,7 @@ public class AttributeValueDialog extend
     protected void configureShell( Shell newShell )
     {
         super.configureShell( newShell );
-        newShell.setText( "Attribute Value Dialog" );
+        newShell.setText( Messages.getString("AttributeValueDialog.AttributeValueDialog") ); //$NON-NLS-1$
     }
 
 
@@ -84,13 +84,13 @@ public class AttributeValueDialog extend
         composite.setLayoutData( new GridData( GridData.FILL, GridData.FILL, true, true ) );
 
         Label attributeLabel = new Label( composite, SWT.NONE );
-        attributeLabel.setText( "Attribute:" );
+        attributeLabel.setText( Messages.getString("AttributeValueDialog.Attribute") ); //$NON-NLS-1$
 
         attributeText = new Text( composite, SWT.BORDER );
         attributeText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         Label valueLabel = new Label( composite, SWT.NONE );
-        valueLabel.setText( "Value:" );
+        valueLabel.setText( Messages.getString("AttributeValueDialog.Value") ); //$NON-NLS-1$
 
         valueText = new Text( composite, SWT.BORDER );
         valueText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages.properties?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages.properties (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages.properties Mon Jan 14 16:33:55 2013
@@ -17,6 +17,11 @@
 
 AttributeDialog.AttributeTypeOrOID=Attribute Type or OID:
 AttributeDialog.SelectAttributeTypeOrOID=Select Attribute Type or OID
+
+AttributeValueDialog.Attribute=Attribute:
+AttributeValueDialog.AttributeValueDialog=Attribute Value Dialog
+AttributeValueDialog.Value=Value:
+
 IndexDialog.AttributeID=Attribute ID:
 IndexDialog.CacheSize=Cache Size:
 IndexDialog.IndexedAttributeDialog=Indexed Attribute Dialog

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_de.properties?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_de.properties (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_de.properties Mon Jan 14 16:33:55 2013
@@ -17,6 +17,11 @@
 
 AttributeDialog.AttributeTypeOrOID=Attribut Typ oder OID:
 AttributeDialog.SelectAttributeTypeOrOID=Attribut Typ oder OID ausw\u00E4hlen
+
+AttributeValueDialog.Attribute=TODO:Attribute:
+AttributeValueDialog.AttributeValueDialog=TODO:Attribute Value Dialog
+AttributeValueDialog.Value=TODO:Value:
+
 IndexDialog.AttributeID=Attribut ID:
 IndexDialog.CacheSize=Cachegr\u00F6\u00DFe:
 IndexDialog.IndexedAttributeDialog=Indiziertes Attribut

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_fr.properties?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_fr.properties (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/dialogs/messages_fr.properties Mon Jan 14 16:33:55 2013
@@ -17,6 +17,12 @@
 
 AttributeDialog.AttributeTypeOrOID=Type d'attribut ou OID:
 AttributeDialog.SelectAttributeTypeOrOID=Selection d'un type d'attribut ou OID
+
+
+AttributeValueDialog.Attribute=Attribut:
+AttributeValueDialog.AttributeValueDialog=Dialogue de valeur d'attribut
+AttributeValueDialog.Value=Valeur:
+
 IndexDialog.AttributeID=ID de l'attribut:
 IndexDialog.CacheSize=Taille du cache:
 IndexDialog.IndexedAttributeDialog=Dialogue d'attribut index\u00E9

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ConnectionServerConfigurationInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ConnectionServerConfigurationInput.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ConnectionServerConfigurationInput.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ConnectionServerConfigurationInput.java Mon Jan 14 16:33:55 2013
@@ -95,7 +95,7 @@ public class ConnectionServerConfigurati
      */
     public String getToolTipText()
     {
-        return NLS.bind( "{0} - Configuration", connection.getName() );
+        return NLS.bind( Messages.getString("ConnectionServerConfigurationInput.ConnectionConfiguration"), connection.getName() ); //$NON-NLS-1$
     }
 
 
@@ -104,7 +104,7 @@ public class ConnectionServerConfigurati
      */
     public String getName()
     {
-        return NLS.bind( "{0} - Configuration", connection.getName() );
+        return NLS.bind( Messages.getString("ConnectionServerConfigurationInput.ConnectionConfiguration"), connection.getName() ); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ErrorPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ErrorPage.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ErrorPage.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/ErrorPage.java Mon Jan 14 16:33:55 2013
@@ -52,10 +52,10 @@ public class ErrorPage extends FormPage
     public static final String ID = ErrorPage.class.getName();
 
     /** The Page Title */
-    private static final String TITLE = "Error opening the editor";
+    private static final String TITLE = Messages.getString("ErrorPage.ErrorOpeningEditor"); //$NON-NLS-1$
 
-    private static final String DETAILS_CLOSED = NLS.bind( "{0} >>", "Details" ); //$NON-NLS-1$
-    private static final String DETAILS_OPEN = NLS.bind( "<< {0}", "Details" ); //$NON-NLS-1$
+    private static final String DETAILS_CLOSED = NLS.bind( "{0} >>", Messages.getString("ErrorPage.Details") ); //$NON-NLS-1$ //$NON-NLS-2$
+    private static final String DETAILS_OPEN = NLS.bind( "<< {0}", Messages.getString("ErrorPage.Details") ); //$NON-NLS-1$ //$NON-NLS-2$
 
     /** The exception */
     private Exception exception;
@@ -90,7 +90,7 @@ public class ErrorPage extends FormPage
     protected void createFormContent( IManagedForm managedForm )
     {
         ScrolledForm form = managedForm.getForm();
-        form.setText( "Error opening the editor" );
+        form.setText( Messages.getString("ErrorPage.ErrorOpeningEditor") ); //$NON-NLS-1$
         form.setImage( Display.getCurrent().getSystemImage( SWT.ICON_ERROR ) );
 
         parent = form.getBody();
@@ -104,7 +104,7 @@ public class ErrorPage extends FormPage
         toolkit.decorateFormHeading( form.getForm() );
 
         // Error Label
-        Label errorLabel = toolkit.createLabel( parent, "" );
+        Label errorLabel = toolkit.createLabel( parent, "" ); //$NON-NLS-1$
         errorLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // Details Button
@@ -122,7 +122,7 @@ public class ErrorPage extends FormPage
         // Initializing with the exception
         if ( exception == null )
         {
-            errorLabel.setText( "Could not open the editor." );
+            errorLabel.setText( Messages.getString("ErrorPage.CouldNotOpenEditor") ); //$NON-NLS-1$
             detailsButton.setVisible( false );
         }
         else

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java Mon Jan 14 16:33:55 2013
@@ -54,7 +54,7 @@ public class KerberosServerPage extends 
     public static final String ID = KerberosServerPage.class.getName(); //$NON-NLS-1$
 
     /** The Page Title */
-    private static final String TITLE = "Kerberos Server";
+    private static final String TITLE = Messages.getString("KerberosServerPage.KerberosServer"); //$NON-NLS-1$
 
     // UI Controls
     private Button enableKerberosCheckbox;
@@ -268,7 +268,7 @@ public class KerberosServerPage extends 
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "Kerberos Server" );
+        section.setText( Messages.getString("KerberosServerPage.KerberosServer") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -278,25 +278,25 @@ public class KerberosServerPage extends 
         section.setClient( composite );
 
         // Enable Kerberos Server Checkbox
-        enableKerberosCheckbox = toolkit.createButton( composite, "Enable Kerberos Server", SWT.CHECK );
+        enableKerberosCheckbox = toolkit.createButton( composite, Messages.getString("KerberosServerPage.EnableKerberosServer"), SWT.CHECK ); //$NON-NLS-1$
         enableKerberosCheckbox
             .setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, gridLayout.numColumns, 1 ) );
 
         // Kerberos Server Port Text
         toolkit.createLabel( composite, TABULATION );
-        toolkit.createLabel( composite, "Port:" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.Port") ); //$NON-NLS-1$
         kerberosPortText = createPortText( toolkit, composite );
         createDefaultValueLabel( toolkit, composite, "60088" ); //$NON-NLS-1$
 
         // Enable Change Password Server Checkbox
-        enableChangePasswordCheckbox = toolkit.createButton( composite, "Enable Kerberos Change Password Server",
+        enableChangePasswordCheckbox = toolkit.createButton( composite, Messages.getString("KerberosServerPage.EnableKerberosChangePassword"), //$NON-NLS-1$
             SWT.CHECK );
         enableChangePasswordCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false,
             gridLayout.numColumns, 1 ) );
 
         // Change Password Server Port Text
         toolkit.createLabel( composite, TABULATION );
-        toolkit.createLabel( composite, "Port:" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.Port") ); //$NON-NLS-1$
         changePasswordPortText = createPortText( toolkit, composite );
         createDefaultValueLabel( toolkit, composite, "60464" ); //$NON-NLS-1$
     }
@@ -312,7 +312,7 @@ public class KerberosServerPage extends 
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "Kerberos Settings" );
+        section.setText( Messages.getString("KerberosServerPage.KerberosSettings") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -321,28 +321,28 @@ public class KerberosServerPage extends 
         section.setClient( composite );
 
         // KDC Principal Text
-        toolkit.createLabel( composite, "KDC Principal:" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.KdcPrincipal") ); //$NON-NLS-1$
         kdcPrincipalText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         setGridDataWithDefaultWidth( kdcPrincipalText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Label defaultSaslHostLabel = createDefaultValueLabel( toolkit, composite, "krbtgt/EXAMPLE.COM@EXAMPLE.COM" ); //$NON-NLS-1$
         defaultSaslHostLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // SASL Principal Text
-        toolkit.createLabel( composite, "Primary KDC Realm:" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.PrimaryKdcRealm") ); //$NON-NLS-1$
         primaryKdcRealmText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         setGridDataWithDefaultWidth( primaryKdcRealmText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Label defaultSaslPrincipalLabel = createDefaultValueLabel( toolkit, composite, "EXAMPLE.COM" ); //$NON-NLS-1$
         defaultSaslPrincipalLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // Search Base Dn Text
-        toolkit.createLabel( composite, "Search Base Dn:" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.SearchBaseDn") ); //$NON-NLS-1$
         kdcSearchBaseDnText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         setGridDataWithDefaultWidth( kdcSearchBaseDnText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Label defaultSaslSearchBaseDnLabel = createDefaultValueLabel( toolkit, composite, "ou=users,dc=example,dc=com" ); //$NON-NLS-1$
         defaultSaslSearchBaseDnLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // Encryption Types Text
-        toolkit.createLabel( composite, "Encryption Types:" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.EncryptionTypes") ); //$NON-NLS-1$
         encryptionTypesText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         setGridDataWithDefaultWidth( encryptionTypesText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Label defaultEncryptionTypesLabel = createDefaultValueLabel( toolkit, composite, "[des-cbc-md5]" ); //$NON-NLS-1$
@@ -360,7 +360,7 @@ public class KerberosServerPage extends 
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "Ticket Settings" );
+        section.setText( Messages.getString("KerberosServerPage.TicketSettings") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -369,49 +369,49 @@ public class KerberosServerPage extends 
         section.setClient( composite );
 
         // Verify Body Checksum Checkbox
-        verifyBodyChecksumCheckbox = toolkit.createButton( composite, "Verify Body Checksum", SWT.CHECK );
+        verifyBodyChecksumCheckbox = toolkit.createButton( composite, Messages.getString("KerberosServerPage.VerifyBodyChecksum"), SWT.CHECK ); //$NON-NLS-1$
         verifyBodyChecksumCheckbox
             .setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, layout.numColumns, 1 ) );
 
         // Allow Empty Addresse Checkbox
-        allowEmptyAddressesCheckbox = toolkit.createButton( composite, "Allow Empty Addresses", SWT.CHECK );
+        allowEmptyAddressesCheckbox = toolkit.createButton( composite, Messages.getString("KerberosServerPage.AllowEmptyAddresses"), SWT.CHECK ); //$NON-NLS-1$
         allowEmptyAddressesCheckbox
             .setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, layout.numColumns, 1 ) );
 
         // Allow Forwardable Addresses Checkbox
-        allowForwardableAddressesCheckbox = toolkit.createButton( composite, "Allow Forwardable Addresses",
+        allowForwardableAddressesCheckbox = toolkit.createButton( composite, Messages.getString("KerberosServerPage.AllowForwadableAddresses"), //$NON-NLS-1$
             SWT.CHECK );
         allowForwardableAddressesCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false,
             layout.numColumns, 1 ) );
 
         // Require Pre-Authentication By Encrypted Timestamp Checkbox
         requirePreAuthByEncryptedTimestampCheckbox = toolkit.createButton( composite,
-            "Require Pre-Authentication\nBy Encrypted TimeStamp", SWT.CHECK );
+            Messages.getString("KerberosServerPage.RequirePreAuthentication"), SWT.CHECK ); //$NON-NLS-1$
         requirePreAuthByEncryptedTimestampCheckbox
             .setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, layout.numColumns, 1 ) );
 
         // Allow Postdated Tickets Checkbox
-        allowPostdatedTicketsCheckbox = toolkit.createButton( composite, "Allow Postdated Tickets", SWT.CHECK );
+        allowPostdatedTicketsCheckbox = toolkit.createButton( composite, Messages.getString("KerberosServerPage.AllowPostdatedTickets"), SWT.CHECK ); //$NON-NLS-1$
         allowPostdatedTicketsCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, layout.numColumns,
             1 ) );
 
         // Allow Renewable Tickets Checkbox
-        allowRenewableTicketsCheckbox = toolkit.createButton( composite, "Allow Renewable Tickets", SWT.CHECK );
+        allowRenewableTicketsCheckbox = toolkit.createButton( composite, Messages.getString("KerberosServerPage.AllowRenewableTickets"), SWT.CHECK ); //$NON-NLS-1$
         allowRenewableTicketsCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, layout.numColumns,
             1 ) );
 
         // Max Renewable Lifetime Text
-        toolkit.createLabel( composite, "Max. Renewable Lifetime (ms):" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.MaxRenewableLifetime") ); //$NON-NLS-1$
         maximumRenewableLifetimeText = createIntegerText( toolkit, composite );
         setGridDataWithDefaultWidth( maximumRenewableLifetimeText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // Max Ticket Lifetime Text
-        toolkit.createLabel( composite, "Max. Ticket Lifetime (ms):" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.MaxTicketLifetime") ); //$NON-NLS-1$
         maximumTicketLifetimeText = createIntegerText( toolkit, composite );
         setGridDataWithDefaultWidth( maximumTicketLifetimeText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // Allowable Clock Skew Text
-        toolkit.createLabel( composite, "Allowable Clock Skew (ms):" );
+        toolkit.createLabel( composite, Messages.getString("KerberosServerPage.AllowableClockSkew") ); //$NON-NLS-1$
         allowableClockSkewText = createIntegerText( toolkit, composite );
         setGridDataWithDefaultWidth( allowableClockSkewText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
 

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LdapLdapsServersPage.java Mon Jan 14 16:33:55 2013
@@ -90,7 +90,7 @@ public class LdapLdapsServersPage extend
     public static final String ID = LdapLdapsServersPage.class.getName(); //$NON-NLS-1$
 
     /** The Page Title */
-    private static final String TITLE = "LDAP/LDAPS Servers";
+    private static final String TITLE = Messages.getString("LdapLdapsServersPage.LdapLdapsServers"); //$NON-NLS-1$
 
     // UI Controls
     private Button enableLdapCheckbox;
@@ -296,7 +296,7 @@ public class LdapLdapsServersPage extend
         {
             String keystoreFile = keystoreFileText.getText();
 
-            if ( !"".equals( keystoreFile ) )
+            if ( !"".equals( keystoreFile ) ) //$NON-NLS-1$
             {
                 getLdapServerBean().setLdapServerKeystoreFile( keystoreFile );
             }
@@ -341,7 +341,7 @@ public class LdapLdapsServersPage extend
         {
             String keystorePassword = keystorePasswordText.getText();
 
-            if ( !"".equals( keystorePassword ) )
+            if ( !"".equals( keystorePassword ) ) //$NON-NLS-1$
             {
                 getLdapServerBean().setLdapServerCertificatePassword( keystorePassword );
             }
@@ -425,7 +425,7 @@ public class LdapLdapsServersPage extend
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "LDAP/LDAPS Servers" );
+        section.setText( Messages.getString("LdapLdapsServersPage.LdapLdapsServers") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -435,22 +435,22 @@ public class LdapLdapsServersPage extend
         section.setClient( composite );
 
         // Enable LDAP Server Checkbox
-        enableLdapCheckbox = toolkit.createButton( composite, "Enable LDAP Server", SWT.CHECK );
+        enableLdapCheckbox = toolkit.createButton( composite, Messages.getString("LdapLdapsServersPage.EnableLdapServer"), SWT.CHECK ); //$NON-NLS-1$
         enableLdapCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, gridLayout.numColumns, 1 ) );
 
         // LDAP Server Port Text
         toolkit.createLabel( composite, TABULATION );
-        toolkit.createLabel( composite, "Port:" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.Port") ); //$NON-NLS-1$
         ldapPortText = createPortText( toolkit, composite );
         createDefaultValueLabel( toolkit, composite, "10389" ); //$NON-NLS-1$
 
         // Enable LDAPS Server Checkbox
-        enableLdapsCheckbox = toolkit.createButton( composite, "Enable LDAPS Server", SWT.CHECK );
+        enableLdapsCheckbox = toolkit.createButton( composite, Messages.getString("LdapLdapsServersPage.EnableLdapsServer"), SWT.CHECK ); //$NON-NLS-1$
         enableLdapsCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, gridLayout.numColumns, 1 ) );
 
         // LDAPS Server Port Text
         toolkit.createLabel( composite, TABULATION );
-        toolkit.createLabel( composite, "Port:" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.Port") ); //$NON-NLS-1$
         ldapsPortText = createPortText( toolkit, composite );
         createDefaultValueLabel( toolkit, composite, "10636" ); //$NON-NLS-1$
     }
@@ -468,7 +468,7 @@ public class LdapLdapsServersPage extend
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "Limits" );
+        section.setText( Messages.getString("LdapLdapsServersPage.Limits") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -477,12 +477,12 @@ public class LdapLdapsServersPage extend
         section.setClient( composite );
 
         // Max. Time Limit Text
-        toolkit.createLabel( composite, "Max Time Limit (ms):" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.MaxTimeLimit") ); //$NON-NLS-1$
         maxTimeLimitText = createIntegerText( toolkit, composite );
         maxTimeLimitText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // Max. Size Limit Text
-        toolkit.createLabel( composite, "Max Size Limit (entries):" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.MaxSizeLimit") ); //$NON-NLS-1$
         maxSizeLimitText = createIntegerText( toolkit, composite );
         maxSizeLimitText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
     }
@@ -500,7 +500,7 @@ public class LdapLdapsServersPage extend
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR | Section.TWISTIE | Section.COMPACT );
-        section.setText( "Advanced" );
+        section.setText( Messages.getString("LdapLdapsServersPage.Advanced") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -509,18 +509,18 @@ public class LdapLdapsServersPage extend
         section.setClient( composite );
 
         // Enable TLS Checkbox
-        enableTlsCheckbox = toolkit.createButton( composite, "Enable TLS", SWT.CHECK );
+        enableTlsCheckbox = toolkit.createButton( composite, Messages.getString("LdapLdapsServersPage.EnableTls"), SWT.CHECK ); //$NON-NLS-1$
         enableTlsCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 3, 1 ) );
 
         // Enable Server-side Password Hashing Checkbox
         enableServerSidePasswordHashingCheckbox = toolkit.createButton( composite,
-            "Enable server-side password hashing",
+            Messages.getString("LdapLdapsServersPage.EnableServerSidePasswordHashing"), //$NON-NLS-1$
             SWT.CHECK );
         enableServerSidePasswordHashingCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 3, 1 ) );
 
         // Server-side Password Hashing Combo
         toolkit.createLabel( composite, "   " ); //$NON-NLS-1$
-        toolkit.createLabel( composite, "Hashing Method:" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.HashingMethod") ); //$NON-NLS-1$
         Combo hashingMethodCombo = new Combo( composite, SWT.READ_ONLY | SWT.SINGLE );
         hashingMethodCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         toolkit.adapt( hashingMethodCombo );
@@ -598,7 +598,7 @@ public class LdapLdapsServersPage extend
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "Supported Authentication Mechanisms" );
+        section.setText( Messages.getString("LdapLdapsServersPage.SupportedAuthenticationMechanisms") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         composite.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
@@ -629,19 +629,19 @@ public class LdapLdapsServersPage extend
         Composite authMechNtlmComposite = toolkit.createComposite( composite );
         authMechNtlmComposite.setLayout( new GridLayout( 3, false ) );
         toolkit.createLabel( authMechNtlmComposite, "   " ); //$NON-NLS-1$
-        toolkit.createLabel( authMechNtlmComposite, "Provider:" );
+        toolkit.createLabel( authMechNtlmComposite, Messages.getString("LdapLdapsServersPage.Provider") ); //$NON-NLS-1$
         authMechNtlmText = toolkit.createText( authMechNtlmComposite, "" ); //$NON-NLS-1$
         authMechNtlmText.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false ) );
         authMechNtlmComposite.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, false, false, 2, 1 ) );
 
         // GSS-SPNEGO Checkbox and Text
-        authMechGssSpnegoCheckbox = toolkit.createButton( composite, "GSS-SPNEGO", SWT.CHECK );
+        authMechGssSpnegoCheckbox = toolkit.createButton( composite, "GSS-SPNEGO", SWT.CHECK ); //$NON-NLS-1$
         authMechGssSpnegoCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false ) );
         toolkit.createLabel( composite, "" ); //$NON-NLS-1$
         Composite authMechGssSpnegoComposite = toolkit.createComposite( composite );
         authMechGssSpnegoComposite.setLayout( new GridLayout( 3, false ) );
         toolkit.createLabel( authMechGssSpnegoComposite, "   " ); //$NON-NLS-1$
-        toolkit.createLabel( authMechGssSpnegoComposite, "Provider:" );
+        toolkit.createLabel( authMechGssSpnegoComposite, Messages.getString("LdapLdapsServersPage.Provider") ); //$NON-NLS-1$
         authMechGssSpnegoText = toolkit.createText( authMechGssSpnegoComposite, "" ); //$NON-NLS-1$
         authMechGssSpnegoText.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false ) );
         authMechGssSpnegoComposite.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false, 2, 1 ) );
@@ -660,7 +660,7 @@ public class LdapLdapsServersPage extend
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "SSL/Start TLS Keystore" );
+        section.setText( Messages.getString("LdapLdapsServersPage.SslStartTlsKeystore") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -669,20 +669,20 @@ public class LdapLdapsServersPage extend
         section.setClient( composite );
 
         // Keystore File Text
-        toolkit.createLabel( composite, "Keystore:" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.Keystore") ); //$NON-NLS-1$
         keystoreFileText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         setGridDataWithDefaultWidth( keystoreFileText, new GridData( SWT.FILL, SWT.CENTER, true, false ) );
-        keystoreFileBrowseButton = toolkit.createButton( composite, "Browse...", SWT.PUSH );
+        keystoreFileBrowseButton = toolkit.createButton( composite, Messages.getString("LdapLdapsServersPage.Browse"), SWT.PUSH ); //$NON-NLS-1$
 
         // Password Text
-        toolkit.createLabel( composite, "Password:" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.Password") ); //$NON-NLS-1$
         keystorePasswordText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         keystorePasswordText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         keystorePasswordText.setEchoChar( '\u2022' );
 
         // Show Password Checkbox
         toolkit.createLabel( composite, "" ); //$NON-NLS-1$
-        showPasswordCheckbox = toolkit.createButton( composite, "Show password", SWT.CHECK );
+        showPasswordCheckbox = toolkit.createButton( composite, Messages.getString("LdapLdapsServersPage.ShowPassword"), SWT.CHECK ); //$NON-NLS-1$
         showPasswordCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false ) );
         showPasswordCheckbox.setSelection( false );
     }
@@ -700,7 +700,7 @@ public class LdapLdapsServersPage extend
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "SASL Settings" );
+        section.setText( Messages.getString("LdapLdapsServersPage.SaslSettings") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -709,14 +709,14 @@ public class LdapLdapsServersPage extend
         section.setClient( composite );
 
         // SASL Host Text
-        toolkit.createLabel( composite, "SASL Host:" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.SaslHost") ); //$NON-NLS-1$
         saslHostText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         setGridDataWithDefaultWidth( saslHostText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Label defaultSaslHostLabel = createDefaultValueLabel( toolkit, composite, "ldap.example.com" ); //$NON-NLS-1$
         defaultSaslHostLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // SASL Principal Text
-        toolkit.createLabel( composite, "SASL Principal:" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.SaslPrincipal") ); //$NON-NLS-1$
         saslPrincipalText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         setGridDataWithDefaultWidth( saslPrincipalText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Label defaultSaslPrincipalLabel = createDefaultValueLabel( toolkit, composite,
@@ -724,7 +724,7 @@ public class LdapLdapsServersPage extend
         defaultSaslPrincipalLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // Search Base Dn Text
-        toolkit.createLabel( composite, "Search Base Dn:" );
+        toolkit.createLabel( composite, Messages.getString("LdapLdapsServersPage.SearchBaseDn") ); //$NON-NLS-1$
         saslSearchBaseDnText = toolkit.createText( composite, "" ); //$NON-NLS-1$
         setGridDataWithDefaultWidth( saslSearchBaseDnText, new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Label defaultSaslSearchBaseDnLabel = createDefaultValueLabel( toolkit, composite, "ou=users,dc=example,dc=com" ); //$NON-NLS-1$

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LoadingPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LoadingPage.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LoadingPage.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/LoadingPage.java Mon Jan 14 16:33:55 2013
@@ -44,7 +44,7 @@ public class LoadingPage extends FormPag
     public static final String ID = LoadingPage.class.getName(); //$NON-NLS-1$
 
     /** The Page Title */
-    private static final String TITLE = "Loading Configuration";
+    private static final String TITLE = Messages.getString("LoadingPage.LoadingConfiguration"); //$NON-NLS-1$
 
 
     /**
@@ -65,7 +65,7 @@ public class LoadingPage extends FormPag
     protected void createFormContent( IManagedForm managedForm )
     {
         ScrolledForm form = managedForm.getForm();
-        form.setText( "Loading Configuration..." );
+        form.setText( Messages.getString("LoadingPage.LoadingConfigurationEllipsis") ); //$NON-NLS-1$
 
         Composite parent = form.getBody();
         parent.setLayout( new GridLayout() );
@@ -80,7 +80,7 @@ public class LoadingPage extends FormPag
         ProgressBar progressBar = new ProgressBar( composite, SWT.INDETERMINATE );
         progressBar.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false ) );
 
-        Label label = toolkit.createLabel( composite, "Loading the configuration, please wait..." );
+        Label label = toolkit.createLabel( composite, Messages.getString("LoadingPage.LoadingTheConfigurationPleaseWait") ); //$NON-NLS-1$
         label.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false ) );
     }
 }

Added: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/Messages.java?rev=1432982&view=auto
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/Messages.java (added)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/Messages.java Mon Jan 14 16:33:55 2013
@@ -0,0 +1,50 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.studio.apacheds.configuration.v2.editor;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.apacheds.configuration.v2.editor.messages"; //$NON-NLS-1$
+
+    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+
+
+    private Messages()
+    {
+    }
+
+
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/NewServerConfigurationInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/NewServerConfigurationInput.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/NewServerConfigurationInput.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/NewServerConfigurationInput.java Mon Jan 14 16:33:55 2013
@@ -37,7 +37,7 @@ public class NewServerConfigurationInput
      */
     public String getToolTipText()
     {
-        return "New ApacheDS 2.0 configuration file";
+        return Messages.getString("NewServerConfigurationInput.NewApacheDS20ConfigurationFile"); //$NON-NLS-1$
     }
 
 
@@ -46,7 +46,7 @@ public class NewServerConfigurationInput
      */
     public String getName()
     {
-        return "New ApacheDS 2.0 configuration file";
+        return Messages.getString("NewServerConfigurationInput.NewApacheDS20ConfigurationFile"); //$NON-NLS-1$
     }
 
 

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/OverviewPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/OverviewPage.java?rev=1432982&r1=1432981&r2=1432982&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/OverviewPage.java (original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/OverviewPage.java Mon Jan 14 16:33:55 2013
@@ -62,7 +62,7 @@ public class OverviewPage extends Server
     public static final String ID = OverviewPage.class.getName(); //$NON-NLS-1$
 
     /** The Page Title */
-    private static final String TITLE = "Overview";
+    private static final String TITLE = Messages.getString("OverviewPage.Overview"); //$NON-NLS-1$
 
     // UI Controls
     private Button enableLdapCheckbox;
@@ -256,7 +256,7 @@ public class OverviewPage extends Server
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "LDAP/LDAPS Servers" );
+        section.setText( Messages.getString("OverviewPage.LdapLdapsServers") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -266,28 +266,28 @@ public class OverviewPage extends Server
         section.setClient( composite );
 
         // Enable LDAP Server Checkbox
-        enableLdapCheckbox = toolkit.createButton( composite, "Enable LDAP Server", SWT.CHECK );
+        enableLdapCheckbox = toolkit.createButton( composite, Messages.getString("OverviewPage.EnableLdapServer"), SWT.CHECK ); //$NON-NLS-1$
         enableLdapCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, gridLayout.numColumns, 1 ) );
 
         // LDAP Server Port Text
         toolkit.createLabel( composite, TABULATION );
-        toolkit.createLabel( composite, "Port:" );
+        toolkit.createLabel( composite, Messages.getString("OverviewPage.Port") ); //$NON-NLS-1$
         ldapPortText = createPortText( toolkit, composite );
         createDefaultValueLabel( toolkit, composite, "10389" ); //$NON-NLS-1$
 
         // Enable LDAPS Server Checkbox
-        enableLdapsCheckbox = toolkit.createButton( composite, "Enable LDAPS Server", SWT.CHECK );
+        enableLdapsCheckbox = toolkit.createButton( composite, Messages.getString("OverviewPage.EnableLdapsServer"), SWT.CHECK ); //$NON-NLS-1$
         enableLdapsCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, gridLayout.numColumns, 1 ) );
 
         // LDAPS Server Port Text
         toolkit.createLabel( composite, TABULATION );
-        toolkit.createLabel( composite, "Port:" );
+        toolkit.createLabel( composite, Messages.getString("OverviewPage.Port") ); //$NON-NLS-1$
         ldapsPortText = createPortText( toolkit, composite );
         createDefaultValueLabel( toolkit, composite, "10636" ); //$NON-NLS-1$
 
         // LDAP Configuration Link
         openLdapConfigurationLink = toolkit.createHyperlink( composite,
-            "Advanced LDAP/LDAPS configuration...", SWT.NONE );
+            Messages.getString("OverviewPage.AdvancedLdapLdapsConfiguration"), SWT.NONE ); //$NON-NLS-1$
         openLdapConfigurationLink.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false,
             gridLayout.numColumns, 1 ) );
         openLdapConfigurationLink.addHyperlinkListener( openLdapConfigurationLinkListener );
@@ -304,7 +304,7 @@ public class OverviewPage extends Server
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "Kerberos Server" );
+        section.setText( Messages.getString("OverviewPage.KerberosServer") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -314,31 +314,31 @@ public class OverviewPage extends Server
         section.setClient( composite );
 
         // Enable Kerberos Server Checkbox
-        enableKerberosCheckbox = toolkit.createButton( composite, "Enable Kerberos Server", SWT.CHECK );
+        enableKerberosCheckbox = toolkit.createButton( composite, Messages.getString("OverviewPage.EnableKerberosServer"), SWT.CHECK ); //$NON-NLS-1$
         enableKerberosCheckbox
             .setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, gridLayout.numColumns, 1 ) );
 
         // Kerberos Server Port Text
         toolkit.createLabel( composite, TABULATION );
-        toolkit.createLabel( composite, "Port:" );
+        toolkit.createLabel( composite, Messages.getString("OverviewPage.Port") ); //$NON-NLS-1$
         kerberosPortText = createPortText( toolkit, composite );
         createDefaultValueLabel( toolkit, composite, "60088" ); //$NON-NLS-1$
 
         // Enable Change Password Server Checkbox
-        enableChangePasswordCheckbox = toolkit.createButton( composite, "Enable Kerberos Change Password Server",
+        enableChangePasswordCheckbox = toolkit.createButton( composite, Messages.getString("OverviewPage.EnableKerberosChangePasswordServer"), //$NON-NLS-1$
             SWT.CHECK );
         enableChangePasswordCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false,
             gridLayout.numColumns, 1 ) );
 
         // Change Password Server Port Text
         toolkit.createLabel( composite, TABULATION );
-        toolkit.createLabel( composite, "Port:" );
+        toolkit.createLabel( composite, Messages.getString("OverviewPage.Port") ); //$NON-NLS-1$
         changePasswordPortText = createPortText( toolkit, composite );
         createDefaultValueLabel( toolkit, composite, "60464" ); //$NON-NLS-1$
 
         // Kerberos Configuration Link
         openKerberosConfigurationLink = toolkit.createHyperlink( composite,
-            "Advanced Kerberos configuration...", SWT.NONE );
+            Messages.getString("OverviewPage.AdvancedKerberosConfiguration"), SWT.NONE ); //$NON-NLS-1$
         openKerberosConfigurationLink.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false,
             gridLayout.numColumns, 1 ) );
         openKerberosConfigurationLink.addHyperlinkListener( openKerberosConfigurationLinkListener );
@@ -355,7 +355,7 @@ public class OverviewPage extends Server
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "Partitions" );
+        section.setText( Messages.getString("OverviewPage.Partitions") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -380,7 +380,7 @@ public class OverviewPage extends Server
 
         // Partitions Configuration Link
         openPartitionsConfigurationLink = toolkit.createHyperlink( composite,
-            "Advanced Partitions configuration...", SWT.NONE );
+            Messages.getString("OverviewPage.AdvancedPartitionsConfiguration"), SWT.NONE ); //$NON-NLS-1$
         openPartitionsConfigurationLink.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false,
             gridLayout.numColumns, 1 ) );
         openPartitionsConfigurationLink.addHyperlinkListener( openPartitionsConfigurationLinkListener );
@@ -397,7 +397,7 @@ public class OverviewPage extends Server
     {
         // Creation of the section
         Section section = toolkit.createSection( parent, Section.TITLE_BAR );
-        section.setText( "Options" );
+        section.setText( Messages.getString("OverviewPage.Options") ); //$NON-NLS-1$
         section.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         Composite composite = toolkit.createComposite( section );
         toolkit.paintBordersFor( composite );
@@ -407,16 +407,16 @@ public class OverviewPage extends Server
         section.setClient( composite );
 
         // Allow Anonymous Access Checkbox
-        allowAnonymousAccessCheckbox = toolkit.createButton( composite, "Allow Anonymous Access", SWT.CHECK );
+        allowAnonymousAccessCheckbox = toolkit.createButton( composite, Messages.getString("OverviewPage.AllowAnonymousAccess"), SWT.CHECK ); //$NON-NLS-1$
         allowAnonymousAccessCheckbox.setLayoutData( new GridData( SWT.NONE, SWT.NONE, true, false ) );
 
         // Enable Access Control Checkbox
-        enableAccessControlCheckbox = toolkit.createButton( composite, "Enable Access Control", SWT.CHECK );
+        enableAccessControlCheckbox = toolkit.createButton( composite, Messages.getString("OverviewPage.EnableAccessControl"), SWT.CHECK ); //$NON-NLS-1$
         enableAccessControlCheckbox.setLayoutData( new GridData( SWT.NONE, SWT.NONE, true, false ) );
 
         // Options Configuration Link
         openOptionsConfigurationLink = toolkit.createHyperlink( composite,
-            "Advanced Options configuration...", SWT.NONE );
+            Messages.getString("OverviewPage.AdvancedOptionsConfiguration"), SWT.NONE ); //$NON-NLS-1$
         openOptionsConfigurationLink.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false,
             gridLayout.numColumns, 1 ) );
         openOptionsConfigurationLink.addHyperlinkListener( openOptionsConfigurationLinkListener );
@@ -556,11 +556,11 @@ public class OverviewPage extends Server
         List<PartitionBean> partitions = directoryServiceBean.getPartitions();
         if ( partitions.size() == 1 )
         {
-            partitionsLabel.setText( "There is one partition defined:" );
+            partitionsLabel.setText( Messages.getString("OverviewPage.ThereIsOnePartitionDefined") ); //$NON-NLS-1$
         }
         else
         {
-            partitionsLabel.setText( NLS.bind( "There are {0} partitions defined:", partitions.size() ) );
+            partitionsLabel.setText( NLS.bind( Messages.getString("OverviewPage.ThereAreXPartitionsDefined"), partitions.size() ) ); //$NON-NLS-1$
         }
         partitionsTableViewer.setInput( partitions.toArray() );
 



Mime
View raw message