You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2010/04/26 13:25:45 UTC
svn commit: r938004 -
/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/
Author: pamarcelot
Date: Mon Apr 26 11:25:44 2010
New Revision: 938004
URL: http://svn.apache.org/viewvc?rev=938004&view=rev
Log:
Part of a fix for DIRSTUDIO-653 (The 'Choose' text for buttons on the AT and OC selection dialog has not been extracted for localization).
Applying patch from Keheliya Gallaba.
German and french translations still pending.
Modified:
directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties
directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties
directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_fr.properties
Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java?rev=938004&r1=938003&r2=938004&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/AttributeTypeSelectionDialog.java Mon Apr 26 11:25:44 2010
@@ -220,7 +220,8 @@ public class AttributeTypeSelectionDialo
*/
protected void createButtonsForButtonBar( Composite parent )
{
- chooseButton = createButton( parent, IDialogConstants.OK_ID, "Choose", true ); //$NON-NLS-1$
+ chooseButton = createButton( parent, IDialogConstants.OK_ID, Messages
+ .getString( "AttributeTypeSelectionDialog.Choose" ), true ); //$NON-NLS-1$
createButton( parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false );
StructuredSelection selection = ( StructuredSelection ) attributeTypesTableViewer.getSelection();
Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java?rev=938004&r1=938003&r2=938004&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/ObjectClassSelectionDialog.java Mon Apr 26 11:25:44 2010
@@ -220,7 +220,8 @@ public class ObjectClassSelectionDialog
*/
protected void createButtonsForButtonBar( Composite parent )
{
- chooseButton = createButton( parent, IDialogConstants.OK_ID, "Choose", true ); //$NON-NLS-1$
+ chooseButton = createButton( parent, IDialogConstants.OK_ID, Messages
+ .getString( "ObjectClassSelectionDialog.Choose" ), true ); //$NON-NLS-1$
createButton( parent, IDialogConstants.CANCEL_ID, IDialogConstants.CANCEL_LABEL, false );
StructuredSelection selection = ( StructuredSelection ) objectClassesTableViewer.getSelection();
Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties?rev=938004&r1=938003&r2=938004&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages.properties Mon Apr 26 11:25:44 2010
@@ -20,6 +20,7 @@ AttributeTypeSelectionDialog.InvalidSele
AttributeTypeSelectionDialog.MatchingTypes=Matching attribute type(s)
AttributeTypeSelectionDialog.MustChooseType=You have to choose an attribute type
AttributeTypeSelectionDialog.TypeSelection=Attribute Type Selection
+AttributeTypeSelectionDialog.Choose=Choose
AttributeTypeSelectionDialogLabelProvider.None=(None) - ({0})
EditAliasesDialog.Add=Add...
EditAliasesDialog.Aliases=Aliases:
@@ -33,6 +34,7 @@ ObjectClassSelectionDialog.ClassSelectio
ObjectClassSelectionDialog.InvalidSelection=Invalid Selection
ObjectClassSelectionDialog.MatchingClasses=Matching object class(es)
ObjectClassSelectionDialog.MustChooseClass=You have to choose an object class
+ObjectClassSelectionDialog.Choose=Choose
ObjectClassSelectionDialogLabelProvider.None=(None) - ({0})
PreviousSearchesDialog.Open=Open
PreviousSearchesDialog.Previous=Previous Searches
Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties?rev=938004&r1=938003&r2=938004&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_de.properties Mon Apr 26 11:25:44 2010
@@ -20,6 +20,7 @@ AttributeTypeSelectionDialog.InvalidSele
AttributeTypeSelectionDialog.MatchingTypes=Passend Attribut Typ(en)
AttributeTypeSelectionDialog.MustChooseType=Es muss ein Attribut Typ ausgew\u00E4hlt werden
AttributeTypeSelectionDialog.TypeSelection=Auswahl Attribute Typ
+AttributeTypeSelectionDialog.Choose=TODO:Choose
AttributeTypeSelectionDialogLabelProvider.None=(Keine) - ({0})
EditAliasesDialog.Add=Hinzuf\u00FCgen...
EditAliasesDialog.Aliases=Aliase\:
@@ -33,6 +34,7 @@ ObjectClassSelectionDialog.ClassSelectio
ObjectClassSelectionDialog.InvalidSelection=Ung\u00FCltige Auswahl
ObjectClassSelectionDialog.MatchingClasses=Passende Objektklasse(n)
ObjectClassSelectionDialog.MustChooseClass=Es muss eine Objektklasse ausgew\u00E4hlt werden
+ObjectClassSelectionDialog.Choose=TODO:Choose
ObjectClassSelectionDialogLabelProvider.None=(Keine) - ({0})
PreviousSearchesDialog.Open=\u00D6ffnen
PreviousSearchesDialog.Previous=Fr\u00FChere Suchen
Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_fr.properties?rev=938004&r1=938003&r2=938004&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_fr.properties (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/dialogs/messages_fr.properties Mon Apr 26 11:25:44 2010
@@ -20,6 +20,7 @@ AttributeTypeSelectionDialog.InvalidSele
AttributeTypeSelectionDialog.MatchingTypes=Types d'attributs correspondant
AttributeTypeSelectionDialog.MustChooseType=Vous devez choisir un type d'attribut
AttributeTypeSelectionDialog.TypeSelection=S\u00E9lection de type d'attribut
+AttributeTypeSelectionDialog.Choose=TODO:Choose
AttributeTypeSelectionDialogLabelProvider.None=(Pas de nom) - ({0})
EditAliasesDialog.Add=Ajouter...
EditAliasesDialog.Aliases=Alias :
@@ -33,6 +34,7 @@ ObjectClassSelectionDialog.ClassSelectio
ObjectClassSelectionDialog.InvalidSelection=S\u00E9lection invalide
ObjectClassSelectionDialog.MatchingClasses=Classe(s) d'objet correspondante(s)
ObjectClassSelectionDialog.MustChooseClass=Vous devez choisir une classe d'objet
+ObjectClassSelectionDialog.Choose=TODO:Choose
ObjectClassSelectionDialogLabelProvider.None=(Pas de nom) - ({0})
PreviousSearchesDialog.Open=Ouvrir
PreviousSearchesDialog.Previous=Recherches pr\u00E9c\u00E9dentes