directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1025972 - in /directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui: ./ dialogs/
Date Thu, 21 Oct 2010 12:44:06 GMT
Author: pamarcelot
Date: Thu Oct 21 12:44:05 2010
New Revision: 1025972

URL: http://svn.apache.org/viewvc?rev=1025972&view=rev
Log:
Improved message in the credentials dialog.
Changed the '*' (star) character by the standard '•' (dot) character, already used in the
other dialogs.

Modified:
    directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
    directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/CredentialsDialog.java
    directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties
    directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties
    directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties

Modified: directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java?rev=1025972&r1=1025971&r2=1025972&view=diff
==============================================================================
--- directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
(original)
+++ directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/UIAuthHandler.java
Thu Oct 21 12:44:05 2010
@@ -63,10 +63,10 @@ public class UIAuthHandler implements IA
                 {
                     CredentialsDialog dialog = new CredentialsDialog(
                         PlatformUI.getWorkbench().getDisplay().getActiveShell(),
-                        NLS
-                            .bind(
-                                Messages.getString( "UIAuthHandler.EnterPasswordFor" ), new
String[] { connectionParameter.getName() } ), //$NON-NLS-1$
-                        Messages.getString( "UIAuthHandler.PleaseEnterPasswordOfUser" ) +
connectionParameter.getBindPrincipal() + ":", "", null ); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
+                        NLS.bind(
+                            Messages.getString( "UIAuthHandler.EnterPasswordFor" ), new String[]
{ connectionParameter.getName() } ), //$NON-NLS-1$
+                        NLS.bind(
+                            Messages.getString( "UIAuthHandler.PleaseEnterPasswordOfUser"
), connectionParameter.getBindPrincipal() ), "", null ); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
                     if ( dialog.open() == CredentialsDialog.OK )
                     {
                         pw[0] = dialog.getValue();

Modified: directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/CredentialsDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/CredentialsDialog.java?rev=1025972&r1=1025971&r2=1025972&view=diff
==============================================================================
--- directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/CredentialsDialog.java
(original)
+++ directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/dialogs/CredentialsDialog.java
Thu Oct 21 12:44:05 2010
@@ -58,8 +58,7 @@ public class CredentialsDialog extends I
     protected Control createDialogArea( Composite parent )
     {
         Composite composite = ( Composite ) super.createDialogArea( parent );
-        super.getText().setEchoChar( '*' );
+        super.getText().setEchoChar( '\u2022' );
         return composite;
     }
-
 }

Modified: directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties?rev=1025972&r1=1025971&r2=1025972&view=diff
==============================================================================
--- directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties
(original)
+++ directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages.properties
Thu Oct 21 12:44:05 2010
@@ -19,4 +19,4 @@ ConnectionParameterPageManager.UnableCre
 ConnectionUIPlugin.UnableGetPluginProperties=Unable to get the plugin properties.
 ExceptionHandler.Error=Error
 UIAuthHandler.EnterPasswordFor=Enter Password for "{0}"
-UIAuthHandler.PleaseEnterPasswordOfUser=Please enter password of user 
+UIAuthHandler.PleaseEnterPasswordOfUser=Please enter password of user "{0}":

Modified: directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties?rev=1025972&r1=1025971&r2=1025972&view=diff
==============================================================================
--- directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties
(original)
+++ directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_de.properties
Thu Oct 21 12:44:05 2010
@@ -19,4 +19,4 @@ ConnectionParameterPageManager.UnableCre
 ConnectionUIPlugin.UnableGetPluginProperties=Plugin Eigenschaften sind nicht auffindbar.
 ExceptionHandler.Error=Fehler
 UIAuthHandler.EnterPasswordFor=Passwort f\u00FCr "{0}" eingeben
-UIAuthHandler.PleaseEnterPasswordOfUser=Bitte Passwort f\u00FCr Benutzer eingeben
+UIAuthHandler.PleaseEnterPasswordOfUser=Bitte Passwort f\u00FCr Benutzer "{0}" eingeben:

Modified: directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties?rev=1025972&r1=1025971&r2=1025972&view=diff
==============================================================================
--- directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties
(original)
+++ directory/studio/branches/studio-connection-refactoring/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/messages_fr.properties
Thu Oct 21 12:44:05 2010
@@ -19,4 +19,4 @@ ConnectionParameterPageManager.UnableCre
 ConnectionUIPlugin.UnableGetPluginProperties=Impossible de r\u00E9cup\u00E9rer les propri\u00E9t\u00E9s
du plugin
 ExceptionHandler.Error=Erreur
 UIAuthHandler.EnterPasswordFor=Veuillez entrer le mot de passe pour "{0}"
-UIAuthHandler.PleaseEnterPasswordOfUser=Veuillez entrer le mot de passe de l'utilisateur

+UIAuthHandler.PleaseEnterPasswordOfUser=Veuillez entrer le mot de passe de l'utilisateur
"{0}" :



Mime
View raw message