directory-commits mailing list archives

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

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

Modified:
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/ResetPasswordDialog.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/ResetPasswordDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/ResetPasswordDialog.java?rev=1483774&r1=1483773&r2=1483774&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/ResetPasswordDialog.java
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/ResetPasswordDialog.java
Fri May 17 12:38:47 2013
@@ -170,12 +170,14 @@ public class ResetPasswordDialog extends
         }
 
         // Current Password Group
-        Group currentPasswordGroup = BaseWidgetUtils.createGroup( composite, "Current password",
1 );
+        Group currentPasswordGroup = BaseWidgetUtils.createGroup( composite,
+            Messages.getString( "ResetPasswordDialog.CurrentPassword" ), 1 ); //$NON-NLS-1$
         currentPasswordGroup.setLayout( new GridLayout( 2, false ) );
 
         // Current Password Text
-        BaseWidgetUtils.createLabel( currentPasswordGroup, "Current password:", 1 );
-        currentPasswordText = BaseWidgetUtils.createText( currentPasswordGroup, "", 1 );
+        BaseWidgetUtils.createLabel( currentPasswordGroup,
+            Messages.getString( "ResetPasswordDialog.CurrentPasswordColon" ), 1 ); //$NON-NLS-1$
+        currentPasswordText = BaseWidgetUtils.createText( currentPasswordGroup, "", 1 );
//$NON-NLS-1$
         currentPasswordText.setEchoChar( '\u2022' );
         currentPasswordText.addModifyListener( new ModifyListener()
         {
@@ -186,8 +188,9 @@ public class ResetPasswordDialog extends
         } );
 
         // Show Current Password Checkbox
-        BaseWidgetUtils.createLabel( currentPasswordGroup, "", 1 );
-        showCurrentPasswordCheckbox = BaseWidgetUtils.createCheckbox( currentPasswordGroup,
"Show password", 1 );
+        BaseWidgetUtils.createLabel( currentPasswordGroup, "", 1 ); //$NON-NLS-1$
+        showCurrentPasswordCheckbox = BaseWidgetUtils.createCheckbox( currentPasswordGroup,
+            Messages.getString( "ResetPasswordDialog.ShowPassword" ), 1 ); //$NON-NLS-1$
         showCurrentPasswordCheckbox.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )
@@ -204,12 +207,13 @@ public class ResetPasswordDialog extends
         } );
 
         // New Password Group
-        Group newPasswordGroup = BaseWidgetUtils.createGroup( composite, "New password",
1 );
+        Group newPasswordGroup = BaseWidgetUtils.createGroup( composite,
+            Messages.getString( "ResetPasswordDialog.NewPassword" ), 1 ); //$NON-NLS-1$
         newPasswordGroup.setLayout( new GridLayout( 2, false ) );
 
         // New Password Text
-        BaseWidgetUtils.createLabel( newPasswordGroup, "New password:", 1 );
-        newPasswordText = BaseWidgetUtils.createText( newPasswordGroup, "", 1 );
+        BaseWidgetUtils.createLabel( newPasswordGroup, Messages.getString( "ResetPasswordDialog.NewPasswordColon"
), 1 ); //$NON-NLS-1$
+        newPasswordText = BaseWidgetUtils.createText( newPasswordGroup, "", 1 ); //$NON-NLS-1$
         newPasswordText.setEchoChar( '\u2022' );
         newPasswordText.addModifyListener( new ModifyListener()
         {
@@ -220,8 +224,9 @@ public class ResetPasswordDialog extends
         } );
 
         // Show New Password Checkbox
-        BaseWidgetUtils.createLabel( newPasswordGroup, "", 1 );
-        showNewPasswordCheckbox = BaseWidgetUtils.createCheckbox( newPasswordGroup, "Show
password", 1 );
+        BaseWidgetUtils.createLabel( newPasswordGroup, "", 1 ); //$NON-NLS-1$
+        showNewPasswordCheckbox = BaseWidgetUtils.createCheckbox( newPasswordGroup,
+            Messages.getString( "ResetPasswordDialog.ShowPassword" ), 1 ); //$NON-NLS-1$
         showNewPasswordCheckbox.addSelectionListener( new SelectionAdapter()
         {
             public void widgetSelected( SelectionEvent e )
@@ -238,8 +243,9 @@ public class ResetPasswordDialog extends
         } );
 
         // Verify Text
-        BaseWidgetUtils.createLabel( newPasswordGroup, "Verify new password:", 1 );
-        verifyNewPasswordText = BaseWidgetUtils.createText( newPasswordGroup, "", 1 );
+        BaseWidgetUtils.createLabel( newPasswordGroup,
+            Messages.getString( "ResetPasswordDialog.VerifyNewPasswordColon" ), 1 ); //$NON-NLS-1$
+        verifyNewPasswordText = BaseWidgetUtils.createText( newPasswordGroup, "", 1 ); //$NON-NLS-1$
         verifyNewPasswordText.setEchoChar( '\u2022' );
         verifyNewPasswordText.addModifyListener( new ModifyListener()
         {
@@ -250,8 +256,9 @@ public class ResetPasswordDialog extends
         } );
 
         // Show Verify New Password Checkbox
-        BaseWidgetUtils.createLabel( newPasswordGroup, "", 1 );
-        showVerifyNewPasswordCheckbox = BaseWidgetUtils.createCheckbox( newPasswordGroup,
"Show password", 1 );
+        BaseWidgetUtils.createLabel( newPasswordGroup, "", 1 ); //$NON-NLS-1$
+        showVerifyNewPasswordCheckbox = BaseWidgetUtils.createCheckbox( newPasswordGroup,
+            Messages.getString( "ResetPasswordDialog.ShowPassword" ), 1 ); //$NON-NLS-1$
         showVerifyNewPasswordCheckbox.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=1483774&r1=1483773&r2=1483774&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:38:47 2013
@@ -32,6 +32,13 @@ CertificateTrustDialog.AlwaysTrust=Alway
 
 PasswordDialog.ShowPassword=Show password
 
+ResetPasswordDialog.CurrentPassword=Current password
+ResetPasswordDialog.CurrentPasswordColon=Current password:
+ResetPasswordDialog.NewPassword=New password
+ResetPasswordDialog.NewPasswordColon=New password:
+ResetPasswordDialog.ShowPassword=Show password
+ResetPasswordDialog.VerifyNewPasswordColon=Verify new password:
+
 SelectReferralConnectionDialog.SelectConnectionToHandleReferral=Please select a connection
to handle referral: 
 SelectReferralConnectionDialog.SelectReferralConenction=Select Referral Connection
 

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=1483774&r1=1483773&r2=1483774&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:38:47 2013
@@ -16,6 +16,7 @@
 # under the License.
 
 CertificateInfoDialog.CertificateViewer=Zertifikat Ansicht
+
 CertificateTrustDialog.CertificateTrust=Ung\u00FCltiges Zertifikat
 CertificateTrustDialog.InvalidCertificate=''{0}'' benutzt ein ung\u00FCltiges Zertifikat:
 CertificateTrustDialog.NoValidCertificationPath=- Der Aussteller des Zertifikates ist unbekannt
@@ -31,6 +32,13 @@ CertificateTrustDialog.AlwaysTrust=Diese
 
 PasswordDialog.ShowPassword=Zeigen Passwort
 
+ResetPasswordDialog.CurrentPassword=Aktuelles Passwort
+ResetPasswordDialog.CurrentPasswordColon=Aktuelles Passwort:
+ResetPasswordDialog.NewPassword=Neues Passwort
+ResetPasswordDialog.NewPasswordColon=Neues Passwort:
+ResetPasswordDialog.ShowPassword=Zeigen Passwort
+ResetPasswordDialog.VerifyNewPasswordColon=Verifiziere Passwort\:
+
 SelectReferralConnectionDialog.SelectConnectionToHandleReferral=Bitte w\u00E4hlen Sie den
Verweis verwaltende Verbindung aus: 
 SelectReferralConnectionDialog.SelectReferralConenction=W\u00E4hlen Sie die verweisende Verbindung
aus
 

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=1483774&r1=1483773&r2=1483774&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:38:47 2013
@@ -32,6 +32,13 @@ CertificateTrustDialog.AlwaysTrust=Toujo
 
 PasswordDialog.ShowPassword=Afficher le mot de passe
 
+ResetPasswordDialog.CurrentPassword=Mot de passe actuel
+ResetPasswordDialog.CurrentPasswordColon=Mot de passe actuel:
+ResetPasswordDialog.NewPassword=Nouveau mot de passe
+ResetPasswordDialog.NewPasswordColon=Nouveau mot de passe:
+ResetPasswordDialog.ShowPassword=Afficher le mot de passe
+ResetPasswordDialog.VerifyNewPasswordColon=V\u00E9rifier le mot de passe:
+
 SelectReferralConnectionDialog.SelectConnectionToHandleReferral=Veuillez s\u00E9lectionner
une connexion vers un referral: 
 SelectReferralConnectionDialog.SelectReferralConenction=S\u00E9lectionnez la connexion vers
le referral de votre choix
 



Mime
View raw message