directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1432075 - in /directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui: preferences/ widgets/ wizards/
Date Fri, 11 Jan 2013 14:56:05 GMT
Author: pamarcelot
Date: Fri Jan 11 14:56:05 2013
New Revision: 1432075

URL: http://svn.apache.org/viewvc?rev=1432075&view=rev
Log:
Externalized and translated strings.

Modified:
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/ConnectionsPreferencePage.java
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_de.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_fr.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages_fr.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/ExportCertificateWizardPage.java
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_de.properties
    directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_fr.properties

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/ConnectionsPreferencePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/ConnectionsPreferencePage.java?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/ConnectionsPreferencePage.java
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/ConnectionsPreferencePage.java
Fri Jan 11 14:56:05 2013
@@ -88,10 +88,10 @@ public class ConnectionsPreferencePage e
         BaseWidgetUtils.createSpacer( composite, 1 );
 
         Group defaultNetworkProviderGroup = BaseWidgetUtils.createGroup(
-            BaseWidgetUtils.createColumnContainer( composite, 1, 1 ), "Default Network Provider",
1 );
+            BaseWidgetUtils.createColumnContainer( composite, 1, 1 ), Messages.getString("ConnectionsPreferencePage.DefaultNetworkProvider"),
1 ); //$NON-NLS-1$
         NetworkProvider defaultNetworkProvider = ConnectionCorePlugin.getDefault().getDefaultNetworkProvider();
         String[] networkProviders = new String[]
-            { "Apache Directory LDAP Client API", "JNDI (Java Naming and Directory Interface)"
};
+            { "Apache Directory LDAP Client API", "JNDI (Java Naming and Directory Interface)"
}; //$NON-NLS-1$ //$NON-NLS-2$
         networkProviderCombo = BaseWidgetUtils.createReadonlyCombo( defaultNetworkProviderGroup,
             networkProviders, 0, 2 );
         networkProviderCombo.select( defaultNetworkProvider == NetworkProvider.APACHE_DIRECTORY_LDAP_API
? 0

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages.properties?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages.properties
Fri Jan 11 14:56:05 2013
@@ -14,16 +14,18 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+
+CertificateValidationPreferencePage.CertificateValidation=Certificate Validation
+CertificateValidationPreferencePage.ValidateCertificates=Validate certificates for secure
LDAP connections
+CertificateValidationPreferencePage.PermanentTrusted=Permanent Trusted
+CertificateValidationPreferencePage.TemporaryTrusted=Temporary Trusted
+
 ConnectionsPreferencePage.Connections=Connections
 ConnectionsPreferencePage.GeneralSettings=General settings for LDAP connections:
 ConnectionsPreferencePage.ContextFactory=JNDI LDAP context factory
+ConnectionsPreferencePage.DefaultNetworkProvider=Default Network Provider
 ConnectionsPreferencePage.SystemDetectedContextFactory=Note: The system detected ''{0}''.
 ConnectionsPreferencePage.Krb5Settings=Kerberos Settings
 ConnectionsPreferencePage.UseKrb5SystemProperties=Use Kerberos System Properties
 ConnectionsPreferencePage.UseKrb5SystemPropertiesTooltip=If enabled you need to configure
Kerberos (GSSAPI) authentication using system properties, see http://java.sun.com/products/jndi/tutorial/ldap/security/gssapi.html
for details.
-ConnectionsPreferencePage.Krb5LoginModule=Kerberos Login Module:
-
-CertificateValidationPreferencePage.CertificateValidation=Certificate Validation
-CertificateValidationPreferencePage.ValidateCertificates=Validate certificates for secure
LDAP connections
-CertificateValidationPreferencePage.PermanentTrusted=Permanent Trusted
-CertificateValidationPreferencePage.TemporaryTrusted=Temporary Trusted
\ No newline at end of file
+ConnectionsPreferencePage.Krb5LoginModule=Kerberos Login Module:
\ No newline at end of file

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_de.properties?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_de.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_de.properties
Fri Jan 11 14:56:05 2013
@@ -1,4 +1,3 @@
-#Generated by ResourceBundle Editor (http://eclipse-rbe.sourceforge.net)
 # 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
@@ -23,6 +22,7 @@ CertificateValidationPreferencePage.Vali
 
 ConnectionsPreferencePage.Connections                  = Verbindungen
 ConnectionsPreferencePage.ContextFactory               = JNDI LDAP Context Factory
+ConnectionsPreferencePage.DefaultNetworkProvider       = Default Network Provider
 ConnectionsPreferencePage.GeneralSettings              = Allgemeine Einstellungen f\u00FCr
LDAP Verbindungen:
 ConnectionsPreferencePage.SystemDetectedContextFactory = Hinweis: Das System hat ''{0}''
ermittelt.
 ConnectionsPreferencePage.Krb5Settings=Kerberos Einstellungen

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_fr.properties?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_fr.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/preferences/messages_fr.properties
Fri Jan 11 14:56:05 2013
@@ -1,4 +1,3 @@
-#Generated by ResourceBundle Editor (http://eclipse-rbe.sourceforge.net)
 # 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
@@ -23,6 +22,7 @@ CertificateValidationPreferencePage.Vali
 
 ConnectionsPreferencePage.Connections                  = Connexions
 ConnectionsPreferencePage.ContextFactory               = Fournisseur de contexte JNDI LDAP
+ConnectionsPreferencePage.DefaultNetworkProvider       = Fournisseur r\u00E9seau par d\u00E9faut
 ConnectionsPreferencePage.GeneralSettings              = R\u00E9glages g\u00E9n\u00E9raux
pour les connexions LDAP:
 ConnectionsPreferencePage.SystemDetectedContextFactory = Note: Le syst\u00E8me a d\u00E9tect\u00E9
''{0}''.
 ConnectionsPreferencePage.Krb5Settings=Param\u00E8tres Kerberos

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/NetworkParameterPage.java
Fri Jan 11 14:56:05 2013
@@ -279,8 +279,8 @@ public class NetworkParameterPage extend
         }
 
         String[] networkProviders = new String[]
-            { "Apache Directory LDAP Client API", "JNDI (Java Naming and Directory Interface)"
};
-        BaseWidgetUtils.createLabel( groupComposite, "Provider:", 1 );
+            { "Apache Directory LDAP Client API", "JNDI (Java Naming and Directory Interface)"
}; //$NON-NLS-1$ //$NON-NLS-2$
+        BaseWidgetUtils.createLabel( groupComposite, Messages.getString("NetworkParameterPage.Provider"),
1 ); //$NON-NLS-1$
         networkProviderCombo = BaseWidgetUtils.createReadonlyCombo( groupComposite, networkProviders,
0, 2 );
         networkProviderCombo
             .select( ConnectionCorePlugin.getDefault().getDefaultNetworkProvider() == NetworkProvider.APACHE_DIRECTORY_LDAP_API
? 0

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages.properties?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages.properties
Fri Jan 11 14:56:05 2013
@@ -121,6 +121,7 @@ NetworkParameterPage.PleaseEnterConnecti
 NetworkParameterPage.PleaseEnterHostname          = Please enter a hostname.
 NetworkParameterPage.PleaseEnterPort              = Please enter a port. The default LDAP
port is 389.
 NetworkParameterPage.Port                         = Port:
+NetworkParameterPage.Provider                     = Provider:
 NetworkParameterPage.ReadOnly                     = Read-Only (prevents any add, delete,
modify or rename operation) 
 NetworkParameterPage.UseSSLEncryption             = Use SSL encryption (ldaps://)
 NetworkParameterPage.UseStartTLS                  = Use StartTLS extension

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages_fr.properties?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages_fr.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/messages_fr.properties
Fri Jan 11 14:56:05 2013
@@ -118,6 +118,7 @@ NetworkParameterPage.NoEncryption       
 NetworkParameterPage.PleaseEnterConnectionName    = Veuillez entrer un nom de connexion.
 NetworkParameterPage.PleaseEnterHostname          = Veuillez entrer un nom d'h\u00F4te.
 NetworkParameterPage.PleaseEnterPort              = Veuillez entrer un port. Le port par
d\u00E9fault pour LDAP est 389.
+NetworkParameterPage.Provider                     = Fournisseur:
 NetworkParameterPage.ReadOnly                     = Lecture seule (emp\u00E8che toute op\u00E9ration
d'ajout, suppression, modification ou renommage) 
 NetworkParameterPage.UseSSLEncryption             = Utilise l'encryption SSL (ldaps://)
 NetworkParameterPage.UseStartTLS                  = Utilise l'extension StartTLS

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/ExportCertificateWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/ExportCertificateWizardPage.java?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/ExportCertificateWizardPage.java
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/ExportCertificateWizardPage.java
Fri Jan 11 14:56:05 2013
@@ -148,9 +148,9 @@ public class ExportCertificateWizardPage
                     switch ( format )
                     {
                         case DER:
-                            return "X509 Certificat DER";
+                            return Messages.getString("ExportCertificateWizardPage.X509CertificateDER");
//$NON-NLS-1$
                         case PEM:
-                            return "X509 Certificat PEM";
+                            return Messages.getString("ExportCertificateWizardPage.X509CertificatePEM");
//$NON-NLS-1$
                     }
                 }
 

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages.properties?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages.properties
Fri Jan 11 14:56:05 2013
@@ -31,4 +31,6 @@ ExportCertificateWizardPage.ExportCertif
 ExportCertificateWizardPage.File=File
 ExportCertificateWizardPage.Format=Format
 ExportCertificateWizardPage.OverwriteExistingFile=O&verwrite existing file
-ExportCertificateWizardPage.PleaseSelectFileAndFormat=Please select the file and format you
want to export the certificate to.
\ No newline at end of file
+ExportCertificateWizardPage.PleaseSelectFileAndFormat=Please select the file and format you
want to export the certificate to.
+ExportCertificateWizardPage.X509CertificateDER=X509 Certificate DER
+ExportCertificateWizardPage.X509CertificatePEM=X509 Certificate PEM

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_de.properties?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_de.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_de.properties
Fri Jan 11 14:56:05 2013
@@ -32,3 +32,5 @@ ExportCertificateWizardPage.File=Datei
 ExportCertificateWizardPage.Format=Format
 ExportCertificateWizardPage.OverwriteExistingFile=Bestehende Datei &\u00FCberschreiben
 ExportCertificateWizardPage.PleaseSelectFileAndFormat=TODO:Please select the file and format
you want to export the certificate to.
+ExportCertificateWizardPage.X509CertificateDER=TODO:X509 Certificate DER
+ExportCertificateWizardPage.X509CertificatePEM=TODO:X509 Certificate PEM
\ No newline at end of file

Modified: directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_fr.properties?rev=1432075&r1=1432074&r2=1432075&view=diff
==============================================================================
--- directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_fr.properties
(original)
+++ directory/studio/trunk/plugins/connection.ui/src/main/java/org/apache/directory/studio/connection/ui/wizards/messages_fr.properties
Fri Jan 11 14:56:05 2013
@@ -32,3 +32,5 @@ ExportCertificateWizardPage.File=Fichier
 ExportCertificateWizardPage.Format=Format
 ExportCertificateWizardPage.OverwriteExistingFile=Ecraser le fichier existant
 ExportCertificateWizardPage.PleaseSelectFileAndFormat=Veuillez s\u00E9lectionner le fichier
et le format dans lequel vous souhaitez exporter le certificat.
+ExportCertificateWizardPage.X509CertificateDER=Certificat X509  DER
+ExportCertificateWizardPage.X509CertificatePEM=Certificat X509 PEM



Mime
View raw message