directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r720446 [1/2] - in /directory/studio/trunk/connection-ui/src/main: java/org/apache/directory/studio/connection/ui/ java/org/apache/directory/studio/connection/ui/actions/ java/org/apache/directory/studio/connection/ui/dialogs/ java/org/apac...
Date Tue, 25 Nov 2008 09:23:58 GMT
Author: felixk
Date: Tue Nov 25 01:23:56 2008
New Revision: 720446

URL: http://svn.apache.org/viewvc?rev=720446&view=rev
Log:
- Externalize String
- Add German translation

(http://issues.apache.org/jira/browse/DIRSTUDIO-397)

Added:
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/Messages.java   (with props)
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/Messages.java   (with props)
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/Messages.java   (with props)
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/Messages.java   (with props)
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/Messages.java   (with props)
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/Messages.java   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages_de.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages_de.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages_de.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/messages.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/messages_de.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/wizards/
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/wizards/messages.properties   (with props)
    directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/wizards/messages_de.properties   (with props)
Modified:
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionParameterPageManager.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionUIPlugin.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ExceptionHandler.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CloseConnectionAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CopyAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/DeleteAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionFolderAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/OpenConnectionAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PasteAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PropertiesAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/RenameAction.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SelectReferralConnectionDialog.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/ConnectionPropertyPage.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/AuthenticationParameterPage.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java
    directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/NewConnectionWizard.java

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionParameterPageManager.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionParameterPageManager.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionParameterPageManager.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionParameterPageManager.java Tue Nov 25 01:23:56 2008
@@ -53,7 +53,7 @@
     {
         IExtensionRegistry registry = Platform.getExtensionRegistry();
         IExtensionPoint extensionPoint = registry.getExtensionPoint( ConnectionUIPlugin.getDefault()
-            .getPluginProperties().getString( "ExtensionPoint_ConnectionParameterPages_id" ) );
+            .getPluginProperties().getString( "ExtensionPoint_ConnectionParameterPages_id" ) ); //$NON-NLS-1$
         IConfigurationElement[] members = extensionPoint.getConfigurationElements();
         final Map<String, ConnectionParameterPage> pageMap = new HashMap<String, ConnectionParameterPage>();
 
@@ -63,18 +63,18 @@
             IConfigurationElement member = members[m];
             try
             {
-                ConnectionParameterPage page = ( ConnectionParameterPage ) member.createExecutableExtension( "class" );
-                page.setPageId( member.getAttribute( "id" ) );
-                page.setPageName( member.getAttribute( "name" ) );
-                page.setPageDescription( member.getAttribute( "description" ) );
-                page.setPageDependsOnId( member.getAttribute( "dependsOnId" ) );
+                ConnectionParameterPage page = ( ConnectionParameterPage ) member.createExecutableExtension( "class" ); //$NON-NLS-1$
+                page.setPageId( member.getAttribute( "id" ) ); //$NON-NLS-1$
+                page.setPageName( member.getAttribute( "name" ) ); //$NON-NLS-1$
+                page.setPageDescription( member.getAttribute( "description" ) ); //$NON-NLS-1$
+                page.setPageDependsOnId( member.getAttribute( "dependsOnId" ) ); //$NON-NLS-1$
                 pageMap.put( page.getPageId(), page );
             }
             catch ( Exception e )
             {
                 ConnectionUIPlugin.getDefault().getLog().log(
                     new Status( IStatus.ERROR, ConnectionUIConstants.PLUGIN_ID, 1,
-                        "Unable to create connection parameter page " + member.getAttribute( "class" ), e ) );
+                        Messages.getString("ConnectionParameterPageManager.UnableCreateConnectionParamPage") + member.getAttribute( "class" ), e ) ); //$NON-NLS-2$
             }
         }
 

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionUIPlugin.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionUIPlugin.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionUIPlugin.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ConnectionUIPlugin.java Tue Nov 25 01:23:56 2008
@@ -204,15 +204,15 @@
             try
             {
                 properties = new PropertyResourceBundle( FileLocator.openStream( this.getBundle(), new Path(
-                    "plugin.properties" ), false ) );
+                    "plugin.properties" ), false ) ); //$NON-NLS-1$
             }
             catch ( IOException e )
             {
                 // We can't use the PLUGIN_ID constant since loading the plugin.properties file has failed,
                 // So we're using a default plugin id.
                 getLog().log(
-                    new Status( Status.ERROR, "org.apache.directory.studio.connection.ui", Status.OK,
-                        "Unable to get the plugin properties.", e ) );
+                    new Status( Status.ERROR, "org.apache.directory.studio.connection.ui", Status.OK, //$NON-NLS-1$
+                        Messages.getString("ConnectionUIPlugin.UnableGetPluginProperties"), e ) );
             }
         }
 

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ExceptionHandler.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ExceptionHandler.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ExceptionHandler.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/ExceptionHandler.java Tue Nov 25 01:23:56 2008
@@ -59,7 +59,7 @@
     {
         if ( Thread.currentThread() == Display.getDefault().getThread() )
         {
-            ErrorDialog.openError( Display.getDefault().getActiveShell(), "Error", message, status );
+            ErrorDialog.openError( Display.getDefault().getActiveShell(), Messages.getString("ExceptionHandler.Error"), message, status );
         }
         else
         {
@@ -67,7 +67,7 @@
             {
                 public void run()
                 {
-                    ErrorDialog.openError( Display.getDefault().getActiveShell(), "Error", message, status );
+                    ErrorDialog.openError( Display.getDefault().getActiveShell(), Messages.getString("ExceptionHandler.Error"), message, status );
                 }
             };
             Display.getDefault().asyncExec( runnable );

Added: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/Messages.java?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/Messages.java (added)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/Messages.java Tue Nov 25 01:23:56 2008
@@ -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.connection.ui;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.connection.ui.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 + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java Tue Nov 25 01:23:56 2008
@@ -45,11 +45,11 @@
     public ICredentials getCredentials( final ConnectionParameter connectionParameter )
     {
 
-        if ( connectionParameter.getBindPrincipal() == null || "".equals( connectionParameter.getBindPrincipal() ) )
+        if ( connectionParameter.getBindPrincipal() == null || "".equals( connectionParameter.getBindPrincipal() ) ) //$NON-NLS-1$
         {
-            return new Credentials( "", "", connectionParameter );
+            return new Credentials( "", "", connectionParameter ); //$NON-NLS-1$ //$NON-NLS-2$
         }
-        else if ( connectionParameter.getBindPassword() != null && !"".equals( connectionParameter.getBindPassword() ) )
+        else if ( connectionParameter.getBindPassword() != null && !"".equals( connectionParameter.getBindPassword() ) ) //$NON-NLS-1$
         {
             return new Credentials( connectionParameter.getBindPrincipal(), connectionParameter.getBindPassword(),
                 connectionParameter );
@@ -62,8 +62,8 @@
                 public void run()
                 {
                     CredentialsDialog dialog = new CredentialsDialog( PlatformUI.getWorkbench().getDisplay()
-                        .getActiveShell(), "Enter Password for '" + connectionParameter.getName() + "'",
-                        "Please enter password of user " + connectionParameter.getBindPrincipal() + ":", "", null );
+                        .getActiveShell(), Messages.getString("UIAuthHandler.EnterPasswordForStart") + connectionParameter.getName() + Messages.getString("UIAuthHandler.EnterPasswordForEnd"),
+                        Messages.getString("UIAuthHandler.PleaseEnterPasswordOfUser") + connectionParameter.getBindPrincipal() + ":", "", null ); //$NON-NLS-2$ //$NON-NLS-3$
                     if ( dialog.open() == CredentialsDialog.OK )
                     {
                         pw[0] = dialog.getValue();

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CloseConnectionAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CloseConnectionAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CloseConnectionAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CloseConnectionAction.java Tue Nov 25 01:23:56 2008
@@ -60,7 +60,7 @@
      */
     public String getText()
     {
-        return getSelectedConnections().length > 1 ? "Close Connections" : "Close Connection";
+        return getSelectedConnections().length > 1 ? Messages.getString("CloseConnectionAction.CloseConnections") : Messages.getString("CloseConnectionAction.CloseConnection");
     }
 
 

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CopyAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CopyAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CopyAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/CopyAction.java Tue Nov 25 01:23:56 2008
@@ -77,15 +77,15 @@
         ConnectionFolder[] connectionFolders = getSelectedConnectionFolders();
         if ( connections.length > 0 && connectionFolders.length == 0 )
         {
-            return connections.length > 1 ? "Copy Connections" : "Copy Connection";
+            return connections.length > 1 ? Messages.getString("CopyAction.CopyConnections") : Messages.getString("CopyAction.CopyConnection");
         }
         else if ( connectionFolders.length > 0 && connections.length == 0 )
         {
-            return connectionFolders.length > 1 ? "Copy Connection Folders" : "Copy Connection Folder";
+            return connectionFolders.length > 1 ? Messages.getString("CopyAction.CopyFolders") : Messages.getString("CopyAction.CopyFolder");
         }
         else
         {
-            return "Copy";
+            return Messages.getString("CopyAction.Copy");
         }
     }
 

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/DeleteAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/DeleteAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/DeleteAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/DeleteAction.java Tue Nov 25 01:23:56 2008
@@ -55,15 +55,15 @@
         ConnectionFolder[] connectionFolders = getSelectedConnectionFolders();        
         if ( connections.length > 0 && connectionFolders.length == 0 )
         {
-            return connections.length > 1 ? "Delete Connections" : "Delete Connection";
+            return connections.length > 1 ? Messages.getString("DeleteAction.DeleteConnections") : Messages.getString("DeleteAction.DeleteConnection");
         }
         else if ( connectionFolders.length > 0 && connections.length == 0 )
         {
-            return connectionFolders.length > 1 ? "Delete Connection Folders" : "Delete Connection Folder";
+            return connectionFolders.length > 1 ? Messages.getString("DeleteAction.DeleteConnectionFolders") : Messages.getString("DeleteAction.DeleteConnectionFolder");
         }
         else 
         {
-            return "Delete";
+            return Messages.getString("DeleteAction.Delete");
         }
     }
 
@@ -100,18 +100,18 @@
         {
             if ( connections.length <= 5 )
             {
-                message.append( connections.length == 1 ? "Are your sure to delete the following connection?"
-                    : "Are your sure to delete the following connections?" );
+                message.append( connections.length == 1 ? Messages.getString("DeleteAction.SureDeleteFollowingConnection")
+                    : Messages.getString("DeleteAction.SureDeleteFollowingConnections") );
                 for ( int i = 0; i < connections.length; i++ )
                 {
                     message.append( ConnectionCoreConstants.LINE_SEPARATOR );
-                    message.append( "  - " );
+                    message.append( "  - " ); //$NON-NLS-1$
                     message.append( connections[i].getName() );
                 }
             }
             else
             {
-                message.append( "Are your sure to delete the selected connections?" );
+                message.append( Messages.getString("DeleteAction.SureDeleteSelectedConnections") );
             }
             message.append( ConnectionCoreConstants.LINE_SEPARATOR );
             message.append( ConnectionCoreConstants.LINE_SEPARATOR );
@@ -121,18 +121,18 @@
         {
             if ( connectionFolders.length <= 5 )
             {
-                message.append( connectionFolders.length == 1 ? "Are your sure to delete the following connection folder including all connections?"
-                    : "Are your sure to delete the following connection folders including all connections?" );
+                message.append( connectionFolders.length == 1 ? Messages.getString("DeleteAction.SureDeleteFollowingFolder")
+                    : Messages.getString("DeleteAction.SureDeleteFollowingFolders") );
                 for ( int i = 0; i < connectionFolders.length; i++ )
                 {
                     message.append( ConnectionCoreConstants.LINE_SEPARATOR );
-                    message.append( "  - " );
+                    message.append( "  - " ); //$NON-NLS-1$
                     message.append( connectionFolders[i].getName() );
                 }
             }
             else
             {
-                message.append( "Are your sure to delete the selected connection folders including all connections?" );
+                message.append( Messages.getString("DeleteAction.SureDeleteSelectedConnectionFolders") );
             }
             message.append( ConnectionCoreConstants.LINE_SEPARATOR );
             message.append( ConnectionCoreConstants.LINE_SEPARATOR );

Added: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/Messages.java?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/Messages.java (added)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/Messages.java Tue Nov 25 01:23:56 2008
@@ -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.connection.ui.actions;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.connection.ui.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 + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionAction.java Tue Nov 25 01:23:56 2008
@@ -74,7 +74,7 @@
      */
     public String getText()
     {
-        return "New Connection...";
+        return Messages.getString("NewConnectionAction.NewConnection");
     }
 
 

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionFolderAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionFolderAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionFolderAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/NewConnectionFolderAction.java Tue Nov 25 01:23:56 2008
@@ -54,7 +54,7 @@
     public void run()
     {
         ConnectionFolderDialog dialog = new ConnectionFolderDialog( PlatformUI.getWorkbench().getDisplay()
-            .getActiveShell(), "New Connection Folder", "Please enter the name of the new connection folder:", "", null );
+            .getActiveShell(), Messages.getString("NewConnectionFolderAction.NewConnectionFolder"), Messages.getString("NewConnectionFolderAction.NeterNameNewFolder"), "", null ); //$NON-NLS-3$
         if ( dialog.open() == CredentialsDialog.OK )
         {
             String name = dialog.getValue();
@@ -81,7 +81,7 @@
      */
     public String getText()
     {
-        return "New Connection Folder...";
+        return Messages.getString("NewConnectionFolderAction.NewConnectionFolderDots");
     }
 
 

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/OpenConnectionAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/OpenConnectionAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/OpenConnectionAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/OpenConnectionAction.java Tue Nov 25 01:23:56 2008
@@ -59,7 +59,7 @@
      */
     public String getText()
     {
-        return getSelectedConnections().length > 1 ? "Open Connections" : "Open Connection";
+        return getSelectedConnections().length > 1 ? Messages.getString("OpenConnectionAction.OpenConnections") : Messages.getString("OpenConnectionAction.OpenConnection");
     }
 
 

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PasteAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PasteAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PasteAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PasteAction.java Tue Nov 25 01:23:56 2008
@@ -73,15 +73,15 @@
         List<ConnectionFolder> connectionFolders = getConnectionFoldersToPaste();
         if ( connections.size() > 0 && connectionFolders.size() == 0 )
         {
-            return connections.size() > 1 ? "Paste Connections" : "Paste Connection";
+            return connections.size() > 1 ? Messages.getString("PasteAction.PasteConnections") : Messages.getString("PasteAction.PasteConnection");
         }
         else if ( connectionFolders.size() > 0 && connections.size() == 0 )
         {
-            return connectionFolders.size() > 1 ? "Paste Connection Folders" : "Paste Connection Folder";
+            return connectionFolders.size() > 1 ? Messages.getString("PasteAction.PasteConnectionFolders") : Messages.getString("PasteAction.PasteConnectionFolder");
         }
         else
         {
-            return "Paste";
+            return Messages.getString("PasteAction.Paste");
         }
     }
 

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PropertiesAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PropertiesAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PropertiesAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/PropertiesAction.java Tue Nov 25 01:23:56 2008
@@ -52,7 +52,7 @@
      */
     public String getText()
     {
-        return "Properties";
+        return Messages.getString("PropertiesAction.Properties");
     }
 
 
@@ -97,7 +97,7 @@
         if ( getSelectedConnections().length == 1 )
         {
             element = ( IAdaptable ) getSelectedConnections()[0];
-            pageId = ConnectionUIPlugin.getDefault().getPluginProperties().getString( "Prop_ConnectionPropertyPage_id" );
+            pageId = ConnectionUIPlugin.getDefault().getPluginProperties().getString( "Prop_ConnectionPropertyPage_id" ); //$NON-NLS-1$
             title = getSelectedConnections()[0].getName();
         }
 
@@ -106,7 +106,7 @@
             PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn( getShell(), element, pageId, null, null );
             if ( dialog != null )
                 title = Utils.shorten( title, 30 );
-            dialog.getShell().setText( "Properties for '" + title + "'" );
+            dialog.getShell().setText( Messages.getString("PropertiesAction.PropertiesForStart") + title + Messages.getString("PropertiesAction.PropertiesForEnd") );
             dialog.open();
 
         }

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/RenameAction.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/RenameAction.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/RenameAction.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/actions/RenameAction.java Tue Nov 25 01:23:56 2008
@@ -57,15 +57,15 @@
         ConnectionFolder[] connectionFolders = getSelectedConnectionFolders();
         if ( connections.length == 1 && connectionFolders.length == 0 )
         {
-            return "Rename Connection...";
+            return Messages.getString("RenameAction.Connection");
         }
         else if ( connectionFolders.length == 1 && connections.length == 0 )
         {
-            return "Rename Connection Folder...";
+            return Messages.getString("RenameAction.ConnectionFolder");
         }
         else
         {
-            return "Rename";
+            return Messages.getString("RenameAction.Rename");
         }
     }
 
@@ -133,7 +133,7 @@
                 }
                 else if ( ConnectionCorePlugin.getDefault().getConnectionManager().getConnectionByName( newName ) != null )
                 {
-                    return "A connection with this name already exists.";
+                    return Messages.getString("RenameAction.ConnectionAlreadyExists");
                 }
                 else
                 {
@@ -142,7 +142,7 @@
             }
         };
 
-        InputDialog dialog = new InputDialog( getShell(), "Rename Connection", "New name:", connection.getName(),
+        InputDialog dialog = new InputDialog( getShell(), Messages.getString("RenameAction.RenameConnection"), Messages.getString("RenameAction.NewNameConnection"), connection.getName(),
             validator );
 
         dialog.open();
@@ -172,7 +172,7 @@
                 }
                 else if ( ConnectionCorePlugin.getDefault().getConnectionFolderManager().getConnectionFolderByName( newName ) != null )
                 {
-                    return "A connection folder with this name already exists.";
+                    return Messages.getString("RenameAction.ConnectionFolderAlreadyExists");
                 }
                 else
                 {
@@ -181,7 +181,7 @@
             }
         };
 
-        InputDialog dialog = new InputDialog( getShell(), "Rename Connection Folder", "New name:", connectionFolder.getName(),
+        InputDialog dialog = new InputDialog( getShell(), Messages.getString("RenameAction.RenameConnectionFolder"), Messages.getString("RenameAction.NewNameConnectionFolder"), connectionFolder.getName(),
             validator );
 
         dialog.open();

Added: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/Messages.java?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/Messages.java (added)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/Messages.java Tue Nov 25 01:23:56 2008
@@ -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.connection.ui.dialogs;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.connection.ui.dialogs.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 + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SelectReferralConnectionDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SelectReferralConnectionDialog.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SelectReferralConnectionDialog.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SelectReferralConnectionDialog.java Tue Nov 25 01:23:56 2008
@@ -79,7 +79,7 @@
     {
         super( parentShell );
         super.setShellStyle( super.getShellStyle() | SWT.RESIZE );
-        this.title = "Select Referral Connection";
+        this.title = Messages.getString("SelectReferralConnectionDialog.SelectReferralConenction");
         this.referralUrl = referralUrl;
         this.selectedConnection = null;
     }
@@ -149,7 +149,7 @@
         gd.heightHint = convertHorizontalDLUsToPixels( IDialogConstants.MINIMUM_MESSAGE_AREA_WIDTH / 2 );
         composite.setLayoutData( gd );
 
-        BaseWidgetUtils.createWrappedLabeledText( composite, "Please select a connection to handle referral "
+        BaseWidgetUtils.createWrappedLabeledText( composite, Messages.getString("SelectReferralConnectionDialog.SelectConnectionToHandleReferral")
             + referralUrl, 1 );
 
         // create configuration

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/ConnectionPropertyPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/ConnectionPropertyPage.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/ConnectionPropertyPage.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/ConnectionPropertyPage.java Tue Nov 25 01:23:56 2008
@@ -187,7 +187,7 @@
         Connection connection = getConnection( getElement() );
         if ( connection != null )
         {
-            super.setMessage( "Connection " + Utils.shorten( connection.getName(), 30 ) );
+            super.setMessage( Messages.getString("ConnectionPropertyPage.Connection") + Utils.shorten( connection.getName(), 30 ) ); //$NON-NLS-1$
             
             pages = ConnectionParameterPageManager.getConnectionParameterPages();
             
@@ -210,7 +210,7 @@
             return tabFolder;
         }
         else {
-            Label label = BaseWidgetUtils.createLabel( parent, "No connection", 1 );
+            Label label = BaseWidgetUtils.createLabel( parent, Messages.getString("ConnectionPropertyPage.NoConnection"), 1 ); //$NON-NLS-1$
             return label;
         }
     }

Added: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/Messages.java?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/Messages.java (added)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/Messages.java Tue Nov 25 01:23:56 2008
@@ -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.connection.ui.properties;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.connection.ui.properties.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 + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/properties/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/AuthenticationParameterPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/AuthenticationParameterPage.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/AuthenticationParameterPage.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/AuthenticationParameterPage.java Tue Nov 25 01:23:56 2008
@@ -57,21 +57,21 @@
 public class AuthenticationParameterPage extends AbstractConnectionParameterPage
 {
 
-    private static final String X_AUTH_METHOD = "X-AUTH-METHOD";
+    private static final String X_AUTH_METHOD = "X-AUTH-METHOD"; //$NON-NLS-1$
 
-    private static final String X_AUTH_METHOD_ANONYMOUS = "Anonymous";
+    private static final String X_AUTH_METHOD_ANONYMOUS = "Anonymous"; //$NON-NLS-1$
 
-    private static final String X_AUTH_METHOD_SIMPLE = "Simple";
+    private static final String X_AUTH_METHOD_SIMPLE = "Simple"; //$NON-NLS-1$
 
-    private static final String X_AUTH_METHOD_DIGEST_MD5 = "DIGEST-MD5";
+    private static final String X_AUTH_METHOD_DIGEST_MD5 = "DIGEST-MD5"; //$NON-NLS-1$
 
-    private static final String X_AUTH_METHOD_CRAM_MD5 = "CRAM-MD5";
+    private static final String X_AUTH_METHOD_CRAM_MD5 = "CRAM-MD5"; //$NON-NLS-1$
 
-    private static final String X_BIND_USER = "X-BIND-USER";
+    private static final String X_BIND_USER = "X-BIND-USER"; //$NON-NLS-1$
 
-    private static final String X_BIND_PASSWORD = "X-BIND-PASSWORD";
+    private static final String X_BIND_PASSWORD = "X-BIND-PASSWORD"; //$NON-NLS-1$
 
-    private static final String X_SASL_REALM = "X-SASL-REALM";
+    private static final String X_SASL_REALM = "X-SASL-REALM"; //$NON-NLS-1$
 
     /** The combo to select the authentication method */
     private Combo authenticationMethodCombo;
@@ -183,38 +183,38 @@
     {
         Composite composite1 = BaseWidgetUtils.createColumnContainer( parent, 1, 1 );
 
-        Group group1 = BaseWidgetUtils.createGroup( composite1, "Authentication Method", 1 );
+        Group group1 = BaseWidgetUtils.createGroup( composite1, Messages.getString("AuthenticationParameterPage.AuthenticationMethod"), 1 );
         Composite groupComposite = BaseWidgetUtils.createColumnContainer( group1, 1, 1 );
 
         String[] authMethods = new String[]
-            { "Anonymous Authentication", "Simple Authentication", "DIGEST-MD5 (SASL)", "CRAM-MD5 (SASL)" };
+            { "Anonymous Authentication", "Simple Authentication", "DIGEST-MD5 (SASL)", "CRAM-MD5 (SASL)" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
         authenticationMethodCombo = BaseWidgetUtils.createReadonlyCombo( groupComposite, authMethods, 1, 2 );
 
         Composite composite2 = BaseWidgetUtils.createColumnContainer( parent, 1, 1 );
 
-        Group group2 = BaseWidgetUtils.createGroup( composite2, "Authentication Parameter", 1 );
+        Group group2 = BaseWidgetUtils.createGroup( composite2, Messages.getString("AuthenticationParameterPage.AuthenticationParameter"), 1 );
         Composite composite = BaseWidgetUtils.createColumnContainer( group2, 3, 1 );
 
-        BaseWidgetUtils.createLabel( composite, "Bind DN or user:", 1 );
+        BaseWidgetUtils.createLabel( composite, Messages.getString("AuthenticationParameterPage.BindDNOrUser"), 1 );
         String[] dnHistory = HistoryUtils.load( ConnectionUIConstants.DIALOGSETTING_KEY_PRINCIPAL_HISTORY );
         bindPrincipalCombo = BaseWidgetUtils.createCombo( composite, dnHistory, -1, 2 );
 
-        BaseWidgetUtils.createLabel( composite, "Bind password:", 1 );
-        bindPasswordText = BaseWidgetUtils.createPasswordText( composite, "", 2 );
+        BaseWidgetUtils.createLabel( composite, Messages.getString("AuthenticationParameterPage.BindPassword"), 1 );
+        bindPasswordText = BaseWidgetUtils.createPasswordText( composite, "", 2 ); //$NON-NLS-1$
 
-        BaseWidgetUtils.createLabel( composite, "SASL Realm:", 1 );
+        BaseWidgetUtils.createLabel( composite, "SASL Realm:", 1 ); //$NON-NLS-1$
         String[] saslHistory = HistoryUtils.load( ConnectionUIConstants.DIALOGSETTING_KEY_REALM_HISTORY );
         saslRealmText = BaseWidgetUtils.createCombo( composite, saslHistory, -1, 2 );
 
         BaseWidgetUtils.createSpacer( composite, 1 );
-        saveBindPasswordButton = BaseWidgetUtils.createCheckbox( composite, "Save password", 1 );
+        saveBindPasswordButton = BaseWidgetUtils.createCheckbox( composite, Messages.getString("AuthenticationParameterPage.SavePassword"), 1 );
         saveBindPasswordButton.setSelection( true );
 
         checkPrincipalPasswordAuthButton = new Button( composite, SWT.PUSH );
         GridData gd = new GridData( GridData.FILL_HORIZONTAL );
         gd.horizontalAlignment = SWT.RIGHT;
         checkPrincipalPasswordAuthButton.setLayoutData( gd );
-        checkPrincipalPasswordAuthButton.setText( "Check Authentication" );
+        checkPrincipalPasswordAuthButton.setText( Messages.getString("AuthenticationParameterPage.CheckAuthentication") );
         checkPrincipalPasswordAuthButton.setEnabled( false );
     }
 
@@ -229,7 +229,7 @@
         bindPasswordText.setEnabled( isPrincipalPasswordEnabled() && isSaveBindPassword() );
         saveBindPasswordButton.setEnabled( isPrincipalPasswordEnabled() );
         checkPrincipalPasswordAuthButton.setEnabled( isPrincipalPasswordEnabled() && isSaveBindPassword()
-            && !bindPrincipalCombo.getText().equals( "" ) && !bindPasswordText.getText().equals( "" ) );
+            && !bindPrincipalCombo.getText().equals( "" ) && !bindPasswordText.getText().equals( "" ) ); //$NON-NLS-1$ //$NON-NLS-2$
         saslRealmText.setEnabled( isSaslRealmTextEnabled() );
 
         // validate input fields
@@ -238,21 +238,21 @@
         errorMessage = null;
         if ( isPrincipalPasswordEnabled() )
         {
-            if ( isSaveBindPassword() && "".equals( bindPasswordText.getText() ) )
+            if ( isSaveBindPassword() && "".equals( bindPasswordText.getText() ) ) //$NON-NLS-1$
             {
-                message = "Please enter a bind password.";
+                message = Messages.getString("AuthenticationParameterPage.PleaseEnterBindPassword");
             }
-            if ( "".equals( bindPrincipalCombo.getText() ) )
+            if ( "".equals( bindPrincipalCombo.getText() ) ) //$NON-NLS-1$
             {
-                message = "Please enter a bind DN or user.";
+                message = Messages.getString("AuthenticationParameterPage.PleaseEnterBindDNOrUser");
             }
         }
 
         if ( isSaslRealmTextEnabled() )
         {
-            if ( "".equals( saslRealmText.getText() ) )
+            if ( "".equals( saslRealmText.getText() ) ) //$NON-NLS-1$
             {
-                infoMessage = "Please enter an SASL Realm otherwise any available SASL realm is choosen";
+                infoMessage = Messages.getString("AuthenticationParameterPage.PleasEnterSASL");
             }
         }
     }
@@ -296,9 +296,9 @@
                     : parameter.getAuthMethod() == AuthenticationMethod.SASL_GSSAPI ? 4 : 0;
         authenticationMethodCombo.select( index );
         bindPrincipalCombo.setText( parameter.getBindPrincipal() );
-        bindPasswordText.setText( parameter.getBindPassword() != null ? parameter.getBindPassword() : "" );
+        bindPasswordText.setText( parameter.getBindPassword() != null ? parameter.getBindPassword() : "" ); //$NON-NLS-1$
         saveBindPasswordButton.setSelection( parameter.getBindPassword() != null );
-        saslRealmText.setText( parameter.getSaslRealm() != null ? parameter.getSaslRealm() : "" );
+        saslRealmText.setText( parameter.getSaslRealm() != null ? parameter.getSaslRealm() : "" ); //$NON-NLS-1$
     }
 
 
@@ -356,8 +356,8 @@
                 IStatus status = RunnableContextRunner.execute( runnable, runnableContext, true );
                 if ( status.isOK() )
                 {
-                    MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Authentication",
-                        "The authentication was successful." );
+                    MessageDialog.openInformation( Display.getDefault().getActiveShell(), Messages.getString("AuthenticationParameterPage.CheckAuthentication"),
+                        Messages.getString("AuthenticationParameterPage.AuthenticationSuccessfull") );
                 }
             }
         } );

Added: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/Messages.java?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/Messages.java (added)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/Messages.java Tue Nov 25 01:23:56 2008
@@ -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.connection.ui.widgets;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.connection.ui.widgets.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 + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java Tue Nov 25 01:23:56 2008
@@ -63,13 +63,13 @@
 public class NetworkParameterPage extends AbstractConnectionParameterPage
 {
 
-    private static final String X_CONNECTION_NAME = "X-CONNECTION-NAME";
+    private static final String X_CONNECTION_NAME = "X-CONNECTION-NAME"; //$NON-NLS-1$
 
-    private static final String X_ENCRYPTION = "X-ENCRYPTION";
+    private static final String X_ENCRYPTION = "X-ENCRYPTION"; //$NON-NLS-1$
 
-    private static final String X_ENCRYPTION_LDAPS = "ldaps";
+    private static final String X_ENCRYPTION_LDAPS = "ldaps"; //$NON-NLS-1$
 
-    private static final String X_ENCRYPTION_START_TLS = "StartTLS";
+    private static final String X_ENCRYPTION_START_TLS = "StartTLS"; //$NON-NLS-1$
 
     /** The connection name text widget */
     private Text nameText;
@@ -170,34 +170,35 @@
         Composite composite = BaseWidgetUtils.createColumnContainer( parent, 1, 1 );
 
         Composite nameComposite = BaseWidgetUtils.createColumnContainer( composite, 2, 1 );
-        BaseWidgetUtils.createLabel( nameComposite, "Connection name:", 1 );
-        nameText = BaseWidgetUtils.createText( nameComposite, "", 1 );
+        BaseWidgetUtils.createLabel( nameComposite, Messages.getString("NetworkParameterPage.ConnectionName"), 1 );
+        nameText = BaseWidgetUtils.createText( nameComposite, "", 1 ); //$NON-NLS-1$
 
         BaseWidgetUtils.createSpacer( composite, 1 );
 
-        Group group = BaseWidgetUtils.createGroup( composite, "Network Parameter", 1 );
+        Group group = BaseWidgetUtils.createGroup( composite, Messages.getString("NetworkParameterPage.NetworkParameter"), 1 );
 
         Composite groupComposite = BaseWidgetUtils.createColumnContainer( group, 3, 1 );
-        BaseWidgetUtils.createLabel( groupComposite, "Hostname:", 1 );
+        BaseWidgetUtils.createLabel( groupComposite, "Hostname:", 1 ); //$NON-NLS-1$
         String[] hostHistory = HistoryUtils.load( ConnectionUIConstants.DIALOGSETTING_KEY_HOST_HISTORY );
         hostCombo = BaseWidgetUtils.createCombo( groupComposite, hostHistory, -1, 2 );
 
-        BaseWidgetUtils.createLabel( groupComposite, "Port:", 1 );
+        BaseWidgetUtils.createLabel( groupComposite, "Port:", 1 ); //$NON-NLS-1$
         String[] portHistory = HistoryUtils.load( ConnectionUIConstants.DIALOGSETTING_KEY_PORT_HISTORY );
         portCombo = BaseWidgetUtils.createCombo( groupComposite, portHistory, -1, 2 );
         portCombo.setTextLimit( 5 );
-        portCombo.setText( "389" );
+        portCombo.setText( "389" ); //$NON-NLS-1$
 
         String[] encMethods = new String[]
-            { "No encryption", "Use SSL encryption (ldaps://)", "Use StartTLS extension" };
+            { Messages.getString("NetworkParameterPage.NoEncryption"), Messages.getString("NetworkParameterPage.UseSSLEncryption"),
+        		Messages.getString("NetworkParameterPage.UseStartTLS") };
         int index = 0;
-        BaseWidgetUtils.createLabel( groupComposite, "Encryption method:", 1 );
+        BaseWidgetUtils.createLabel( groupComposite, Messages.getString("NetworkParameterPage.EncryptionMethod"), 1 );
         encryptionMethodCombo = BaseWidgetUtils.createReadonlyCombo( groupComposite, encMethods, index, 2 );
         BaseWidgetUtils.createSpacer( groupComposite, 1 );
         BaseWidgetUtils
             .createLabel(
                 groupComposite,
-                "Warning: The current version doesn't support certificate validation, \nbe aware of invalid certificates or man-in-the-middle attacks!",
+                Messages.getString("NetworkParameterPage.WarningCertificateValidation"),
                 2 );
 
         BaseWidgetUtils.createSpacer( groupComposite, 2 );
@@ -206,7 +207,7 @@
         gd.horizontalAlignment = SWT.RIGHT;
         gd.verticalAlignment = SWT.BOTTOM;
         checkConnectionButton.setLayoutData( gd );
-        checkConnectionButton.setText( "Check Network Parameter" );
+        checkConnectionButton.setText( Messages.getString("NetworkParameterPage.CheckNetworkParameter") );
 
         nameText.setFocus();
     }
@@ -218,28 +219,28 @@
     protected void validate()
     {
         // set enabled/disabled state of check connection button
-        checkConnectionButton.setEnabled( !hostCombo.getText().equals( "" ) && !portCombo.getText().equals( "" ) );
+        checkConnectionButton.setEnabled( !hostCombo.getText().equals( "" ) && !portCombo.getText().equals( "" ) ); //$NON-NLS-1$ //$NON-NLS-2$
 
         // validate input fields
         message = null;
         infoMessage = null;
         errorMessage = null;
-        if ( "".equals( portCombo.getText() ) )
+        if ( "".equals( portCombo.getText() ) ) //$NON-NLS-1$
         {
-            message = "Please enter a port. The default LDAP port is 389.";
+            message = Messages.getString("NetworkParameterPage.PleaseEnterPort");
         }
-        if ( "".equals( hostCombo.getText() ) )
+        if ( "".equals( hostCombo.getText() ) ) //$NON-NLS-1$
         {
-            message = "Please enter a hostname.";
+            message = Messages.getString("NetworkParameterPage.PleaseEnterHostname");
         }
-        if ( "".equals( nameText.getText() ) )
+        if ( "".equals( nameText.getText() ) ) //$NON-NLS-1$
         {
-            message = "Please enter a connection name.";
+            message = Messages.getString("NetworkParameterPage.PleaseEnterConnectionName");
         }
         if ( ConnectionCorePlugin.getDefault().getConnectionManager().getConnectionByName( nameText.getText() ) != null
             && ( connectionParameter == null || !nameText.getText().equals( connectionParameter.getName() ) ) )
         {
-            errorMessage = "A connection named '" + nameText.getText() + "' already exists.";
+            errorMessage = Messages.getString("NetworkParameterPage.ConnectionExistsStart") + nameText.getText() + Messages.getString("NetworkParameterPage.ConnectionExistsEnd");
         }
     }
 
@@ -285,7 +286,7 @@
         {
             public void verifyText( VerifyEvent event )
             {
-                if ( !event.text.matches( "[0-9]*" ) )
+                if ( !event.text.matches( "[0-9]*" ) ) //$NON-NLS-1$
                 {
                     event.doit = false;
                 }
@@ -316,8 +317,8 @@
                 IStatus status = RunnableContextRunner.execute( runnable, runnableContext, true );
                 if ( status.isOK() )
                 {
-                    MessageDialog.openInformation( Display.getDefault().getActiveShell(), "Check Network Parameter",
-                        "The connection was established successfully." );
+                    MessageDialog.openInformation( Display.getDefault().getActiveShell(), Messages.getString("NetworkParameterPage.CheckNetworkParameter"),
+                        Messages.getString("NetworkParameterPage.ConnectionEstablished") );
                 }
             }
         } );

Added: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/Messages.java?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/Messages.java (added)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/Messages.java Tue Nov 25 01:23:56 2008
@@ -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.connection.ui.wizards;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.connection.ui.wizards.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 + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/NewConnectionWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/NewConnectionWizard.java?rev=720446&r1=720445&r2=720446&view=diff
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/NewConnectionWizard.java (original)
+++ directory/studio/trunk/connection-ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/NewConnectionWizard.java Tue Nov 25 01:23:56 2008
@@ -62,7 +62,7 @@
      */
     public NewConnectionWizard()
     {
-        setWindowTitle( "New LDAP Connection" );
+        setWindowTitle( Messages.getString("NewConnectionWizard.NewLdapConnection") ); //$NON-NLS-1$
         setNeedsProgressMonitor( true );
     }
 
@@ -130,7 +130,7 @@
         for ( NewConnectionWizardPage wizardPage : wizardPages )
         {
             PlatformUI.getWorkbench().getHelpSystem().setHelp( wizardPage.getControl(),
-                ConnectionUIConstants.PLUGIN_ID + "." + "tools_newconnection_wizard" );
+                ConnectionUIConstants.PLUGIN_ID + "." + "tools_newconnection_wizard" ); //$NON-NLS-1$ //$NON-NLS-2$
         }
     }
 

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,41 @@
+CloseConnectionAction.CloseConnections=Close Connections
+CloseConnectionAction.CloseConnection=Close Connection
+CopyAction.Copy=Copy
+CopyAction.CopyConnection=Copy Connection
+CopyAction.CopyConnections=Copy Connections
+CopyAction.CopyFolder=Copy Connection Folder
+CopyAction.CopyFolders=Copy Connection Folders
+DeleteAction.Delete=Delete
+DeleteAction.DeleteConnection=Delete Connection
+DeleteAction.DeleteConnectionFolder=Delete Connection Folder
+DeleteAction.DeleteConnectionFolders=Delete Connection Folders
+DeleteAction.DeleteConnections=Delete Connections
+DeleteAction.SureDeleteFollowingConnection=Are your sure to delete the following connection?
+DeleteAction.SureDeleteFollowingConnections=Are your sure to delete the following connections?
+DeleteAction.SureDeleteFollowingFolder=Are your sure to delete the following connection folder including all connections?
+DeleteAction.SureDeleteFollowingFolders=Are your sure to delete the following connection folders including all connections?
+DeleteAction.SureDeleteSelectedConnectionFolders=Are your sure to delete the selected connection folders including all connections?
+DeleteAction.SureDeleteSelectedConnections=Are your sure to delete the selected connections?
+NewConnectionAction.NewConnection=New Connection...
+NewConnectionFolderAction.NeterNameNewFolder=Please enter the name of the new connection folder:
+NewConnectionFolderAction.NewConnectionFolder=New Connection Folder
+NewConnectionFolderAction.NewConnectionFolderDots=New Connection Folder...
+OpenConnectionAction.OpenConnection=Open Connection
+OpenConnectionAction.OpenConnections=Open Connections
+PasteAction.Paste=Paste
+PasteAction.PasteConnection=Paste Connection
+PasteAction.PasteConnectionFolder=Paste Connection Folder
+PasteAction.PasteConnectionFolders=Paste Connection Folders
+PasteAction.PasteConnections=Paste Connections
+PropertiesAction.Properties=Properties
+PropertiesAction.PropertiesForEnd='
+PropertiesAction.PropertiesForStart=Properties for '
+RenameAction.Connection=Rename Connection...
+RenameAction.ConnectionAlreadyExists=A connection with this name already exists.
+RenameAction.ConnectionFolder=Rename Connection Folder...
+RenameAction.ConnectionFolderAlreadyExists=A connection folder with this name already exists.
+RenameAction.NewNameConnection=New name:
+RenameAction.NewNameConnectionFolder=New name:
+RenameAction.Rename=Rename
+RenameAction.RenameConnection=Rename Connection
+RenameAction.RenameConnectionFolder=Rename Connection Folder

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages_de.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages_de.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages_de.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,41 @@
+CloseConnectionAction.CloseConnections=Verbindungen schliessen
+CloseConnectionAction.CloseConnection=Verbindung schliessen
+CopyAction.Copy=Kopieren
+CopyAction.CopyConnection=Verbindung kopieren
+CopyAction.CopyConnections=Verbindungen kopieren
+CopyAction.CopyFolder=Verbindungsorder kopieren (einer)
+CopyAction.CopyFolders=Verbindungsorder kopieren (mehrere)
+DeleteAction.Delete=L\u00F6schen
+DeleteAction.DeleteConnection=Verbindung l\u00F6schen
+DeleteAction.DeleteConnectionFolder=Verbindungsordner l\u00F6schen (einer)
+DeleteAction.DeleteConnectionFolders=Verbindungsordner l\u00F6schen (mehrere)
+DeleteAction.DeleteConnections=Verbindungen l\u00F6schen
+DeleteAction.SureDeleteFollowingConnection=Wollen Sie folgende Verbindung wirklich l\u00F6schen?
+DeleteAction.SureDeleteFollowingConnections=Wollen Sie folgende Verbindungen wirklich l\u00F6schen?
+DeleteAction.SureDeleteFollowingFolder=Wollen Sie den folgenden Verbindungsordner inklusive aller Verbindungen wirklich l\u00F6schen?
+DeleteAction.SureDeleteFollowingFolders=Wollen Sie die folgenden Verbindungsordner inklusive aller Verbindungen wirklich l\u00F6schen?
+DeleteAction.SureDeleteSelectedConnectionFolders=Wollen Sie die ausgew\u00E4hlten Verbindungsordner inklusive aller Verbindungen wirklich l\u00F6schen?
+DeleteAction.SureDeleteSelectedConnections=Wollen Sie die ausgew\u00E4hlten Verbindungen wirklich l\u00F6schen?
+NewConnectionAction.NewConnection=Neue Verbindung...
+NewConnectionFolderAction.NeterNameNewFolder=Bitte geben Sie einen Namen f\u00FCr den neuen Verbindungsorder ein\:
+NewConnectionFolderAction.NewConnectionFolder=Neuer Verbindungsordner
+NewConnectionFolderAction.NewConnectionFolderDots=Neuer Verbindungsordner...
+OpenConnectionAction.OpenConnection=Verbindung \u00F6ffnen
+OpenConnectionAction.OpenConnections=Verbindungen \u00F6ffnen
+PasteAction.Paste=Einf\u00FCgen
+PasteAction.PasteConnection=Verbindung einf\u00FCgen
+PasteAction.PasteConnectionFolder=Verbindungsordner einf\u00FCgen (einer)
+PasteAction.PasteConnectionFolders=Verbindungsordner einf\u00FCgen (mehrere)
+PasteAction.PasteConnections=Verbindungen einf\u00FCgen
+PropertiesAction.Properties=Eigenschaften
+PropertiesAction.PropertiesForEnd='
+PropertiesAction.PropertiesForStart=Eigenschaften f\u00FCr '
+RenameAction.Connection=Verbindung umbenennen...
+RenameAction.ConnectionAlreadyExists=Eine Verbindung mit diesem Namen existiert bereits.
+RenameAction.ConnectionFolder=Verbindungsordner umbenennen...
+RenameAction.ConnectionFolderAlreadyExists=Ein Verbindungsordner mit diesem Namen existiert bereits.
+RenameAction.NewNameConnection=Neuer Name\:
+RenameAction.NewNameConnectionFolder=Neuer Name\:
+RenameAction.Rename=Umbenennen
+RenameAction.RenameConnection=Verbindung umbenennen
+RenameAction.RenameConnectionFolder=Verbindungsorder umbenennen

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages_de.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/actions/messages_de.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,2 @@
+SelectReferralConnectionDialog.SelectConnectionToHandleReferral=Please select a connection to handle referral 
+SelectReferralConnectionDialog.SelectReferralConenction=Select Referral Connection

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,2 @@
+SelectReferralConnectionDialog.SelectConnectionToHandleReferral=Bitte w\u00E4hlen Sie den Verweis verwaltende Verbindung aus 
+SelectReferralConnectionDialog.SelectReferralConenction=W\u00E4hlen Sie die verweisende Verbindung aus

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,6 @@
+ConnectionParameterPageManager.UnableCreateConnectionParamPage=Unable to create connection parameter page 
+ConnectionUIPlugin.UnableGetPluginProperties=Unable to get the plugin properties.
+ExceptionHandler.Error=Error
+UIAuthHandler.EnterPasswordForEnd='
+UIAuthHandler.EnterPasswordForStart=Enter Password for '
+UIAuthHandler.PleaseEnterPasswordOfUser=Please enter password of user 

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages_de.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages_de.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages_de.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,6 @@
+ConnectionParameterPageManager.UnableCreateConnectionParamPage=Die Verbindungsparameter Seite kann nicht erstellt werden 
+ConnectionUIPlugin.UnableGetPluginProperties=Plugin Eigenschaften sind nicht auffindbar.
+ExceptionHandler.Error=Fehler
+UIAuthHandler.EnterPasswordForEnd=' eingeben
+UIAuthHandler.EnterPasswordForStart=Passwort f\u00FCr '
+UIAuthHandler.PleaseEnterPasswordOfUser=Bitte Passwort f\u00FCr Benutzer eingeben

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages_de.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/messages_de.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,2 @@
+ConnectionPropertyPage.Connection=Connection 
+ConnectionPropertyPage.NoConnection=No connection

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages_de.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages_de.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages_de.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,2 @@
+ConnectionPropertyPage.Connection=Verbindung
+ConnectionPropertyPage.NoConnection=Keine Verbindung

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages_de.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/properties/messages_de.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/messages.properties?rev=720446&view=auto
==============================================================================
--- directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/messages.properties (added)
+++ directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/messages.properties Tue Nov 25 01:23:56 2008
@@ -0,0 +1,26 @@
+AuthenticationParameterPage.BindDNOrUser=Bind DN or user:
+AuthenticationParameterPage.AuthenticationMethod=Authentication Method
+AuthenticationParameterPage.AuthenticationParameter=Authentication Parameter
+AuthenticationParameterPage.AuthenticationSuccessfull=The authentication was successful.
+AuthenticationParameterPage.BindPassword=Bind password:
+AuthenticationParameterPage.CheckAuthentication=Check Authentication
+AuthenticationParameterPage.PleaseEnterBindDNOrUser=Please enter a bind DN or user.
+AuthenticationParameterPage.PleaseEnterBindPassword=Please enter a bind password.
+AuthenticationParameterPage.PleasEnterSASL=Please enter an SASL Realm otherwise any available SASL realm is choosen
+AuthenticationParameterPage.SavePassword=Save password
+NetworkParameterPage.CheckNetworkParameter=Check Network Parameter
+NetworkParameterPage.ConnectionEstablished=The connection was established successfully.
+NetworkParameterPage.ConnectionExistsEnd=' already exists.
+NetworkParameterPage.ConnectionExistsStart=A connection named '
+NetworkParameterPage.ConnectionName=Connection name:
+NetworkParameterPage.EncryptionMethod=Encryption method:
+NetworkParameterPage.NetworkParameter=Network Parameter
+NetworkParameterPage.NoEncryption=No encryption
+NetworkParameterPage.PleaseEnterConnectionName=Please enter a connection name.
+NetworkParameterPage.PleaseEnterHostname=Please enter a hostname.
+NetworkParameterPage.PleaseEnterPort=Please enter a port. The default LDAP port is 389.
+NetworkParameterPage.UseSSLEncryption=Use SSL encryption (ldaps://)
+NetworkParameterPage.UseStartTLS=Use StartTLS extension
+NetworkParameterPage.WarningCertificateValidation=Warning:\n\
+ The current version doesn't support certificate validation, \n\
+ aware of invalid certificates or man-in-the-middle attacks\!

Propchange: directory/studio/trunk/connection-ui/src/main/resources/org/apache/directory/studio/connection/ui/widgets/messages.properties
------------------------------------------------------------------------------
    svn:mergeinfo = 



Mime
View raw message