directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r523378 [1/2] - in /directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main: java/org/apache/directory/ldapstudio/schemas/controller/ java/org/apache/directory/ldapstudio/schemas/controller/actions/ java/org/apache/directory/ldapstudi...
Date Wed, 28 Mar 2007 15:52:01 GMT
Author: pamarcelot
Date: Wed Mar 28 08:51:57 2007
New Revision: 523378

URL: http://svn.apache.org/viewvc?view=rev&rev=523378
Log:
Strings have been externalized to 'messages.properties' file.

Modified:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/SchemasViewController.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CollapseAllAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CreateANewSchemaAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenHierarchyViewPreferencesAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewPreferencesAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewSortDialogAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaSourceCode.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewPreferencesAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewSortDialogAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSubtypeHierarchyAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSupertypeHierarchyAction.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/io/SchemaParser.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditor.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorUsedByPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditor.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorInput.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorOverviewPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorInput.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorOverviewPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorSourceCodePage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/preferences/HierarchyViewPreferencePage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/preferences/SchemaElementsViewPreferencePage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/preferences/SchemasEditorPreferencePage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/preferences/SchemasViewPreferencePage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/search/SearchPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemaElementsViewSortDialog.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SchemasViewSortDialog.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/views/SearchView.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/wizards/CreateANewObjectClassWizardPage.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/resources/org/apache/directory/ldapstudio/schemas/messages.properties

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/SchemasViewController.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/SchemasViewController.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/SchemasViewController.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/SchemasViewController.java Wed Mar 28 08:51:57 2007
@@ -25,6 +25,7 @@
 import java.util.List;
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.controller.actions.CollapseAllAction;
 import org.apache.directory.ldapstudio.schemas.controller.actions.CreateANewAttributeTypeAction;
@@ -474,8 +475,8 @@
                 else if ( selectedObject instanceof AttributeTypeWrapper )
                 {
                     AttributeTypeWrapper attributeTypeWrapper = ( AttributeTypeWrapper ) selectedObject;
-                    deleteAction.setText( "Delete Attribute Type" + " '"
-                        + attributeTypeWrapper.getMyAttributeType().getNames()[0] + "'" );
+                    deleteAction.setText( Messages.getString("SchemasViewController.Delete_Attribute_Type") + " '" //$NON-NLS-1$ //$NON-NLS-2$
+                        + attributeTypeWrapper.getMyAttributeType().getNames()[0] + "'" ); //$NON-NLS-1$
 
                     if ( attributeTypeWrapper.getMyAttributeType().getOriginatingSchema().type == SchemaType.coreSchema )
                     {
@@ -493,8 +494,8 @@
                 else if ( selectedObject instanceof ObjectClassWrapper )
                 {
                     ObjectClassWrapper objectClassWrapper = ( ObjectClassWrapper ) selectedObject;
-                    deleteAction.setText( "Delete Object Class" + " '"
-                        + objectClassWrapper.getMyObjectClass().getNames()[0] + "'" );
+                    deleteAction.setText( Messages.getString("SchemasViewController.Delete_Object_Class") + " '" //$NON-NLS-1$ //$NON-NLS-2$
+                        + objectClassWrapper.getMyObjectClass().getNames()[0] + "'" ); //$NON-NLS-1$
 
                     if ( objectClassWrapper.getMyObjectClass().getOriginatingSchema().type == SchemaType.coreSchema )
                     {

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CollapseAllAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CollapseAllAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CollapseAllAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CollapseAllAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.viewers.TreeViewer;
@@ -46,7 +47,7 @@
      */
     public CollapseAllAction( TreeViewer viewer )
     {
-        super( "Collapse All" );
+        super( Messages.getString("CollapseAllAction.Collapse_All") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_COLLAPSE_ALL );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CreateANewSchemaAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CreateANewSchemaAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CreateANewSchemaAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/CreateANewSchemaAction.java Wed Mar 28 08:51:57 2007
@@ -35,7 +35,6 @@
 /**
  * This class implements the Action for creating a new schema
  */
-
 public class CreateANewSchemaAction extends Action
 {
     /**

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/EraseSearchAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.views.SearchView;
 import org.eclipse.jface.action.Action;
@@ -46,7 +47,7 @@
      */
     public EraseSearchAction( SearchView view )
     {
-        super( "Erase Search" );
+        super( Messages.getString("EraseSearchAction.Erase_Search") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_ERASE_SEARCH );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideAttributeTypesAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.viewers.TreeViewer;
@@ -51,7 +52,7 @@
      */
     public HideAttributeTypesAction( TreeViewer viewer )
     {
-        super( "Hide Attribute Types", AS_CHECK_BOX );
+        super( Messages.getString("HideAttributeTypesAction.Hide_Attribute_Types"), AS_CHECK_BOX ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_HIDE_ATTRIBUTE_TYPES );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/HideObjectClassesAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.viewers.TreeViewer;
@@ -51,7 +52,7 @@
      */
     public HideObjectClassesAction( TreeViewer viewer )
     {
-        super( "Hide Object Classes", AS_CHECK_BOX );
+        super( Messages.getString("HideObjectClassesAction.Hide_Object_Classes"), AS_CHECK_BOX ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_HIDE_OBJECT_CLASSES );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorHierarchyView.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.model.AttributeType;
 import org.apache.directory.ldapstudio.schemas.model.ObjectClass;
@@ -138,7 +139,7 @@
      */
     public LinkWithEditorHierarchyView( HierarchyView view )
     {
-        super( "Link with Editor", AS_CHECK_BOX );
+        super( Messages.getString("LinkWithEditorHierarchyView.Link_with_Editor"), AS_CHECK_BOX ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_LINK_WITH_EDITOR_SCHEMA_VIEW );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemaElementsView.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.model.AttributeType;
 import org.apache.directory.ldapstudio.schemas.model.ObjectClass;
@@ -172,7 +173,7 @@
      */
     public LinkWithEditorSchemaElementsView( SchemaElementsView view )
     {
-        super( "Link with Editor", AS_CHECK_BOX );
+        super( Messages.getString("LinkWithEditorSchemaElementsView.Link_with_Editor"), AS_CHECK_BOX ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_LINK_WITH_EDITOR_SCHEMA_ELEMENTS_VIEW );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/LinkWithEditorSchemasView.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.model.AttributeType;
 import org.apache.directory.ldapstudio.schemas.model.ObjectClass;
@@ -179,7 +180,7 @@
      */
     public LinkWithEditorSchemasView( SchemasView view )
     {
-        super( "Link with Editor", AS_CHECK_BOX );
+        super( Messages.getString("LinkWithEditorSchemasView.Link_with_Editor"), AS_CHECK_BOX ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_LINK_WITH_EDITOR_SCHEMA_VIEW );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenHierarchyViewPreferencesAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenHierarchyViewPreferencesAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenHierarchyViewPreferencesAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenHierarchyViewPreferencesAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 package org.apache.directory.ldapstudio.schemas.controller.actions;
 
 
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.preferences.HierarchyViewPreferencePage;
 import org.eclipse.jface.action.Action;
@@ -42,7 +43,7 @@
      */
     public OpenHierarchyViewPreferencesAction()
     {
-        super( "Preferences..." );
+        super( Messages.getString("OpenHierarchyViewPreferencesAction.Preferences...") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_HIERARCHY_VIEW_PREFERENCES );
         setEnabled( true );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewPreferencesAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewPreferencesAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewPreferencesAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewPreferencesAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 package org.apache.directory.ldapstudio.schemas.controller.actions;
 
 
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.preferences.SchemaElementsViewPreferencePage;
 import org.eclipse.jface.action.Action;
@@ -42,7 +43,7 @@
      */
     public OpenSchemaElementsViewPreferencesAction()
     {
-        super( "Preferences..." );
+        super( Messages.getString("OpenSchemaElementsViewPreferencesAction.Preferences...") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_SCHEMA_ELEMENTS_VIEW_PREFERENCES );
         setEnabled( true );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewSortDialogAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewSortDialogAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewSortDialogAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaElementsViewSortDialogAction.java Wed Mar 28 08:51:57 2007
@@ -22,6 +22,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.views.SchemaElementsViewSortDialog;
 import org.eclipse.jface.action.Action;
@@ -46,7 +47,7 @@
      */
     public OpenSchemaElementsViewSortDialogAction()
     {
-        super( "Sorting..." );
+        super( Messages.getString("OpenSchemaElementsViewSortDialogAction.Sorting...") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_SCHEMA_ELEMENTS_VIEW_SORT_DIALOG );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID, PluginConstants.IMG_SORT ) );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaSourceCode.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaSourceCode.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaSourceCode.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemaSourceCode.java Wed Mar 28 08:51:57 2007
@@ -22,6 +22,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.editors.schema.SchemaEditor;
 import org.apache.directory.ldapstudio.schemas.view.editors.schema.SchemaEditorInput;
@@ -51,7 +52,7 @@
      */
     public OpenSchemaSourceCode()
     {
-        super( "View source code" );
+        super( Messages.getString("OpenSchemaSourceCode.View_source_code") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_OPEN_SCHEMA_SOURCE_CODE );
         setImageDescriptor( AbstractUIPlugin

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewPreferencesAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewPreferencesAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewPreferencesAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewPreferencesAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 package org.apache.directory.ldapstudio.schemas.controller.actions;
 
 
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.preferences.SchemasViewPreferencePage;
 import org.eclipse.jface.action.Action;
@@ -42,7 +43,7 @@
      */
     public OpenSchemasViewPreferencesAction()
     {
-        super( "Preferences..." );
+        super( Messages.getString("OpenSchemasViewPreferencesAction.Preferences...") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_SCHEMAS_VIEW_PREFERENCES );
         setEnabled( true );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewSortDialogAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewSortDialogAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewSortDialogAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenSchemasViewSortDialogAction.java Wed Mar 28 08:51:57 2007
@@ -22,6 +22,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.views.SchemasViewSortDialog;
 import org.eclipse.jface.action.Action;
@@ -46,7 +47,7 @@
      */
     public OpenSchemasViewSortDialogAction()
     {
-        super( "Sorting..." );
+        super( Messages.getString("OpenSchemasViewSortDialogAction.Sorting...") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_SCHEMAS_VIEW_SORT_DIALOG );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID, PluginConstants.IMG_SORT ) );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/OpenTypeHierarchyAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 package org.apache.directory.ldapstudio.schemas.controller.actions;
 
 
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.model.SchemaElement;
 import org.apache.directory.ldapstudio.schemas.model.SchemaPool;
@@ -55,7 +56,7 @@
      */
     public OpenTypeHierarchyAction()
     {
-        super( "Open Type Hierarchy" );
+        super( Messages.getString("OpenTypeHierarchyAction.Open_Type_Hierarchy") ); //$NON-NLS-1$
         setToolTipText( getText() );
         setId( PluginConstants.CMD_OPEN_TYPE_HIERARCHY );
         setActionDefinitionId( PluginConstants.CMD_OPEN_TYPE_HIERARCHY );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSubtypeHierarchyAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSubtypeHierarchyAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSubtypeHierarchyAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSubtypeHierarchyAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.views.HierarchyView;
 import org.eclipse.jface.action.Action;
@@ -47,8 +48,8 @@
      */
     public ShowSubtypeHierarchyAction( HierarchyView view )
     {
-        super( "Subtype Hierarchy", AS_RADIO_BUTTON );
-        setToolTipText( "Show the Subtype Hierarchy" );
+        super( Messages.getString("ShowSubtypeHierarchyAction.Subtype_Hierarchy"), AS_RADIO_BUTTON ); //$NON-NLS-1$
+        setToolTipText( Messages.getString("ShowSubtypeHierarchyAction.Show_the_Subtype_Hierarchy") ); //$NON-NLS-1$
         setId( PluginConstants.CMD_SHOW_SUBTYPE_HIERARCHY );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
             PluginConstants.IMG_SHOW_SUBTYPE_HIERARCHY ) );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSupertypeHierarchyAction.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSupertypeHierarchyAction.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSupertypeHierarchyAction.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/controller/actions/ShowSupertypeHierarchyAction.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.view.views.HierarchyView;
 import org.eclipse.jface.action.Action;
@@ -47,8 +48,8 @@
      */
     public ShowSupertypeHierarchyAction( HierarchyView view )
     {
-        super( "Supertype Hierarchy", AS_RADIO_BUTTON );
-        setToolTipText( "Show the Supertype Hierarchy" );
+        super( Messages.getString("ShowSupertypeHierarchyAction.Supertype_Hierarchy"), AS_RADIO_BUTTON ); //$NON-NLS-1$
+        setToolTipText( Messages.getString("ShowSupertypeHierarchyAction.Show_the_Supertype_Hierarchy") ); //$NON-NLS-1$
         setId( PluginConstants.CMD_SHOW_SUPERTYPE_HIERARCHY );
         setImageDescriptor( AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
             PluginConstants.IMG_SHOW_SUPERTYPE_HIERARCHY ) );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/io/SchemaParser.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/io/SchemaParser.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/io/SchemaParser.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/io/SchemaParser.java Wed Mar 28 08:51:57 2007
@@ -141,7 +141,7 @@
             MessageBox messageBox = new MessageBox( PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
                 SWT.OK | SWT.ICON_ERROR );
             messageBox
-                .setMessage( Messages.getString( "SchemaParser.An_error_has_occurred_when_parsing_the_file" ) + fileURL.toString() + Messages.getString( "SchemaParser.The_schema_cannot_be_opened" ) + " " + "See log file for debug information about the schema." ); //$NON-NLS-1$ //$NON-NLS-2$
+                .setMessage( Messages.getString( "SchemaParser.An_error_has_occurred_when_parsing_the_file" ) + fileURL.toString() + Messages.getString( "SchemaParser.The_schema_cannot_be_opened" ) + " " + Messages.getString("SchemaParser.See_log_file_for_debug_information_about_the_schema.") ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
             messageBox.open();
             throw e;
         }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/dialogs/EditAliasesDialog.java Wed Mar 28 08:51:57 2007
@@ -161,7 +161,7 @@
         label.setSize( 16, 16 );
 
         errorLabel = new Label( errorComposite, SWT.NONE );
-        errorLabel.setText( "An element with same alias already exists." );
+        errorLabel.setText( Messages.getString("EditAliasesDialog.An_element_with_same_alias_already_exists.") ); //$NON-NLS-1$
         errorLabel.setLayoutData( new GridData( GridData.FILL, GridData.FILL, true, true ) );
 
         // Table initialization
@@ -262,19 +262,19 @@
                 else if ( aliasesLowerCased.contains( text.toLowerCase() ) )
                 {
                     errorComposite.setVisible( true );
-                    errorLabel.setText( "This alias already exists in the list." );
+                    errorLabel.setText( Messages.getString("EditAliasesDialog.This_alias_already_exists_in_the_list.") ); //$NON-NLS-1$
                     newAliasAddButton.setEnabled( false );
                 }
                 else if ( SchemaPool.getInstance().containsSchemaElement( text ) )
                 {
                     errorComposite.setVisible( true );
-                    errorLabel.setText( "An element with same alias already exists." );
+                    errorLabel.setText( Messages.getString("EditAliasesDialog.An_element_with_same_alias_already_exists.") ); //$NON-NLS-1$
                     newAliasAddButton.setEnabled( false );
                 }
                 else if ( !ViewUtils.verifyName( text ) )
                 {
                     errorComposite.setVisible( true );
-                    errorLabel.setText( "Invalid Alias." );
+                    errorLabel.setText( Messages.getString("EditAliasesDialog.Invalid_Alias.") ); //$NON-NLS-1$
                     newAliasAddButton.setEnabled( false );
                 }
             }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditor.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditor.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditor.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditor.java Wed Mar 28 08:51:57 2007
@@ -22,6 +22,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.model.AttributeType;
 import org.apache.log4j.Logger;
 import org.eclipse.core.runtime.IProgressMonitor;
@@ -76,7 +77,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.Souce_Code_Error_cannot_return_to_Overview_page") ); //$NON-NLS-1$
                     return;
                 }
 
@@ -178,7 +179,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("AttributeTypeEditor.Souce_Code_Error_cannot_save_object_class") ); //$NON-NLS-1$
             monitor.setCanceled( true );
             return;
         }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorInput.java Wed Mar 28 08:51:57 2007
@@ -103,9 +103,9 @@
     public String getToolTipText()
     {
         return this.attributeType.getNames()[0]
-            + Messages.getString( "AttributeTypeFormEditorInput.In_the" ) //$NON-NLS-1$
+            + Messages.getString( "AttributeTypeEditorInput.In_the" ) //$NON-NLS-1$
             + this.attributeType.getOriginatingSchema().getName()
-            + Messages.getString( "AttributeTypeFormEditorInput.Schema" ); //$NON-NLS-1$
+            + Messages.getString( "AttributeTypeEditorInput.Schema" ); //$NON-NLS-1$
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorOverviewPage.java Wed Mar 28 08:51:57 2007
@@ -76,10 +76,10 @@
 public class AttributeTypeEditorOverviewPage extends FormPage implements PoolListener
 {
     /** The page ID*/
-    public static final String ID = AttributeTypeEditor.ID + "overviewPage";
+    public static final String ID = AttributeTypeEditor.ID + ".overviewPage"; //$NON-NLS-1$
 
     /** The page title */
-    public static String TITLE = Messages.getString( "AttributeTypeFormEditor.Overview" );
+    public static String TITLE = Messages.getString( "AttributeTypeEditorOverviewPage.Overview" ); //$NON-NLS-1$
 
     /** The original object class */
     private AttributeType originalAttributeType;
@@ -135,7 +135,7 @@
                 }
                 else
                 {
-                    aliasesLabel.setText( Messages.getString( "AttributeTypeFormEditorOverviewPage.(None)" ) );
+                    aliasesLabel.setText( Messages.getString( "AttributeTypeEditorOverviewPage.(None)" ) ); //$NON-NLS-1$
                 }
                 setEditorDirty();
             }
@@ -148,7 +148,7 @@
         public void modifyText( ModifyEvent e )
         {
             oidText.setForeground( ViewUtils.COLOR_BLACK );
-            oidText.setToolTipText( "" );
+            oidText.setToolTipText( "" ); //$NON-NLS-1$
 
             String oid = oidText.getText();
 
@@ -162,13 +162,13 @@
                 else
                 {
                     oidText.setForeground( ViewUtils.COLOR_RED );
-                    oidText.setToolTipText( "An element with same oid already exists." );
+                    oidText.setToolTipText( Messages.getString("AttributeTypeEditorOverviewPage.An_element_with_same_oid_already_exists.") ); //$NON-NLS-1$
                 }
             }
             else
             {
                 oidText.setForeground( ViewUtils.COLOR_RED );
-                oidText.setToolTipText( "Malformed OID." );
+                oidText.setToolTipText( Messages.getString("AttributeTypeEditorOverviewPage.Malformed_OID.") ); //$NON-NLS-1$
             }
         }
     };
@@ -178,7 +178,7 @@
     {
         public void verifyText( VerifyEvent e )
         {
-            if ( !e.text.matches( "([0-9]*\\.?)*" ) )
+            if ( !e.text.matches( "([0-9]*\\.?)*" ) ) //$NON-NLS-1$
             {
                 e.doit = false;
             }
@@ -344,7 +344,7 @@
     {
         public void verifyText( VerifyEvent e )
         {
-            if ( !e.text.matches( "[0-9]*" ) )
+            if ( !e.text.matches( "[0-9]*" ) ) //$NON-NLS-1$
             {
                 e.doit = false;
             }
@@ -536,9 +536,9 @@
         Section section_general_information = toolkit.createSection( parent, Section.DESCRIPTION | Section.EXPANDED
             | Section.TITLE_BAR );
         section_general_information.setDescription( Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.General_Section_Description" ) ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.General_Section_Description" ) ); //$NON-NLS-1$
         section_general_information.setText( Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.General_Section_Text" ) ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.General_Section_Text" ) ); //$NON-NLS-1$
 
         // Creating the layout of the section
         Composite client_general_information = toolkit.createComposite( section_general_information );
@@ -552,36 +552,36 @@
         // Adding elements to the section
         // ALIASES Button
         toolkit.createLabel( client_general_information, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Aliases" ) ); //$NON-NLS-1$
-        aliasesLabel = toolkit.createLabel( client_general_information, "" );
+            .getString( "AttributeTypeEditorOverviewPage.Aliases" ) ); //$NON-NLS-1$
+        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, "" );
+        toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
         aliasesButton = toolkit.createButton( client_general_information, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Edit_Aliases" ), SWT.PUSH ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Edit_Aliases" ), SWT.PUSH ); //$NON-NLS-1$
         aliasesButton.setLayoutData( new GridData( SWT.NONE, SWT.NONE, false, false, 2, 1 ) );
 
         // OID Field
         toolkit
-            .createLabel( client_general_information, Messages.getString( "AttributeTypeFormEditorOverviewPage.OID" ) ); //$NON-NLS-1$
+            .createLabel( client_general_information, Messages.getString( "AttributeTypeEditorOverviewPage.OID" ) ); //$NON-NLS-1$
         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, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Description" ) ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Description" ) ); //$NON-NLS-1$
         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 ); //$NON-NLS-1$
         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, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Superior_type" ), SWT.WRAP ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Superior_type" ), SWT.WRAP ); //$NON-NLS-1$
         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 );
@@ -590,14 +590,14 @@
 
         // USAGE Combo
         toolkit.createLabel( client_general_information, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Usage" ) ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Usage" ) ); //$NON-NLS-1$
         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, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Synatx" ) ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Synatx" ) ); //$NON-NLS-1$
         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 );
@@ -606,30 +606,30 @@
 
         // SYNTAX LENGTH Field
         toolkit.createLabel( client_general_information, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Syntax_length" ) ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Syntax_length" ) ); //$NON-NLS-1$
         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, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Obsolete" ), SWT.CHECK ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Obsolete" ), SWT.CHECK ); //$NON-NLS-1$
         obsoleteCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // SINGLE-VALUE Checkbox
         singleValueCheckbox = toolkit.createButton( client_general_information, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Single-Value" ), SWT.CHECK ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Single-Value" ), SWT.CHECK ); //$NON-NLS-1$
         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, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Collective" ), SWT.CHECK ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Collective" ), SWT.CHECK ); //$NON-NLS-1$
         collectiveCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
 
         // NO-USER-MODIFICATION Checkbox
         noUserModificationCheckbox = toolkit.createButton( client_general_information, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.No-User-Modification" ), SWT.CHECK ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.No-User-Modification" ), SWT.CHECK ); //$NON-NLS-1$
         noUserModificationCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
     }
 
@@ -648,8 +648,8 @@
         Section section_matching_rules = toolkit.createSection( parent, Section.DESCRIPTION | Section.EXPANDED
             | Section.TITLE_BAR );
         section_matching_rules.setDescription( Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Specify_matching_rules" ) ); //$NON-NLS-1$
-        section_matching_rules.setText( Messages.getString( "AttributeTypeFormEditorOverviewPage.Matching_Rules" ) ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Specify_matching_rules" ) ); //$NON-NLS-1$
+        section_matching_rules.setText( Messages.getString( "AttributeTypeEditorOverviewPage.Matching_Rules" ) ); //$NON-NLS-1$
 
         // Creating the layout of the section
         Composite client_matching_rules = toolkit.createComposite( section_matching_rules );
@@ -662,7 +662,7 @@
 
         // EQUALITY Combo
         toolkit
-            .createLabel( client_matching_rules, Messages.getString( "AttributeTypeFormEditorOverviewPage.Equility" ) ); //$NON-NLS-1$
+            .createLabel( client_matching_rules, Messages.getString( "AttributeTypeEditorOverviewPage.Equility" ) ); //$NON-NLS-1$
         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 );
@@ -671,7 +671,7 @@
 
         // ORDERING Combo
         toolkit
-            .createLabel( client_matching_rules, Messages.getString( "AttributeTypeFormEditorOverviewPage.Ordering" ) ); //$NON-NLS-1$
+            .createLabel( client_matching_rules, Messages.getString( "AttributeTypeEditorOverviewPage.Ordering" ) ); //$NON-NLS-1$
         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 );
@@ -680,7 +680,7 @@
 
         // SUBSTRING Combo
         toolkit.createLabel( client_matching_rules, Messages
-            .getString( "AttributeTypeFormEditorOverviewPage.Substring" ) ); //$NON-NLS-1$
+            .getString( "AttributeTypeEditorOverviewPage.Substring" ) ); //$NON-NLS-1$
         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 );
@@ -713,7 +713,7 @@
         }
         else
         {
-            aliasesLabel.setText( Messages.getString( "AttributeTypeFormEditorOverviewPage.(None)" ) );
+            aliasesLabel.setText( Messages.getString( "AttributeTypeEditorOverviewPage.(None)" ) ); //$NON-NLS-1$
         }
 
         // OID Field

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorSourceCodePage.java Wed Mar 28 08:51:57 2007
@@ -56,7 +56,7 @@
     public static final String ID = AttributeTypeEditor.ID + "sourceCodePage"; //$NON-NLS-1$
 
     /** The page title */
-    public static String TITLE = Messages.getString( "AttributeTypeFormEditor.Source_Code" ); //$NON-NLS-1$
+    public static String TITLE = Messages.getString( "AttributeTypeEditorSourceCodePage.Source_Code" ); //$NON-NLS-1$
 
     /** The modified attribute type */
     private AttributeType modifiedAttributeType;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorUsedByPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorUsedByPage.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorUsedByPage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/attributeType/AttributeTypeEditorUsedByPage.java Wed Mar 28 08:51:57 2007
@@ -21,6 +21,7 @@
 package org.apache.directory.ldapstudio.schemas.view.editors.attributeType;
 
 
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.model.AttributeType;
 import org.apache.directory.ldapstudio.schemas.model.LDAPModelEvent;
 import org.apache.directory.ldapstudio.schemas.model.ObjectClass;
@@ -55,10 +56,10 @@
 public class AttributeTypeEditorUsedByPage extends FormPage implements PoolListener
 {
     /** The page ID */
-    public static final String ID = AttributeTypeEditor.ID + "usedByPage";
+    public static final String ID = AttributeTypeEditor.ID + "usedByPage"; //$NON-NLS-1$
 
     /** The page title */
-    public static String TITLE = "Used By";
+    public static String TITLE = Messages.getString( "AttributeTypeEditorUsedByPage.Used_By" ); //$NON-NLS-1$
 
     /** The modified attribute type */
     private AttributeType modifiedAttributeType;
@@ -179,9 +180,9 @@
         // As Mandatory Attribute Section
         Section mandatoryAttributeSection = toolkit.createSection( parent, Section.DESCRIPTION | Section.EXPANDED
             | Section.TITLE_BAR );
-        mandatoryAttributeSection.setDescription( "The attribute type '" + modifiedAttributeType.getNames()[0]
-            + "' is used as a mandatory attribute in the following object classes." );
-        mandatoryAttributeSection.setText( "As Mandatory Attribute" );
+        mandatoryAttributeSection.setDescription( Messages.getString("AttributeTypeEditorUsedByPage.The_attribute_type") + " '" + modifiedAttributeType.getNames()[0] //$NON-NLS-1$ //$NON-NLS-2$
+            + "' " + Messages.getString("AttributeTypeEditorUsedByPage.is_used_as_a_mandatory_attribute_in_the_following_object_classes.") ); //$NON-NLS-1$ //$NON-NLS-2$
+        mandatoryAttributeSection.setText( Messages.getString("AttributeTypeEditorUsedByPage.As_Mandatory_Attribute") ); //$NON-NLS-1$
 
         // Creating the layout of the section
         Composite mandatoryAttributeSectionClient = toolkit.createComposite( mandatoryAttributeSection );
@@ -213,9 +214,9 @@
         // Matching Rules Section
         Section optionalAttributeSection = toolkit.createSection( parent, Section.DESCRIPTION | Section.EXPANDED
             | Section.TITLE_BAR );
-        optionalAttributeSection.setDescription( "The attribute type '" + modifiedAttributeType.getNames()[0]
-            + "' is used as an optional attribute in the following object classes." ); //$NON-NLS-1$
-        optionalAttributeSection.setText( "As Optional Attribute" ); //$NON-NLS-1$
+        optionalAttributeSection.setDescription( Messages.getString("AttributeTypeEditorUsedByPage.The_attribute_type") + " '" + modifiedAttributeType.getNames()[0] //$NON-NLS-1$ //$NON-NLS-2$
+            + "' " + Messages.getString("AttributeTypeEditorUsedByPage.is_used_as_an_optional_attribute_in_the_following_object_classes.") ); //$NON-NLS-1$ //$NON-NLS-2$
+        optionalAttributeSection.setText( Messages.getString("AttributeTypeEditorUsedByPage.As_Optional_Attribute") ); //$NON-NLS-1$
 
         // Creating the layout of the section
         Composite optionalAttributeSectionClient = toolkit.createComposite( optionalAttributeSection );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditor.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditor.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditor.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditor.java Wed Mar 28 08:51:57 2007
@@ -22,6 +22,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.model.ObjectClass;
 import org.apache.log4j.Logger;
 import org.eclipse.core.runtime.IProgressMonitor;
@@ -73,7 +74,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.Source_Code_Error_cannot_return_to_Overview_page") ); //$NON-NLS-1$
                     return;
                 }
 
@@ -164,7 +165,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.Source_Code_Error_cannot_save_object_class") ); //$NON-NLS-1$
             monitor.setCanceled( true );
             return;
         }

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorInput.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorInput.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorInput.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorInput.java Wed Mar 28 08:51:57 2007
@@ -92,7 +92,7 @@
     public String getToolTipText()
     {
         return this.objectClass.getNames()[0]
-            + Messages.getString( "ObjectClassFormEditorInput.In_the" ) + this.objectClass.getOriginatingSchema().getName() + Messages.getString( "ObjectClassFormEditorInput.Schema" ); //$NON-NLS-1$ //$NON-NLS-2$
+            + Messages.getString( "ObjectClassEditorInput.In_the" ) + this.objectClass.getOriginatingSchema().getName() + Messages.getString( "ObjectClassEditorInput.Schema" ); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorOverviewPage.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorOverviewPage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorOverviewPage.java Wed Mar 28 08:51:57 2007
@@ -83,10 +83,10 @@
 public class ObjectClassEditorOverviewPage extends FormPage
 {
     /** The page ID */
-    public static final String ID = ObjectClassEditor.ID + "overviewPage";
+    public static final String ID = ObjectClassEditor.ID + "overviewPage"; //$NON-NLS-1$
 
     /** The page title*/
-    public static final String TITLE = Messages.getString( "ObjectClassFormEditor.Overview" );
+    public static final String TITLE = Messages.getString( "ObjectClassEditorOverviewPage.Overview" ); //$NON-NLS-1$
 
     /** The original object class */
     private ObjectClass originalObjectClass;
@@ -139,7 +139,7 @@
                 }
                 else
                 {
-                    aliasesLabel.setText( Messages.getString( "AttributeTypeFormEditorOverviewPage.(None)" ) );
+                    aliasesLabel.setText( Messages.getString( "ObjectClassEditorOverviewPage.(None)" ) ); //$NON-NLS-1$
                 }
                 setEditorDirty();
             }
@@ -152,7 +152,7 @@
         public void modifyText( ModifyEvent e )
         {
             oidText.setForeground( ViewUtils.COLOR_BLACK );
-            oidText.setToolTipText( "" );
+            oidText.setToolTipText( "" ); //$NON-NLS-1$
 
             String oid = oidText.getText();
 
@@ -166,13 +166,13 @@
                 else
                 {
                     oidText.setForeground( ViewUtils.COLOR_RED );
-                    oidText.setToolTipText( "An element with same oid already exists." );
+                    oidText.setToolTipText( Messages.getString("ObjectClassEditorOverviewPage.An_element_with_same_oid_already_exists.") ); //$NON-NLS-1$
                 }
             }
             else
             {
                 oidText.setForeground( ViewUtils.COLOR_RED );
-                oidText.setToolTipText( "Malformed OID." );
+                oidText.setToolTipText( Messages.getString("ObjectClassEditorOverviewPage.Malformed_OID.") ); //$NON-NLS-1$
             }
         }
     };
@@ -182,7 +182,7 @@
     {
         public void verifyText( VerifyEvent e )
         {
-            if ( !e.text.matches( "([0-9]*\\.?)*" ) )
+            if ( !e.text.matches( "([0-9]*\\.?)*" ) ) //$NON-NLS-1$
             {
                 e.doit = false;
             }
@@ -713,9 +713,9 @@
         // General Information Section
         Section section_general_information = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
         section_general_information.setDescription( Messages
-            .getString( "ObjectClassFormEditorOverviewPage.General_Information_Section_Description" ) ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.General_Information_Section_Description" ) ); //$NON-NLS-1$
         section_general_information.setText( Messages
-            .getString( "ObjectClassFormEditorOverviewPage.General_Information_Section_Text" ) ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.General_Information_Section_Text" ) ); //$NON-NLS-1$
         section_general_information.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, true ) );
 
         // Creating the layout of the section
@@ -726,27 +726,27 @@
 
         // ALIASES Button
         toolkit.createLabel( client_general_information, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Aliases" ) ); //$NON-NLS-1$
-        aliasesLabel = toolkit.createLabel( client_general_information, "" );
+            .getString( "ObjectClassEditorOverviewPage.Aliases" ) ); //$NON-NLS-1$
+        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, "" );
+        toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
         aliasesButton = toolkit.createButton( client_general_information, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Edit_Aliases" ), SWT.PUSH ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Edit_Aliases" ), SWT.PUSH ); //$NON-NLS-1$
         aliasesButton.setLayoutData( new GridData( SWT.NONE, SWT.NONE, false, false, 2, 1 ) );
 
         // OID Field
-        toolkit.createLabel( client_general_information, Messages.getString( "ObjectClassFormEditorOverviewPage.OID" ) ); //$NON-NLS-1$
+        toolkit.createLabel( client_general_information, Messages.getString( "ObjectClassEditorOverviewPage.OID" ) ); //$NON-NLS-1$
         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 ); //$NON-NLS-1$
         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, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Description" ) ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Description" ) ); //$NON-NLS-1$
         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;
@@ -754,7 +754,7 @@
 
         // SUPERIORS Table
         toolkit.createLabel( client_general_information, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Superior_classes" ) ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Superior_classes" ) ); //$NON-NLS-1$
         superiorsTable = toolkit.createTable( client_general_information, SWT.SINGLE | SWT.V_SCROLL );
         GridData gridData = new GridData( SWT.FILL, SWT.NONE, true, false );
         gridData.heightHint = 45;
@@ -766,15 +766,15 @@
         Composite superiorsButtonComposite = toolkit.createComposite( client_general_information );
         superiorsButtonComposite.setLayout( new GridLayout() );
         addButtonSuperiorsTable = toolkit.createButton( superiorsButtonComposite, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Add..." ), SWT.PUSH );
+            .getString( "ObjectClassEditorOverviewPage.Add..." ), SWT.PUSH ); //$NON-NLS-1$
         addButtonSuperiorsTable.setLayoutData( new GridData( SWT.FILL, SWT.NONE, false, false ) );
         removeButtonSuperiorsTable = toolkit.createButton( superiorsButtonComposite, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Remove" ), SWT.PUSH );
+            .getString( "ObjectClassEditorOverviewPage.Remove" ), SWT.PUSH ); //$NON-NLS-1$
         removeButtonSuperiorsTable.setLayoutData( new GridData( SWT.FILL, SWT.NONE, false, false ) );
 
         // CLASS TYPE Combo
         toolkit.createLabel( client_general_information, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Class_type" ) ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Class_type" ) ); //$NON-NLS-1$
         classTypeCombo = new Combo( client_general_information, SWT.READ_ONLY | SWT.SINGLE );
         classTypeCombo.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
         initClassTypeCombo();
@@ -782,7 +782,7 @@
         // OBSOLETE Checkbox
         toolkit.createLabel( client_general_information, "" ); //$NON-NLS-1$
         obsoleteCheckbox = toolkit.createButton( client_general_information, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Obsolete" ), SWT.CHECK ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Obsolete" ), SWT.CHECK ); //$NON-NLS-1$
         obsoleteCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
     }
 
@@ -799,9 +799,9 @@
     {
         // MANDATORY ATTRIBUTES Section
         Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
-        section.setText( Messages.getString( "ObjectClassFormEditorOverviewPage.Mandatory_Attribute_Section_Text" ) ); //$NON-NLS-1$
+        section.setText( Messages.getString( "ObjectClassEditorOverviewPage.Mandatory_Attribute_Section_Text" ) ); //$NON-NLS-1$
         section.setDescription( Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Mandatory_Attribute_Section_Description" ) ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Mandatory_Attribute_Section_Description" ) ); //$NON-NLS-1$
         section.setExpanded( true );
         Composite client = toolkit.createComposite( section );
         section.setClient( client );
@@ -823,9 +823,9 @@
         mandatoryAttributesTableViewer.setLabelProvider( new ObjectClassEditorAttributesTableLabelProvider() );
 
         addButtonMandatoryTable = toolkit.createButton( client, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Add..." ), SWT.PUSH ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Add..." ), SWT.PUSH ); //$NON-NLS-1$
         removeButtonMandatoryTable = toolkit.createButton( client, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Remove" ), SWT.PUSH ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Remove" ), SWT.PUSH ); //$NON-NLS-1$
         gd = new GridData( GridData.VERTICAL_ALIGN_BEGINNING );
         addButtonMandatoryTable.setLayoutData( gd );
         removeButtonMandatoryTable.setLayoutData( gd );
@@ -847,9 +847,9 @@
     {
         // OPTIONAL ATTRIBUTES Section
         Section section = toolkit.createSection( parent, Section.DESCRIPTION | Section.TITLE_BAR );
-        section.setText( Messages.getString( "ObjectClassFormEditorOverviewPage.Optionnal_Attributes_Section_Text" ) ); //$NON-NLS-1$
+        section.setText( Messages.getString( "ObjectClassEditorOverviewPage.Optionnal_Attributes_Section_Text" ) ); //$NON-NLS-1$
         section.setDescription( Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Optionnal_Attributes_Section_Description" ) ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Optionnal_Attributes_Section_Description" ) ); //$NON-NLS-1$
         section.setExpanded( true );
         Composite client = toolkit.createComposite( section );
         section.setClient( client );
@@ -871,9 +871,9 @@
         optionalAttributesTableViewer.setLabelProvider( new ObjectClassEditorAttributesTableLabelProvider() );
 
         addButtonOptionalTable = toolkit.createButton( client, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Add..." ), SWT.PUSH ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Add..." ), SWT.PUSH ); //$NON-NLS-1$
         removeButtonOptionalTable = toolkit.createButton( client, Messages
-            .getString( "ObjectClassFormEditorOverviewPage.Remove" ), SWT.PUSH ); //$NON-NLS-1$
+            .getString( "ObjectClassEditorOverviewPage.Remove" ), SWT.PUSH ); //$NON-NLS-1$
         gd = new GridData( GridData.VERTICAL_ALIGN_BEGINNING );
         addButtonOptionalTable.setLayoutData( gd );
         removeButtonOptionalTable.setLayoutData( gd );
@@ -895,7 +895,7 @@
         }
         else
         {
-            aliasesLabel.setText( Messages.getString( "AttributeTypeFormEditorOverviewPage.(None)" ) );
+            aliasesLabel.setText( Messages.getString( "ObjectClassEditorOverviewPage.(None)" ) ); //$NON-NLS-1$
         }
 
         // OID Field
@@ -947,9 +947,9 @@
      */
     private void initClassTypeCombo()
     {
-        classTypeCombo.add( Messages.getString( "ObjectClassFormEditorOverviewPage.Abstract" ), 0 ); //$NON-NLS-1$
-        classTypeCombo.add( Messages.getString( "ObjectClassFormEditorOverviewPage.Auxiliary" ), 1 ); //$NON-NLS-1$
-        classTypeCombo.add( Messages.getString( "ObjectClassFormEditorOverviewPage.Structural" ), 2 ); //$NON-NLS-1$
+        classTypeCombo.add( Messages.getString( "ObjectClassEditorOverviewPage.Abstract" ), 0 ); //$NON-NLS-1$
+        classTypeCombo.add( Messages.getString( "ObjectClassEditorOverviewPage.Auxiliary" ), 1 ); //$NON-NLS-1$
+        classTypeCombo.add( Messages.getString( "ObjectClassEditorOverviewPage.Structural" ), 2 ); //$NON-NLS-1$
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/objectClass/ObjectClassEditorSourceCodePage.java Wed Mar 28 08:51:57 2007
@@ -53,10 +53,10 @@
 public class ObjectClassEditorSourceCodePage extends FormPage
 {
     /** The page ID */
-    public static final String ID = ObjectClassEditor.ID + "sourceCodePage";
+    public static final String ID = ObjectClassEditor.ID + "sourceCodePage"; //$NON-NLS-1$
 
     /** The page title*/
-    public static final String TITLE = Messages.getString( "ObjectClassFormEditor.Source_Code" );
+    public static final String TITLE = Messages.getString( "ObjectClassEditorSourceCodePage.Source_Code" ); //$NON-NLS-1$
 
     /** The modified object class */
     private ObjectClass modifiedObjectClass;

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorInput.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorInput.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorInput.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorInput.java Wed Mar 28 08:51:57 2007
@@ -88,7 +88,7 @@
      */
     public String getToolTipText()
     {
-        return Messages.getString( "SchemaFormEditorInput.Source_code_of" ) + this.schema.getName(); //$NON-NLS-1$
+        return Messages.getString( "SchemaEditorInput.Source_code_of" ) + this.schema.getName(); //$NON-NLS-1$
     }
 
 

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorOverviewPage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorOverviewPage.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorOverviewPage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorOverviewPage.java Wed Mar 28 08:51:57 2007
@@ -22,6 +22,7 @@
 
 
 import org.apache.directory.ldapstudio.schemas.Activator;
+import org.apache.directory.ldapstudio.schemas.Messages;
 import org.apache.directory.ldapstudio.schemas.PluginConstants;
 import org.apache.directory.ldapstudio.schemas.model.AttributeType;
 import org.apache.directory.ldapstudio.schemas.model.LDAPModelEvent;
@@ -63,10 +64,10 @@
 public class SchemaEditorOverviewPage extends FormPage
 {
     /** The page ID */
-    public static final String ID = SchemaEditor.ID + "overviewPage";
+    public static final String ID = SchemaEditor.ID + "overviewPage"; //$NON-NLS-1$
 
     /** The page title */
-    public static final String TITLE = "Overview";
+    public static final String TITLE = Messages.getString("SchemaEditorOverviewPage.Overview"); //$NON-NLS-1$
 
     /** The Schema Pool */
     private SchemaPool schemaPool;
@@ -182,9 +183,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.The_schema") + schema.getName() //$NON-NLS-1$
+            + Messages.getString("SchemaEditorOverviewPage.contains_the_following_attribute_types.") ); //$NON-NLS-1$
+        attributeTypesSection.setText( Messages.getString("SchemaEditorOverviewPage.Attribute_types") ); //$NON-NLS-1$
 
         // Creating the layout of the section
         Composite attributeTypesSectionClient = toolkit.createComposite( attributeTypesSection );
@@ -213,9 +214,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.The_schema") + schema.getName() //$NON-NLS-1$
+            + Messages.getString("SchemaEditorOverviewPage.contains_the_following_object_classes.") ); //$NON-NLS-1$
+        objectClassesSection.setText( Messages.getString("SchemaEditorOverviewPage.Object_classes") ); //$NON-NLS-1$
 
         // Creating the layout of the section
         Composite objectClassesSectionClient = toolkit.createComposite( objectClassesSection );

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorSourceCodePage.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorSourceCodePage.java?view=diff&rev=523378&r1=523377&r2=523378
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorSourceCodePage.java (original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/editors/schema/SchemaEditorSourceCodePage.java Wed Mar 28 08:51:57 2007
@@ -51,10 +51,10 @@
 public class SchemaEditorSourceCodePage extends FormPage
 {
     /** The page ID */
-    public static final String ID = SchemaEditor.ID + "sourceCode";
+    public static final String ID = SchemaEditor.ID + "sourceCode"; //$NON-NLS-1$
 
     /** The page title */
-    public static final String TITLE = Messages.getString( "SchemaFormEditor.Source_code" );
+    public static final String TITLE = Messages.getString( "SchemaEditorSourceCodePage.Source_code" ); //$NON-NLS-1$
 
     /** The associated schema */
     private Schema schema;



Mime
View raw message