directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r720516 - in /directory/studio/trunk/schemaeditor/src/main: java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ java/org/apache/directory/studio/s...
Date Tue, 25 Nov 2008 15:55:56 GMT
Author: felixk
Date: Tue Nov 25 07:55:55 2008
New Revision: 720516

URL: http://svn.apache.org/viewvc?rev=720516&view=rev
Log:
More Externalize Strings.

Still todo
- preferences
- search
- views
- widget
- wizards
- wrappers

Added:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java   (with props)
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java   (with props)
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java   (with props)
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/attributetype/
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/attributetype/messages.properties   (with props)
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/objectclass/
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/objectclass/messages.properties   (with props)
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/schema/
    directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/schema/messages.properties   (with props)
Modified:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESuperiorComboLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESyntaxComboLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditor.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorInput.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorOverviewPage.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorSourceCodePage.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorUsedByPage.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditor.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorAttributesTableLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorInput.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorSuperiorsTableLabelProvider.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboLabelProvider.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboLabelProvider.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATEMatchingRulesComboLabelProvider.java Tue Nov 25 07:55:55 2008
@@ -45,11 +45,11 @@
             String name = mr.getName();
             if ( name != null )
             {
-                return name + "  -  (" + mr.getOid() + ")";
+                return name + "  -  (" + mr.getOid() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
             }
             else
             {
-                return "(None)  -  (" + mr.getOid() + ")";
+                return Messages.getString("ATEMatchingRulesComboLabelProvider.None") + mr.getOid() + ")"; //$NON-NLS-2$
             }
         }
         else if ( obj instanceof NonExistingMatchingRule )

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESuperiorComboLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESuperiorComboLabelProvider.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESuperiorComboLabelProvider.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESuperiorComboLabelProvider.java Tue Nov 25 07:55:55 2008
@@ -46,11 +46,11 @@
             String[] names = at.getNamesRef();
             if ( ( names != null ) && ( names.length > 0 ) )
             {
-                return ViewUtils.concateAliases( names ) + "  -  (" + at.getOid() + ")";
+                return ViewUtils.concateAliases( names ) + "  -  (" + at.getOid() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
             }
             else
             {
-                return "(None)  -  (" + at.getOid() + ")";
+                return Messages.getString("ATESuperiorComboLabelProvider.None") + at.getOid() + ")"; //$NON-NLS-2$
             }
         }
         else if ( obj instanceof NonExistingAttributeType )

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESyntaxComboLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESyntaxComboLabelProvider.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESyntaxComboLabelProvider.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/ATESyntaxComboLabelProvider.java Tue Nov 25 07:55:55 2008
@@ -45,11 +45,11 @@
             String name = syntax.getName();
             if ( name != null )
             {
-                return name + "  -  (" + syntax.getOid() + ")";
+                return name + "  -  (" + syntax.getOid() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
             }
             else
             {
-                return "(None)  -  (" + syntax.getOid() + ")";
+                return Messages.getString("ATESyntaxComboLabelProvider.None") + syntax.getOid() + ")"; //$NON-NLS-2$
             }
         }
         else if ( obj instanceof NonExistingSyntax )

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditor.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditor.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditor.java Tue Nov 25 07:55:55 2008
@@ -88,7 +88,7 @@
             {
                 if ( !sourceCode.canLeaveThePage() )
                 {
-                    notifyError( "The editor of the Source Code contains errors, you cannot return to the Overview page until these errors are fixed." );
+                    notifyError( Messages.getString("AttributeTypeEditor.CodeErrors") );
                     return;
                 }
 
@@ -193,7 +193,7 @@
         // Verifying if there is an error on the source code page
         if ( !sourceCode.canLeaveThePage() )
         {
-            notifyError( "The editor of the Source Code contains errors, you cannot save the attribute type until these errors are fixed." );
+            notifyError( Messages.getString("AttributeTypeEditor.AttributeErrors") );
             monitor.setCanceled( true );
             return;
         }

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorInput.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorInput.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorInput.java Tue Nov 25 07:55:55 2008
@@ -99,7 +99,7 @@
      */
     public String getToolTipText()
     {
-        return getName() + " from the " + attributeType.getSchema() + " schema";
+        return getName() + Messages.getString("AttributeTypeEditorInput.FromSchemaBegin") + attributeType.getSchema() + Messages.getString("AttributeTypeEditorInput.FromSchemaEnd");
     }
 
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorOverviewPage.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorOverviewPage.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorOverviewPage.java Tue Nov 25 07:55:55 2008
@@ -79,9 +79,6 @@
     /** The page ID*/
     public static final String ID = AttributeTypeEditor.ID + ".overviewPage"; //$NON-NLS-1$
 
-    /** The page title */
-    public static String TITLE = "Overview";
-
     /** The original object class */
     private AttributeTypeImpl originalAttributeType;
 
@@ -274,7 +271,7 @@
                 }
                 else
                 {
-                    aliasesLabel.setText( "(None)" );
+                    aliasesLabel.setText( Messages.getString("AttributeTypeEditorOverviewPage.None") );
                 }
                 setEditorDirty();
             }
@@ -302,13 +299,13 @@
                 else
                 {
                     oidText.setForeground( ViewUtils.COLOR_RED );
-                    oidText.setToolTipText( "An element with same oid already exists." );
+                    oidText.setToolTipText( Messages.getString("AttributeTypeEditorOverviewPage.ElementOIDExists") );
                 }
             }
             else
             {
                 oidText.setForeground( ViewUtils.COLOR_RED );
-                oidText.setToolTipText( "Malformed OID." );
+                oidText.setToolTipText( Messages.getString("AttributeTypeEditorOverviewPage.MalformedOID") );
             }
         }
     };
@@ -634,7 +631,7 @@
      */
     public AttributeTypeEditorOverviewPage( FormEditor editor )
     {
-        super( editor, ID, TITLE );
+        super( editor, ID, Messages.getString("AttributeTypeEditorOverviewPage.Overview") );
         schemaHandler = Activator.getDefault().getSchemaHandler();
         schemaHandler.addListener( schemaHandlerListener );
     }
@@ -672,7 +669,7 @@
         addListeners();
 
         // Help Context for Dynamic Help
-        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "attribute_type_editor" );
+        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "attribute_type_editor" ); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
 
@@ -689,8 +686,8 @@
         // General Information Section
         Section section_general_information = toolkit.createSection( parent, Section.DESCRIPTION | Section.EXPANDED
             | Section.TITLE_BAR );
-        section_general_information.setDescription( "Specify general information (aliases, OID, etc.)." );
-        section_general_information.setText( "General information" );
+        section_general_information.setDescription( Messages.getString("AttributeTypeEditorOverviewPage.SpecifyGeneralInformation") );
+        section_general_information.setText( Messages.getString("AttributeTypeEditorOverviewPage.GeneralInformation") );
 
         // Creating the layout of the section
         Composite client_general_information = toolkit.createComposite( section_general_information );
@@ -703,32 +700,32 @@
 
         // Adding elements to the section
         // ALIASES Button
-        toolkit.createLabel( client_general_information, "Aliases:" );
+        toolkit.createLabel( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.Aliases") );
         aliasesLabel = toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
         aliasesLabel.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false, 2, 1 ) );
         toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
-        aliasesButton = toolkit.createButton( client_general_information, "Edit Aliases", SWT.PUSH );
+        aliasesButton = toolkit.createButton( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.EditAliases"), SWT.PUSH );
         aliasesButton.setLayoutData( new GridData( SWT.NONE, SWT.NONE, false, false, 2, 1 ) );
 
         // OID Field
-        toolkit.createLabel( client_general_information, "OID:" );
+        toolkit.createLabel( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.OID") );
         oidText = toolkit.createText( client_general_information, "" ); //$NON-NLS-1$
         oidText.setLayoutData( new GridData( SWT.FILL, 0, true, false, 2, 1 ) );
 
         // DESCRIPTION Field
-        toolkit.createLabel( client_general_information, "Description:" );
+        toolkit.createLabel( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.Description") );
         descriptionText = toolkit.createText( client_general_information, "", SWT.MULTI | SWT.V_SCROLL ); //$NON-NLS-1$
         GridData descriptionGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         descriptionGridData.heightHint = 42;
         descriptionText.setLayoutData( descriptionGridData );
 
         // SCHEMA Field
-        schemaLink = toolkit.createHyperlink( client_general_information, "Schema:", SWT.WRAP );
+        schemaLink = toolkit.createHyperlink( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.Schema"), SWT.WRAP );
         schemaLabel = toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
         schemaLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // SUP Combo
-        supLabel = toolkit.createHyperlink( client_general_information, "Superior type:", SWT.WRAP );
+        supLabel = toolkit.createHyperlink( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.SuperiorType"), SWT.WRAP );
         supCombo = new Combo( client_general_information, SWT.READ_ONLY | SWT.SINGLE );
         supCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         supComboViewer = new ComboViewer( supCombo );
@@ -736,13 +733,13 @@
         supComboViewer.setLabelProvider( new ATESuperiorComboLabelProvider() );
 
         // USAGE Combo
-        toolkit.createLabel( client_general_information, "Usage:" );
+        toolkit.createLabel( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.Usage") );
         usageCombo = new Combo( client_general_information, SWT.READ_ONLY | SWT.SINGLE );
         usageCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         initUsageCombo();
 
         // SYNTAX Combo
-        toolkit.createLabel( client_general_information, "Syntax:" );
+        toolkit.createLabel( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.Syntax") );
         syntaxCombo = new Combo( client_general_information, SWT.READ_ONLY | SWT.SINGLE );
         syntaxCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         syntaxComboViewer = new ComboViewer( syntaxCombo );
@@ -750,22 +747,22 @@
         syntaxComboViewer.setLabelProvider( new ATESyntaxComboLabelProvider() );
 
         // SYNTAX LENGTH Field
-        toolkit.createLabel( client_general_information, "Syntax length:" );
+        toolkit.createLabel( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.SyntaxLength") );
         syntaxLengthText = toolkit.createText( client_general_information, "" ); //$NON-NLS-1$
         syntaxLengthText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // OBSOLETE Checkbox
         toolkit.createLabel( client_general_information, "" ); // Filling the first column //$NON-NLS-1$
-        obsoleteCheckbox = toolkit.createButton( client_general_information, "Obsolete", SWT.CHECK );
+        obsoleteCheckbox = toolkit.createButton( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.Obsolete"), SWT.CHECK );
         obsoleteCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // SINGLE-VALUE Checkbox
-        singleValueCheckbox = toolkit.createButton( client_general_information, "Single-Value", SWT.CHECK );
+        singleValueCheckbox = toolkit.createButton( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.SingleValue"), SWT.CHECK );
         singleValueCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // COLLECTIVE Checkbox
         toolkit.createLabel( client_general_information, "" ); // Filling the first column //$NON-NLS-1$
-        collectiveCheckbox = toolkit.createButton( client_general_information, "Collective", SWT.CHECK );
+        collectiveCheckbox = toolkit.createButton( client_general_information, Messages.getString("AttributeTypeEditorOverviewPage.Collective"), SWT.CHECK );
         collectiveCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // NO-USER-MODIFICATION Checkbox
@@ -788,8 +785,8 @@
         // Matching Rules Section
         Section section_matching_rules = toolkit.createSection( parent, Section.DESCRIPTION | Section.EXPANDED
             | Section.TITLE_BAR );
-        section_matching_rules.setDescription( "Specify matching rules (Equality, Ordering & Substring)." );
-        section_matching_rules.setText( "Matching Rules" );
+        section_matching_rules.setDescription( Messages.getString("AttributeTypeEditorOverviewPage.SpecifyMatchingRules") );
+        section_matching_rules.setText( Messages.getString("AttributeTypeEditorOverviewPage.MatchingRules") );
 
         // Creating the layout of the section
         Composite client_matching_rules = toolkit.createComposite( section_matching_rules );
@@ -801,7 +798,7 @@
         section_matching_rules.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
 
         // EQUALITY Combo
-        toolkit.createLabel( client_matching_rules, "Equality:" );
+        toolkit.createLabel( client_matching_rules, Messages.getString("AttributeTypeEditorOverviewPage.Equality") );
         equalityCombo = new Combo( client_matching_rules, SWT.READ_ONLY | SWT.SINGLE );
         equalityCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         equalityComboViewer = new ComboViewer( equalityCombo );
@@ -809,7 +806,7 @@
         equalityComboViewer.setLabelProvider( new ATEMatchingRulesComboLabelProvider() );
 
         // ORDERING Combo
-        toolkit.createLabel( client_matching_rules, "Ordering:" );
+        toolkit.createLabel( client_matching_rules, Messages.getString("AttributeTypeEditorOverviewPage.Ordering") );
         orderingCombo = new Combo( client_matching_rules, SWT.READ_ONLY | SWT.SINGLE );
         orderingCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         orderingComboViewer = new ComboViewer( orderingCombo );
@@ -817,7 +814,7 @@
         orderingComboViewer.setLabelProvider( new ATEMatchingRulesComboLabelProvider() );
 
         // SUBSTRING Combo
-        toolkit.createLabel( client_matching_rules, "Substring:" );
+        toolkit.createLabel( client_matching_rules, Messages.getString("AttributeTypeEditorOverviewPage.Substring") );
         substringCombo = new Combo( client_matching_rules, SWT.READ_ONLY | SWT.SINGLE );
         substringCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
         substringComboViewer = new ComboViewer( substringCombo );

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorSourceCodePage.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorSourceCodePage.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorSourceCodePage.java Tue Nov 25 07:55:55 2008
@@ -56,9 +56,6 @@
     /** The page ID */
     public static final String ID = AttributeTypeEditor.ID + "sourceCodePage"; //$NON-NLS-1$
 
-    /** The page title */
-    public static String TITLE = "Source Code";
-
     /** The modified attribute type */
     private AttributeTypeImpl modifiedAttributeType;
 
@@ -109,7 +106,7 @@
      */
     public AttributeTypeEditorSourceCodePage( FormEditor editor )
     {
-        super( editor, ID, TITLE );
+        super( editor, ID, Messages.getString("AttributeTypeEditorSourceCodePage.SourceCode") );
     }
 
 
@@ -150,7 +147,7 @@
         schemaSourceViewer.getTextWidget().addModifyListener( schemaSourceViewerListener );
 
         // Help Context for Dynamic Help
-        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "attribute_type_editor" );
+        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "attribute_type_editor" ); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorUsedByPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorUsedByPage.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorUsedByPage.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/AttributeTypeEditorUsedByPage.java Tue Nov 25 07:55:55 2008
@@ -61,9 +61,6 @@
     /** The page ID */
     public static final String ID = AttributeTypeEditor.ID + "usedByPage"; //$NON-NLS-1$
 
-    /** The page title */
-    public static String TITLE = "Used By";
-
     /** The modified attribute type */
     private AttributeTypeImpl modifiedAttributeType;
 
@@ -212,7 +209,7 @@
      */
     public AttributeTypeEditorUsedByPage( FormEditor editor )
     {
-        super( editor, ID, TITLE );
+        super( editor, ID, Messages.getString("AttributeTypeEditorUsedByPage.UsedBy") );
         schemaHandler = Activator.getDefault().getSchemaHandler();
         schemaHandler.addListener( schemaHandlerListener );
     }
@@ -246,7 +243,7 @@
         addListeners();
 
         // Help Context for Dynamic Help
-        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "attribute_type_editor" );
+        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "attribute_type_editor" ); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
 
@@ -266,15 +263,15 @@
         String names[] = modifiedAttributeType.getNamesRef();
         if ( ( names != null ) && ( names.length > 0 ) )
         {
-            mandatoryAttributeSection.setDescription( "The attribute type" + " '" + ViewUtils.concateAliases( names )
-                + "' " + "is used as a mandatory attribute in the following object classes." );
+            mandatoryAttributeSection.setDescription( Messages.getString("AttributeTypeEditorUsedByPage.AttributeTypeMandatoryBegin") + " '" + ViewUtils.concateAliases( names ) //$NON-NLS-2$
+                + "' " + Messages.getString("AttributeTypeEditorUsedByPage.AttributeTypeMandatoryEnd") ); //$NON-NLS-1$
         }
         else
         {
-            mandatoryAttributeSection.setDescription( "The attribute type" + " '" + modifiedAttributeType.getOid()
-                + "' " + "is used as a mandatory attribute in the following object classes." );
+            mandatoryAttributeSection.setDescription( Messages.getString("AttributeTypeEditorUsedByPage.AttributeTypeMandatoryBegin") + " '" + modifiedAttributeType.getOid() //$NON-NLS-2$
+                + "' " + Messages.getString("AttributeTypeEditorUsedByPage.AttributeTypeMandatoryEnd") ); //$NON-NLS-1$
         }
-        mandatoryAttributeSection.setText( "As Mandatory Attribute" );
+        mandatoryAttributeSection.setText( Messages.getString("AttributeTypeEditorUsedByPage.AsMandatoryAttribute") );
 
         // Creating the layout of the section
         Composite mandatoryAttributeSectionClient = toolkit.createComposite( mandatoryAttributeSection );
@@ -309,15 +306,15 @@
         String names[] = modifiedAttributeType.getNamesRef();
         if ( ( names != null ) && ( names.length > 0 ) )
         {
-            optionalAttributeSection.setDescription( "The attribute type" + " '" + ViewUtils.concateAliases( names )
-                + "' " + "is used as an optional attribute in the following object classes." );
+            optionalAttributeSection.setDescription( Messages.getString("AttributeTypeEditorUsedByPage.AttributeTypeOptionalBegin") + " '" + ViewUtils.concateAliases( names ) //$NON-NLS-2$
+                + "' " + Messages.getString("AttributeTypeEditorUsedByPage.AttributeTypeOptionalEnd") ); //$NON-NLS-1$
         }
         else
         {
-            optionalAttributeSection.setDescription( "The attribute type" + " '" + modifiedAttributeType.getOid()
-                + "' " + "is used as an optional attribute in the following object classes." );
+            optionalAttributeSection.setDescription( Messages.getString("AttributeTypeEditorUsedByPage.AttributeTypeOptionalBegin") + " '" + modifiedAttributeType.getOid() //$NON-NLS-2$
+                + "' " + Messages.getString("AttributeTypeEditorUsedByPage.AttributeTypeOptionalEnd") ); //$NON-NLS-1$
         }
-        optionalAttributeSection.setText( "As Optional Attribute" );
+        optionalAttributeSection.setText( Messages.getString("AttributeTypeEditorUsedByPage.AsOptionalAttribute") );
 
         // Creating the layout of the section
         Composite optionalAttributeSectionClient = toolkit.createComposite( optionalAttributeSection );
@@ -337,7 +334,7 @@
 
 
     /**
-     * Fills in the User Iterface.
+     * Fills in the User Interface.
      */
     private void fillInUiFields()
     {

Added: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java?rev=720516&view=auto
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java (added)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java Tue Nov 25 07:55:55 2008
@@ -0,0 +1,50 @@
+/*
+ *  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
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.studio.schemaeditor.view.editors.attributetype;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.editors.attributetype.messages"; //$NON-NLS-1$
+
+    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+
+
+    private Messages()
+    {
+    }
+
+
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/attributetype/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java?rev=720516&view=auto
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java (added)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java Tue Nov 25 07:55:55 2008
@@ -0,0 +1,50 @@
+/*
+ *  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
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.studio.schemaeditor.view.editors.objectclass;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.editors.objectclass.messages"; //$NON-NLS-1$
+
+    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+
+
+    private Messages()
+    {
+    }
+
+
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditor.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditor.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditor.java Tue Nov 25 07:55:55 2008
@@ -87,7 +87,7 @@
             {
                 if ( !sourceCode.canLeaveThePage() )
                 {
-                    notifyError( "The editor of the Source Code contains errors, you cannot return to the Overview page until these errors are fixed." );
+                    notifyError( Messages.getString("ObjectClassEditor.CodeError") );
                     return;
                 }
 
@@ -191,7 +191,7 @@
         // Verifying if there is an error on the source code page
         if ( !sourceCode.canLeaveThePage() )
         {
-            notifyError( "The editor of the Source Code contains errors, you cannot save the object class until these errors are fixed." );
+            notifyError( Messages.getString("ObjectClassEditor.CodeErrorObject") );
             monitor.setCanceled( true );
             return;
         }

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorAttributesTableLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorAttributesTableLabelProvider.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorAttributesTableLabelProvider.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorAttributesTableLabelProvider.java Tue Nov 25 07:55:55 2008
@@ -66,11 +66,11 @@
             String[] names = at.getNamesRef();
             if ( ( names != null ) && ( names.length > 0 ) )
             {
-                return ViewUtils.concateAliases( names ) + "  -  (" + at.getOid() + ")";
+                return ViewUtils.concateAliases( names ) + "  -  (" + at.getOid() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
             }
             else
             {
-                return "(None)  -  (" + at.getOid() + ")";
+                return Messages.getString("ObjectClassEditorAttributesTableLabelProvider.none") + at.getOid() + ")"; //$NON-NLS-2$
             }
         }
         else if ( element instanceof NonExistingAttributeType )

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorInput.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorInput.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorInput.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorInput.java Tue Nov 25 07:55:55 2008
@@ -97,7 +97,7 @@
      */
     public String getToolTipText()
     {
-        return getName() + " from the " + objectClass.getSchema() + " schema";
+        return getName() + Messages.getString("ObjectClassEditorInput.FromSchemaBegin") + objectClass.getSchema() + Messages.getString("ObjectClassEditorInput.FromSchemaEnd");
     }
 
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorOverviewPage.java Tue Nov 25 07:55:55 2008
@@ -89,9 +89,6 @@
     /** The page ID */
     public static final String ID = ObjectClassEditor.ID + "overviewPage"; //$NON-NLS-1$
 
-    /** The page title*/
-    public static final String TITLE = "Overview";
-
     /** The original object class */
     private ObjectClassImpl originalObjectClass;
 
@@ -281,7 +278,7 @@
                 }
                 else
                 {
-                    aliasesLabel.setText( "(None)" );
+                    aliasesLabel.setText( Messages.getString("ObjectClassEditorOverviewPage.None") );
                 }
                 setEditorDirty();
             }
@@ -309,13 +306,13 @@
                 else
                 {
                     oidText.setForeground( ViewUtils.COLOR_RED );
-                    oidText.setToolTipText( "An element with same oid already exists." );
+                    oidText.setToolTipText( Messages.getString("ObjectClassEditorOverviewPage.ElementOIDExists") );
                 }
             }
             else
             {
                 oidText.setForeground( ViewUtils.COLOR_RED );
-                oidText.setToolTipText( "Malformed_OID." );
+                oidText.setToolTipText( Messages.getString("ObjectClassEditorOverviewPage.MalformedOID") );
             }
         }
     };
@@ -813,7 +810,7 @@
      */
     public ObjectClassEditorOverviewPage( FormEditor editor )
     {
-        super( editor, ID, TITLE );
+        super( editor, ID, Messages.getString("ObjectClassEditorOverviewPage.Overview") );
         schemaHandler = Activator.getDefault().getSchemaHandler();
         schemaHandler.addListener( schemaHandlerListener );
     }
@@ -857,7 +854,7 @@
         addListeners();
 
         // Help Context for Dynamic Help
-        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "object_class_editor" );
+        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "object_class_editor" ); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
 
@@ -873,8 +870,8 @@
     {
         // General Information Section
         Section section_general_information = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
-        section_general_information.setDescription( "Specify general information (aliases, OID, etc.)." );
-        section_general_information.setText( "General information" );
+        section_general_information.setDescription( Messages.getString("ObjectClassEditorOverviewPage.SpecifyGeneralInformation") );
+        section_general_information.setText( Messages.getString("ObjectClassEditorOverviewPage.GeneralInformation") );
         section_general_information.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, true ) );
 
         // Creating the layout of the section
@@ -884,32 +881,32 @@
         section_general_information.setClient( client_general_information );
 
         // ALIASES Button
-        toolkit.createLabel( client_general_information, "Aliases:" );
+        toolkit.createLabel( client_general_information, Messages.getString("ObjectClassEditorOverviewPage.Aliases") );
         aliasesLabel = toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
         aliasesLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
-        aliasesButton = toolkit.createButton( client_general_information, "Edit_Aliases", SWT.PUSH );
+        aliasesButton = toolkit.createButton( client_general_information, Messages.getString("ObjectClassEditorOverviewPage.EditAliases"), SWT.PUSH );
         aliasesButton.setLayoutData( new GridData( SWT.NONE, SWT.NONE, false, false, 2, 1 ) );
 
         // OID Field
-        toolkit.createLabel( client_general_information, "OID:" );
+        toolkit.createLabel( client_general_information, Messages.getString("ObjectClassEditorOverviewPage.OID") );
         oidText = toolkit.createText( client_general_information, "" ); //$NON-NLS-1$
         oidText.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // SCHEMA Field
-        schemaLink = toolkit.createHyperlink( client_general_information, "Schema:", SWT.WRAP );
+        schemaLink = toolkit.createHyperlink( client_general_information, Messages.getString("ObjectClassEditorOverviewPage.Schema"), SWT.WRAP );
         schemaLabel = toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
         schemaLabel.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
 
         // DESCRIPTION Field
-        toolkit.createLabel( client_general_information, "Description:" );
+        toolkit.createLabel( client_general_information, Messages.getString("ObjectClassEditorOverviewPage.Description") );
         descriptionText = toolkit.createText( client_general_information, "", SWT.MULTI | SWT.V_SCROLL ); //$NON-NLS-1$
         GridData descriptionGridData = new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 );
         descriptionGridData.heightHint = 42;
         descriptionText.setLayoutData( descriptionGridData );
 
         // SUPERIORS Table
-        toolkit.createLabel( client_general_information, "Superior classes:" );
+        toolkit.createLabel( client_general_information, Messages.getString("ObjectClassEditorOverviewPage.SuperiorClasses") );
         superiorsTable = toolkit.createTable( client_general_information, SWT.SINGLE | SWT.FULL_SELECTION
             | SWT.H_SCROLL | SWT.V_SCROLL );
         GridData gridData = new GridData( SWT.FILL, SWT.NONE, true, false );
@@ -921,20 +918,20 @@
         superiorsTableViewer.setLabelProvider( new ObjectClassEditorSuperiorsTableLabelProvider() );
         Composite superiorsButtonComposite = toolkit.createComposite( client_general_information );
         superiorsButtonComposite.setLayout( new GridLayout() );
-        addButtonSuperiorsTable = toolkit.createButton( superiorsButtonComposite, "Add...", SWT.PUSH );
+        addButtonSuperiorsTable = toolkit.createButton( superiorsButtonComposite, Messages.getString("ObjectClassEditorOverviewPage.Add"), SWT.PUSH );
         addButtonSuperiorsTable.setLayoutData( new GridData( SWT.FILL, SWT.NONE, false, false ) );
-        removeButtonSuperiorsTable = toolkit.createButton( superiorsButtonComposite, "Remove", SWT.PUSH );
+        removeButtonSuperiorsTable = toolkit.createButton( superiorsButtonComposite, Messages.getString("ObjectClassEditorOverviewPage.Remove"), SWT.PUSH );
         removeButtonSuperiorsTable.setLayoutData( new GridData( SWT.FILL, SWT.NONE, false, false ) );
 
         // CLASS TYPE Combo
-        toolkit.createLabel( client_general_information, "Class type:" );
+        toolkit.createLabel( client_general_information, Messages.getString("ObjectClassEditorOverviewPage.ClassType") );
         classTypeCombo = new Combo( client_general_information, SWT.READ_ONLY | SWT.SINGLE );
         classTypeCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         initClassTypeCombo();
 
         // OBSOLETE Checkbox
         toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
-        obsoleteCheckbox = toolkit.createButton( client_general_information, "Obsolete", SWT.CHECK );
+        obsoleteCheckbox = toolkit.createButton( client_general_information, Messages.getString("ObjectClassEditorOverviewPage.Obesolete"), SWT.CHECK );
         obsoleteCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
     }
 
@@ -951,8 +948,8 @@
     {
         // MANDATORY ATTRIBUTES Section
         Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
-        section.setText( "Mandatory attributes" );
-        section.setDescription( "Specify the mandatory attribute types." );
+        section.setText( Messages.getString("ObjectClassEditorOverviewPage.MandatoryAttributes") );
+        section.setDescription( Messages.getString("ObjectClassEditorOverviewPage.SpecifyMandatoryAttributes") );
         section.setExpanded( true );
         Composite client = toolkit.createComposite( section );
         section.setClient( client );
@@ -974,8 +971,8 @@
         mandatoryAttributesTableViewer.setContentProvider( new ObjectClassEditorAttributesTableContentProvider() );
         mandatoryAttributesTableViewer.setLabelProvider( new ObjectClassEditorAttributesTableLabelProvider() );
 
-        addButtonMandatoryTable = toolkit.createButton( client, "Add...", SWT.PUSH );
-        removeButtonMandatoryTable = toolkit.createButton( client, "Remove", SWT.PUSH );
+        addButtonMandatoryTable = toolkit.createButton( client, Messages.getString("ObjectClassEditorOverviewPage.Add"), SWT.PUSH );
+        removeButtonMandatoryTable = toolkit.createButton( client, Messages.getString("ObjectClassEditorOverviewPage.Remove"), SWT.PUSH );
         gd = new GridData( GridData.VERTICAL_ALIGN_BEGINNING );
         addButtonMandatoryTable.setLayoutData( gd );
         removeButtonMandatoryTable.setLayoutData( gd );
@@ -997,8 +994,8 @@
     {
         // OPTIONAL ATTRIBUTES Section
         Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
-        section.setText( "Optional attributes" );
-        section.setDescription( "Specify the optional attribute types." );
+        section.setText( Messages.getString("ObjectClassEditorOverviewPage.OptionalAttributes") );
+        section.setDescription( Messages.getString("ObjectClassEditorOverviewPage.SpecifyOptionalAttributes") );
         section.setExpanded( true );
         Composite client = toolkit.createComposite( section );
         section.setClient( client );
@@ -1020,8 +1017,8 @@
         optionalAttributesTableViewer.setContentProvider( new ObjectClassEditorAttributesTableContentProvider() );
         optionalAttributesTableViewer.setLabelProvider( new ObjectClassEditorAttributesTableLabelProvider() );
 
-        addButtonOptionalTable = toolkit.createButton( client, "Add...", SWT.PUSH );
-        removeButtonOptionalTable = toolkit.createButton( client, "Remove", SWT.PUSH );
+        addButtonOptionalTable = toolkit.createButton( client, Messages.getString("ObjectClassEditorOverviewPage.Add"), SWT.PUSH );
+        removeButtonOptionalTable = toolkit.createButton( client, Messages.getString("ObjectClassEditorOverviewPage.Remove"), SWT.PUSH );
         gd = new GridData( GridData.VERTICAL_ALIGN_BEGINNING );
         addButtonOptionalTable.setLayoutData( gd );
         removeButtonOptionalTable.setLayoutData( gd );
@@ -1043,7 +1040,7 @@
         }
         else
         {
-            aliasesLabel.setText( "(None)" );
+            aliasesLabel.setText( Messages.getString("ObjectClassEditorOverviewPage.None") );
         }
 
         // OID Field
@@ -1091,9 +1088,9 @@
      */
     private void initClassTypeCombo()
     {
-        classTypeCombo.add( "Abstract", 0 );
-        classTypeCombo.add( "Auxiliary", 1 );
-        classTypeCombo.add( "Structural", 2 );
+        classTypeCombo.add( Messages.getString("ObjectClassEditorOverviewPage.Abstract"), 0 );
+        classTypeCombo.add( Messages.getString("ObjectClassEditorOverviewPage.Auxiliary"), 1 );
+        classTypeCombo.add( Messages.getString("ObjectClassEditorOverviewPage.Structural"), 2 );
     }
 
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorSuperiorsTableLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorSuperiorsTableLabelProvider.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorSuperiorsTableLabelProvider.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/objectclass/ObjectClassEditorSuperiorsTableLabelProvider.java Tue Nov 25 07:55:55 2008
@@ -66,11 +66,11 @@
             String[] names = oc.getNamesRef();
             if ( ( names != null ) && ( names.length > 0 ) )
             {
-                return ViewUtils.concateAliases( names ) + "  -  (" + oc.getOid() + ")";
+                return ViewUtils.concateAliases( names ) + "  -  (" + oc.getOid() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
             }
             else
             {
-                return "(None)  -  (" + oc.getOid() + ")";
+                return Messages.getString("ObjectClassEditorSuperiorsTableLabelProvider.2") + oc.getOid() + ")"; //$NON-NLS-2$
             }
         }
         else if ( element instanceof NonExistingObjectClass )

Added: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java?rev=720516&view=auto
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java (added)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java Tue Nov 25 07:55:55 2008
@@ -0,0 +1,50 @@
+/*
+ *  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
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *  
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *  
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License. 
+ *  
+ */
+package org.apache.directory.studio.schemaeditor.view.editors.schema;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.studio.schemaeditor.view.editors.schema.messages"; //$NON-NLS-1$
+
+    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME );
+
+
+    private Messages()
+    {
+    }
+
+
+    public static String getString( String key )
+    {
+        try
+        {
+            return RESOURCE_BUNDLE.getString( key );
+        }
+        catch ( MissingResourceException e )
+        {
+            return '!' + key + '!';
+        }
+    }
+}

Propchange: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorOverviewPage.java Tue Nov 25 07:55:55 2008
@@ -64,9 +64,6 @@
     /** The page ID */
     public static final String ID = SchemaEditor.ID + "overviewPage"; //$NON-NLS-1$
 
-    /** The page title */
-    public static final String TITLE = "Overview";
-
     /** The SchemaHandler */
     private SchemaHandler schemaHandler;
 
@@ -155,8 +152,8 @@
                 }
                 catch ( PartInitException exception )
                 {
-                    PluginUtils.logError( "An error occured when opening the editor.", exception );
-                    ViewUtils.displayErrorMessageBox( "Error", "An error occured when opening the editor." );
+                    PluginUtils.logError( Messages.getString("SchemaEditorOverviewPage.ErrorOpenEditor"), exception );
+                    ViewUtils.displayErrorMessageBox( Messages.getString("SchemaEditorOverviewPage.Error"), Messages.getString("SchemaEditorOverviewPage.ErrorOpenEditor") );
                 }
             }
         }
@@ -183,8 +180,8 @@
                 }
                 catch ( PartInitException exception )
                 {
-                    PluginUtils.logError( "An error occured when opening the editor.", exception );
-                    ViewUtils.displayErrorMessageBox( "Error", "An error occured when opening the editor." );
+                    PluginUtils.logError( Messages.getString("SchemaEditorOverviewPage.ErrorOpenEditor"), exception );
+                    ViewUtils.displayErrorMessageBox( Messages.getString("SchemaEditorOverviewPage.Error"), Messages.getString("SchemaEditorOverviewPage.ErrorOpenEditor") );
                 }
             }
         }
@@ -199,7 +196,7 @@
      */
     public SchemaEditorOverviewPage( FormEditor editor )
     {
-        super( editor, ID, TITLE );
+        super( editor, ID, Messages.getString("SchemaEditorOverviewPage.Overview") );
         schemaHandler = Activator.getDefault().getSchemaHandler();
     }
 
@@ -229,7 +226,7 @@
         addListeners();
 
         // Help Context for Dynamic Help
-        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "schema_editor" );
+        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "schema_editor" ); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
 
@@ -246,9 +243,9 @@
         // Attribute Types Section
         Section attributeTypesSection = toolkit.createSection( parent, Section.DESCRIPTION | Section.EXPANDED
             | Section.TITLE_BAR );
-        attributeTypesSection.setDescription( "The schema '" + schema.getName()
-            + "' contains the following attribute types." );
-        attributeTypesSection.setText( "Attribute Types" );
+        attributeTypesSection.setDescription( Messages.getString("SchemaEditorOverviewPage.SchemaAttributeBegin") + schema.getName()
+            + Messages.getString("SchemaEditorOverviewPage.SchemaAttributeEnd") );
+        attributeTypesSection.setText( Messages.getString("SchemaEditorOverviewPage.AttributeTypes") );
 
         // Creating the layout of the section
         Composite attributeTypesSectionClient = toolkit.createComposite( attributeTypesSection );
@@ -278,9 +275,9 @@
         // Attribute Types Section
         Section objectClassesSection = toolkit.createSection( parent, Section.DESCRIPTION | Section.EXPANDED
             | Section.TITLE_BAR );
-        objectClassesSection.setDescription( "The schema '" + schema.getName()
-            + "' contains the following object classes." );
-        objectClassesSection.setText( "Object Classes" );
+        objectClassesSection.setDescription( Messages.getString("SchemaEditorOverviewPage.SchemaObjectClassesBegin") + schema.getName()
+            + Messages.getString("SchemaEditorOverviewPage.SchemaObjectClassesEnd") );
+        objectClassesSection.setText( Messages.getString("SchemaEditorOverviewPage.ObjectClasses") );
 
         // Creating the layout of the section
         Composite objectClassesSectionClient = toolkit.createComposite( objectClassesSection );

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorSourceCodePage.java Tue Nov 25 07:55:55 2008
@@ -57,9 +57,6 @@
     /** The page ID */
     public static final String ID = SchemaEditor.ID + "sourceCode"; //$NON-NLS-1$
 
-    /** The page title */
-    public static final String TITLE = "Source Code";
-
     /** The associated schema */
     private Schema schema;
 
@@ -186,7 +183,7 @@
      */
     public SchemaEditorSourceCodePage( FormEditor editor )
     {
-        super( editor, ID, TITLE );
+        super( editor, ID, Messages.getString("SchemaEditorSourceCodePage.SourceCode") );
     }
 
 
@@ -224,7 +221,7 @@
         addListeners();
 
         // Help Context for Dynamic Help
-        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "schema_editor" );
+        PlatformUI.getWorkbench().getHelpSystem().setHelp( form, PluginConstants.PLUGIN_ID + "." + "schema_editor" ); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
 

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java?rev=720516&r1=720515&r2=720516&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java (original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/editors/schema/SchemaEditorTableViewerLabelProvider.java Tue Nov 25 07:55:55 2008
@@ -70,11 +70,11 @@
             String[] names = oc.getNamesRef();
             if ( ( names != null ) && ( names.length > 0 ) )
             {
-                return ViewUtils.concateAliases( names ) + "  -  (" + oc.getOid() + ")";
+                return ViewUtils.concateAliases( names ) + "  -  (" + oc.getOid() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
             }
             else
             {
-                return "(None)  -  (" + oc.getOid() + ")";
+                return Messages.getString("SchemaEditorTableViewerLabelProvider.None") + oc.getOid() + ")"; //$NON-NLS-2$
             }
         }
         else if ( element instanceof AttributeTypeImpl )
@@ -84,11 +84,11 @@
             String[] names = at.getNamesRef();
             if ( ( names != null ) && ( names.length > 0 ) )
             {
-                return ViewUtils.concateAliases( names ) + "  -  (" + at.getOid() + ")";
+                return ViewUtils.concateAliases( names ) + "  -  (" + at.getOid() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
             }
             else
             {
-                return "(None)  -  (" + at.getOid() + ")";
+                return Messages.getString("SchemaEditorTableViewerLabelProvider.None") + at.getOid() + ")"; //$NON-NLS-2$
             }
         }
 

Added: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/attributetype/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/attributetype/messages.properties?rev=720516&view=auto
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/attributetype/messages.properties (added)
+++ directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/attributetype/messages.properties Tue Nov 25 07:55:55 2008
@@ -0,0 +1,55 @@
+# 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
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+ATEMatchingRulesComboLabelProvider.None=(None)  -  (
+ATESuperiorComboLabelProvider.None=(None)  -  (
+ATESyntaxComboLabelProvider.None=(None)  -  (
+AttributeTypeEditor.AttributeErrors=The editor of the Source Code contains errors, you cannot save the attribute type until these errors are fixed.
+AttributeTypeEditor.CodeErrors=The editor of the Source Code contains errors, you cannot return to the Overview page until these errors are fixed.
+AttributeTypeEditorInput.FromSchemaBegin=\ from the 
+AttributeTypeEditorInput.FromSchemaEnd=\ schema
+AttributeTypeEditorOverviewPage.Aliases=Aliases:
+AttributeTypeEditorOverviewPage.Collective=Collective
+AttributeTypeEditorOverviewPage.Description=Description:
+AttributeTypeEditorOverviewPage.EditAliases=Edit Aliases
+AttributeTypeEditorOverviewPage.ElementOIDExists=An element with same oid already exists.
+AttributeTypeEditorOverviewPage.Equality=Equality:
+AttributeTypeEditorOverviewPage.GeneralInformation=General information
+AttributeTypeEditorOverviewPage.MalformedOID=Malformed OID.
+AttributeTypeEditorOverviewPage.MatchingRules=Matching Rules
+AttributeTypeEditorOverviewPage.None=(None)
+AttributeTypeEditorOverviewPage.Obsolete=Obsolete
+AttributeTypeEditorOverviewPage.OID=OID:
+AttributeTypeEditorOverviewPage.Ordering=Ordering:
+AttributeTypeEditorOverviewPage.Overview=Overview
+AttributeTypeEditorOverviewPage.Schema=Schema:
+AttributeTypeEditorOverviewPage.SingleValue=Single-Value
+AttributeTypeEditorOverviewPage.SpecifyGeneralInformation=Specify general information (aliases, OID, etc.).
+AttributeTypeEditorOverviewPage.SpecifyMatchingRules=Specify matching rules (Equality, Ordering & Substring).
+AttributeTypeEditorOverviewPage.Substring=Substring:
+AttributeTypeEditorOverviewPage.SuperiorType=Superior type:
+AttributeTypeEditorOverviewPage.Syntax=Syntax:
+AttributeTypeEditorOverviewPage.SyntaxLength=Syntax length:
+AttributeTypeEditorOverviewPage.Usage=Usage:
+AttributeTypeEditorSourceCodePage.SourceCode=Source Code
+AttributeTypeEditorUsedByPage.AsMandatoryAttribute=As Mandatory Attribute
+AttributeTypeEditorUsedByPage.AsOptionalAttribute=As Optional Attribute
+AttributeTypeEditorUsedByPage.AttributeTypeMandatoryBegin=The attribute type
+AttributeTypeEditorUsedByPage.AttributeTypeMandatoryEnd=is used as a mandatory attribute in the following object classes.
+AttributeTypeEditorUsedByPage.AttributeTypeOptionalBegin=The attribute type
+AttributeTypeEditorUsedByPage.AttributeTypeOptionalEnd=is used as an optional attribute in the following object classes.
+AttributeTypeEditorUsedByPage.UsedBy=Used By

Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/attributetype/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/attributetype/messages.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/objectclass/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/objectclass/messages.properties?rev=720516&view=auto
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/objectclass/messages.properties (added)
+++ directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/objectclass/messages.properties Tue Nov 25 07:55:55 2008
@@ -0,0 +1,46 @@
+# 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
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+ObjectClassEditor.CodeError=The editor of the Source Code contains errors, you cannot return to the Overview page until these errors are fixed.
+ObjectClassEditor.CodeErrorObject=The editor of the Source Code contains errors, you cannot save the object class until these errors are fixed.
+ObjectClassEditorAttributesTableLabelProvider.none=(None)  -  (
+ObjectClassEditorInput.FromSchemaBegin=\ from the 
+ObjectClassEditorInput.FromSchemaEnd=\ schema
+ObjectClassEditorOverviewPage.Abstract=Abstract
+ObjectClassEditorOverviewPage.Add=Add...
+ObjectClassEditorOverviewPage.Aliases=Aliases:
+ObjectClassEditorOverviewPage.Auxiliary=Auxiliary
+ObjectClassEditorOverviewPage.ClassType=Class type:
+ObjectClassEditorOverviewPage.Description=Description:
+ObjectClassEditorOverviewPage.EditAliases=Edit_Aliases
+ObjectClassEditorOverviewPage.ElementOIDExists=An element with same oid already exists.
+ObjectClassEditorOverviewPage.GeneralInformation=General information
+ObjectClassEditorOverviewPage.MalformedOID=Malformed_OID.
+ObjectClassEditorOverviewPage.MandatoryAttributes=Mandatory attributes
+ObjectClassEditorOverviewPage.None=(None)
+ObjectClassEditorOverviewPage.Obesolete=Obsolete
+ObjectClassEditorOverviewPage.OID=OID:
+ObjectClassEditorOverviewPage.OptionalAttributes=Optional attributes
+ObjectClassEditorOverviewPage.Overview=Overview
+ObjectClassEditorOverviewPage.Remove=Remove
+ObjectClassEditorOverviewPage.Schema=Schema:
+ObjectClassEditorOverviewPage.SpecifyGeneralInformation=Specify general information (aliases, OID, etc.).
+ObjectClassEditorOverviewPage.SpecifyMandatoryAttributes=Specify the mandatory attribute types.
+ObjectClassEditorOverviewPage.SpecifyOptionalAttributes=Specify the optional attribute types.
+ObjectClassEditorOverviewPage.Structural=Structural
+ObjectClassEditorOverviewPage.SuperiorClasses=Superior classes:
+ObjectClassEditorSuperiorsTableLabelProvider.2=(None)  -  (

Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/objectclass/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/objectclass/messages.properties
------------------------------------------------------------------------------
    svn:keywords = Id

Added: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/schema/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/schema/messages.properties?rev=720516&view=auto
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/schema/messages.properties (added)
+++ directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/schema/messages.properties Tue Nov 25 07:55:55 2008
@@ -0,0 +1,28 @@
+# 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
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+SchemaEditorOverviewPage.AttributeTypes=Attribute Types
+SchemaEditorOverviewPage.Error=Error
+SchemaEditorOverviewPage.ErrorOpenEditor=An error occured when opening the editor.
+SchemaEditorOverviewPage.ObjectClasses=Object Classes
+SchemaEditorOverviewPage.Overview=Overview
+SchemaEditorOverviewPage.SchemaAttributeBegin=The schema '
+SchemaEditorOverviewPage.SchemaAttributeEnd=' contains the following attribute types.
+SchemaEditorOverviewPage.SchemaObjectClassesBegin=The schema '
+SchemaEditorOverviewPage.SchemaObjectClassesEnd=' contains the following object classes.
+SchemaEditorSourceCodePage.SourceCode=Source Code
+SchemaEditorTableViewerLabelProvider.None=(None)  -  (

Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/schema/messages.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/studio/trunk/schemaeditor/src/main/resources/org/apache/directory/studio/schemaeditor/view/editors/schema/messages.properties
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message