directory-commits mailing list archives

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

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

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

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SetupPasswordDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SetupPasswordDialog.java?rev=1483768&r1=1483767&r2=1483768&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SetupPasswordDialog.java
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/SetupPasswordDialog.java
Fri May 17 12:30:19 2013
@@ -162,11 +162,12 @@ public class SetupPasswordDialog extends
         }
 
         // Password Group
-        Group passwordGroup = BaseWidgetUtils.createGroup( composite, "Password", 1 );
+        Group passwordGroup = BaseWidgetUtils.createGroup( composite,
+            Messages.getString( "SetupPasswordDialog.Password" ), 1 ); //$NON-NLS-1$
         passwordGroup.setLayout( new GridLayout( 2, false ) );
 
         // Password Text
-        BaseWidgetUtils.createLabel( passwordGroup, "Password:", 1 );
+        BaseWidgetUtils.createLabel( passwordGroup, Messages.getString( "SetupPasswordDialog.PasswordColon"
), 1 ); //$NON-NLS-1$
         passwordText = BaseWidgetUtils.createText( passwordGroup, value, 1 );
         passwordText.setEchoChar( '\u2022' );
         passwordText.addModifyListener( new ModifyListener()
@@ -178,8 +179,9 @@ public class SetupPasswordDialog extends
         } );
 
         // Show Password Checkbox
-        BaseWidgetUtils.createLabel( passwordGroup, "", 1 );
-        showPasswordCheckbox = BaseWidgetUtils.createCheckbox( passwordGroup, "Show password",
1 );
+        BaseWidgetUtils.createLabel( passwordGroup, "", 1 ); //$NON-NLS-1$
+        showPasswordCheckbox = BaseWidgetUtils.createCheckbox( passwordGroup,
+            Messages.getString( "SetupPasswordDialog.ShowPassword" ), 1 ); //$NON-NLS-1$
         showPasswordCheckbox.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )
@@ -196,7 +198,7 @@ public class SetupPasswordDialog extends
         } );
 
         // Verify Text
-        BaseWidgetUtils.createLabel( passwordGroup, "Verify password:", 1 );
+        BaseWidgetUtils.createLabel( passwordGroup, Messages.getString( "SetupPasswordDialog.VerifyPasswordColon"
), 1 ); //$NON-NLS-1$
         verifyPasswordText = BaseWidgetUtils.createText( passwordGroup, value, 1 );
         verifyPasswordText.setEchoChar( '\u2022' );
         verifyPasswordText.addModifyListener( new ModifyListener()
@@ -208,8 +210,9 @@ public class SetupPasswordDialog extends
         } );
 
         // Show Verify Password Checkbox
-        BaseWidgetUtils.createLabel( passwordGroup, "", 1 );
-        showVerifyPasswordCheckbox = BaseWidgetUtils.createCheckbox( passwordGroup, "Show
password", 1 );
+        BaseWidgetUtils.createLabel( passwordGroup, "", 1 ); //$NON-NLS-1$
+        showVerifyPasswordCheckbox = BaseWidgetUtils.createCheckbox( passwordGroup,
+            Messages.getString( "SetupPasswordDialog.ShowPassword" ), 1 ); //$NON-NLS-1$
         showVerifyPasswordCheckbox.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages.properties?rev=1483768&r1=1483767&r2=1483768&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages.properties
Fri May 17 12:30:19 2013
@@ -16,6 +16,7 @@
 # under the License.
 
 CertificateInfoDialog.CertificateViewer=Certificate Viewer
+
 CertificateTrustDialog.CertificateTrust=Certificate Trust
 CertificateTrustDialog.InvalidCertificate=''{0}'' uses an invalid certificate:
 CertificateTrustDialog.NoValidCertificationPath=- The issuer certificate is unknown
@@ -33,3 +34,8 @@ PasswordDialog.ShowPassword=Show passwor
 
 SelectReferralConnectionDialog.SelectConnectionToHandleReferral=Please select a connection
to handle referral: 
 SelectReferralConnectionDialog.SelectReferralConenction=Select Referral Connection
+
+SetupPasswordDialog.Password=Password
+SetupPasswordDialog.PasswordColon=Password:
+SetupPasswordDialog.ShowPassword=Show password
+SetupPasswordDialog.VerifyPasswordColon=Verify password:

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties?rev=1483768&r1=1483767&r2=1483768&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages_de.properties
Fri May 17 12:30:19 2013
@@ -33,3 +33,8 @@ PasswordDialog.ShowPassword=Zeigen Passw
 
 SelectReferralConnectionDialog.SelectConnectionToHandleReferral=Bitte w\u00E4hlen Sie den
Verweis verwaltende Verbindung aus: 
 SelectReferralConnectionDialog.SelectReferralConenction=W\u00E4hlen Sie die verweisende Verbindung
aus
+
+SetupPasswordDialog.Password=Passwort
+SetupPasswordDialog.PasswordColon=Passwort:
+SetupPasswordDialog.ShowPassword=Zeigen Passwort
+SetupPasswordDialog.VerifyPasswordColon=Verifiziere Passwort\:

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages_fr.properties?rev=1483768&r1=1483767&r2=1483768&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages_fr.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/messages_fr.properties
Fri May 17 12:30:19 2013
@@ -16,6 +16,7 @@
 # under the License.
 
 CertificateInfoDialog.CertificateViewer=Visualisateur de certificat
+
 CertificateTrustDialog.CertificateTrust=Confiance de certificat
 CertificateTrustDialog.InvalidCertificate=''{0}'' utilise un certificat invalide:
 CertificateTrustDialog.NoValidCertificationPath=- L'\u00E9metteur du certificat est inconnu
@@ -33,3 +34,8 @@ PasswordDialog.ShowPassword=Afficher le 
 
 SelectReferralConnectionDialog.SelectConnectionToHandleReferral=Veuillez s\u00E9lectionner
une connexion vers un referral: 
 SelectReferralConnectionDialog.SelectReferralConenction=S\u00E9lectionnez la connexion vers
le referral de votre choix
+
+SetupPasswordDialog.Password=Mot de passe
+SetupPasswordDialog.PasswordColon=Mot de passe:
+SetupPasswordDialog.ShowPassword=Afficher le mot de passe
+SetupPasswordDialog.VerifyPasswordColon=V\u00E9rifier le mot de passe:



Mime
View raw message