directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1483757 - in /directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui: PasswordsKeyStoreManagerUtils.java messages.properties messages_de.properties messages_fr.properties
Date Fri, 17 May 2013 12:08:21 GMT
Author: pamarcelot
Date: Fri May 17 12:08:20 2013
New Revision: 1483757

URL: http://svn.apache.org/r1483757
Log:
Externalized strings.

Modified:
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/PasswordsKeyStoreManagerUtils.java
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/PasswordsKeyStoreManagerUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/PasswordsKeyStoreManagerUtils.java?rev=1483757&r1=1483756&r2=1483757&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/PasswordsKeyStoreManagerUtils.java
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/PasswordsKeyStoreManagerUtils.java
Fri May 17 12:08:20 2013
@@ -72,8 +72,9 @@ public class PasswordsKeyStoreManagerUti
                     Shell shell = PlatformUI.getWorkbench().getDisplay().getActiveShell();
 
                     // We ask the user for the keystore password
-                    PasswordDialog passwordDialog = new PasswordDialog( shell, "Verify Master
Password",
-                        "Please enter your master password:", null );
+                    PasswordDialog passwordDialog = new PasswordDialog( shell, Messages
+                        .getString( "PasswordsKeyStoreManagerUtils.VerifyMasterPassword"
), //$NON-NLS-1$
+                        Messages.getString( "PasswordsKeyStoreManagerUtils.PleaseEnterMasterPassword"
), null ); //$NON-NLS-1$
 
                     if ( passwordDialog.open() == PasswordDialog.CANCEL )
                     {
@@ -106,17 +107,19 @@ public class PasswordsKeyStoreManagerUti
 
                     if ( checkPasswordException != null )
                     {
-                        message = "The master password verification failed.\n\nThe following
exception was raised:\n"
+                        message = Messages
+                            .getString( "PasswordsKeyStoreManagerUtils.MasterPasswordVerificationFailedWithException"
) //$NON-NLS-1$
                             + checkPasswordException.getMessage();
                     }
                     else
                     {
-                        message = "The master password verification failed.";
+                        message = Messages.getString( "PasswordsKeyStoreManagerUtils.MasterPasswordVerificationFailed"
); //$NON-NLS-1$
                     }
 
                     // We ask the user if he wants to retry to unlock the passwords keystore
-                    MessageDialog errorDialog = new MessageDialog( shell,
-                        "Verify Master Password Failed", null, message, MessageDialog.ERROR,
new String[]
+                    MessageDialog errorDialog = new MessageDialog(
+                        shell,
+                        Messages.getString( "PasswordsKeyStoreManagerUtils.VerifyMasterPasswordFailed"
), null, message, MessageDialog.ERROR, new String[] //$NON-NLS-1$
                             { IDialogConstants.RETRY_LABEL,
                                 IDialogConstants.CANCEL_LABEL }, 0 );
 

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties?rev=1483757&r1=1483756&r2=1483757&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties
Fri May 17 12:08:20 2013
@@ -16,7 +16,16 @@
 # under the License.
 
 ConnectionParameterPageManager.UnableCreateConnectionParamPage=Unable to create connection
parameter page 
+
 ConnectionUIPlugin.UnableGetPluginProperties=Unable to get the plugin properties.
+
 ExceptionHandler.Error=Error
+
+PasswordsKeyStoreManagerUtils.MasterPasswordVerificationFailed=The master password verification
failed.
+PasswordsKeyStoreManagerUtils.MasterPasswordVerificationFailedWithException=The master password
verification failed.\n\nThe following exception was raised:\n
+PasswordsKeyStoreManagerUtils.PleaseEnterMasterPassword=Please enter your master password:
+PasswordsKeyStoreManagerUtils.VerifyMasterPassword=Verify Master Password
+PasswordsKeyStoreManagerUtils.VerifyMasterPasswordFailed=Verify Master Password Failed
+
 UIAuthHandler.EnterPasswordFor=Enter Password for "{0}"
 UIAuthHandler.PleaseEnterPasswordOfUser=Please enter password of user "{0}":

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties?rev=1483757&r1=1483756&r2=1483757&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties
Fri May 17 12:08:20 2013
@@ -16,7 +16,16 @@
 # under the License.
 
 ConnectionParameterPageManager.UnableCreateConnectionParamPage=Die Verbindungsparameter Seite
kann nicht erstellt werden 
+
 ConnectionUIPlugin.UnableGetPluginProperties=Plugin Eigenschaften sind nicht auffindbar.
+
 ExceptionHandler.Error=Fehler
+
+PasswordsKeyStoreManagerUtils.MasterPasswordVerificationFailed=Das Master-Passwort fehlgeschlagen.
+PasswordsKeyStoreManagerUtils.MasterPasswordVerificationFailedWithException=Das Master-Passwort
fehlgeschlagen.\n\nDie folgende Ausnahme ausgelöst wurde:\n
+PasswordsKeyStoreManagerUtils.PleaseEnterMasterPassword=Bitte geben Sie Ihr Master-Passwort:
+PasswordsKeyStoreManagerUtils.VerifyMasterPassword=Verifiziere Master-Passwort
+PasswordsKeyStoreManagerUtils.VerifyMasterPasswordFailed=Verifiziere Master-Passwort fehlgeschlagen
+
 UIAuthHandler.EnterPasswordFor=Passwort f\u00FCr "{0}" eingeben
 UIAuthHandler.PleaseEnterPasswordOfUser=Bitte Passwort f\u00FCr Benutzer "{0}" eingeben:

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties?rev=1483757&r1=1483756&r2=1483757&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties
Fri May 17 12:08:20 2013
@@ -16,7 +16,16 @@
 # under the License.
 
 ConnectionParameterPageManager.UnableCreateConnectionParamPage=Impossible de cr\u00E9er la
page de param\u00E8tres de la connexion 
+
 ConnectionUIPlugin.UnableGetPluginProperties=Impossible de r\u00E9cup\u00E9rer les propri\u00E9t\u00E9s
du plugin
+
 ExceptionHandler.Error=Erreur
+
+PasswordsKeyStoreManagerUtils.MasterPasswordVerificationFailed=La vérification du mot de
passe principal a échouée.
+PasswordsKeyStoreManagerUtils.MasterPasswordVerificationFailedWithException=La vérification
du mot de passe principal a échouée.\n\nL'exception suivante a été levée :\n
+PasswordsKeyStoreManagerUtils.PleaseEnterMasterPassword=Veuillez entrer votre mot de passe
principal :
+PasswordsKeyStoreManagerUtils.VerifyMasterPassword=Vérification du mot de passe principal
+PasswordsKeyStoreManagerUtils.VerifyMasterPasswordFailed=Echec de vérification du mot de
passe principal
+
 UIAuthHandler.EnterPasswordFor=Veuillez entrer le mot de passe pour "{0}"
 UIAuthHandler.PleaseEnterPasswordOfUser=Veuillez entrer le mot de passe de l'utilisateur
"{0}" :



Mime
View raw message