directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r521659 - in /directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main: java/org/apache/directory/ldapstudio/schemas/Messages.java resources/org/apache/directory/ldapstudio/schemas/messages.properties
Date Fri, 23 Mar 2007 10:25:17 GMT
Author: pamarcelot
Date: Fri Mar 23 03:25:16 2007
New Revision: 521659

URL: http://svn.apache.org/viewvc?view=rev&rev=521659
Log:
Deleted messages.properties and Messages classes.
Centralized all UI Strings in a unique messages.properties file (Access to theses String is
done through a unique Messages class).

Added:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/Messages.java
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/resources/org/apache/directory/ldapstudio/schemas/messages.properties

Added: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/Messages.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/Messages.java?view=auto&rev=521659
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/Messages.java
(added)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/Messages.java
Fri Mar 23 03:25:16 2007
@@ -0,0 +1,51 @@
+/*
+ *  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.ldapstudio.schemas;
+
+
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+
+public class Messages
+{
+    private static final String BUNDLE_NAME = "org.apache.directory.ldapstudio.schemas.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 + '!';
+        }
+    }
+}

Added: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/resources/org/apache/directory/ldapstudio/schemas/messages.properties
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/resources/org/apache/directory/ldapstudio/schemas/messages.properties?view=auto&rev=521659
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/resources/org/apache/directory/ldapstudio/schemas/messages.properties
(added)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/resources/org/apache/directory/ldapstudio/schemas/messages.properties
Fri Mar 23 03:25:16 2007
@@ -0,0 +1,234 @@
+#
+#  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.  
+
+#
+# This file stores the Strings used by the User Interface of the application
+#
+
+# CreateANewAttributeTypeAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+CreateANewAttributeTypeAction.Create_a_new_attribute_type=Create a new attribute type
+CreateANewAttributeTypeAction.A_schema_must_be_selected=A schema must be selected to add
a new attribute type.
+CreateANewAttributeTypeAction.The_schema=The schema "
+CreateANewAttributeTypeAction.Is_a_core_schema_It_cant_be_modified=" is a core schema. It
can't be modified.
+
+# CreateANewObjectClassAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+CreateANewObjectClassAction.Create_a_new_object_class=Create a new object class
+CreateANewObjectClassAction.A_schema_must_be_selected=A schema must be selected to add a
new object class.
+CreateANewObjectClassAction.The_schema=The schema "
+CreateANewObjectClassAction.Is_a_core_schema_It_cant_be_modified=" is a core schema. It can't
be modified.
+
+# CreateANewSchemaAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+CreateANewSchemaAction.Create_a_new_schema=Create a new schema
+
+# DeleteAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+DeleteAction.Delete_the_selected_item=Delete the selected item
+DeleteAction.This_item_cant_be_deleted=This item can't be deleted.
+DeleteAction.The_schema=The schema "
+DeleteAction.Is_a_core_schema_It_cant_be_modified=" is a core schema. It can't be modified.
+DeleteAction.Are_you_sure_you_want_to_delete_the_attribute_type=Are you sure you want to
delete the attribute type "
+DeleteAction.Interrogation="?
+DeleteAction.Are_you_sure_you_want_to_delete_the_object_class=Are you sure you want to delete
the object class "
+
+# OpenLocalFileAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+OpenLocalFileAction.Open_a_schema_file=Open a schema file
+
+# RemoveSchemaAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+RemoveSchemaAction.Remove_the_selected_schema=Remove the selected schema
+RemoveSchemaAction.The_schema=The schema "
+RemoveSchemaAction.Is_a_core_schema_It_cant_be_removed_from_the_pool=" is a core schema.
It can't be removed from the pool.
+RemoveSchemaAction.This_schema_has_been_modified_or_has_pending_modifications=This schema
has been modified or has pending modifications in opened editors, are you sure you want to
remove it from the pool without saving it first ?
+
+# SaveAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+SaveAction.Save_schema=Save schema
+SaveAction.Error=Error
+SaveAction.An_error_occurred_when_saving_schema=An error occurred when saving schema 
+
+# SaveAllAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+SaveAllAction.Error=Error
+SaveAllAction.Save_all_schemas=Save all schemas
+SaveAllAction.An_error_occured_when_saving_schemas=An error occured when saving schemas
+
+# SaveAsAction  -  org.apache.directory.ldapstudio.schemas.controller.actions
+SaveAsAction.Error=Error
+SaveAsAction.Save_schema_as=Save schema as...
+SaveAsAction.An_error_occurred_when_saving_schemas=An error occurred when saving schema 
+
+# SchemaParser  -  org.apache.directory.ldapstudio.schemas.io
+SchemaParser.No_path_or_url_specified=Schema parser: no path or url specified\!
+SchemaParser.An_error_has_occurred_when_parsing_the_file=An error has occurred when parsing
the file : 
+SchemaParser.The_schema_cannot_be_opened=.\nThe schema cannot be opened.
+
+# Schema  -  org.apache.directory.ldapstudio.schemas.model
+Schema.The_schema=The schema "
+Schema.Has_pending_modifications_in_editors_Do_you_want_to_apply_them=" has pending modifications
in editors. Do you want to apply them?
+Schema.Has_been_modified_Do_you_want_to_save_it=" has been modified. Do you want to save
it?
+Schema.Save_this_schema=Save this schema: 
+Schema.Schema_files=Schema files
+Schema.All_files=All files
+Schema.A_schema_of_the_same_name_is_already_loaded_in_the_pool=A schema of the same name
is already loaded in the pool. Save aborded \!
+
+# AttributeTypeSelectionDialog  -  org.apache.directory.ldapstudio.schemas.view.dialogs
+AttributeTypeSelectionDialog.Attribute_Type_Selection=Attribute Type Selection
+AttributeTypeSelectionDialog.Choose_an_attribute_type=Choose an attribute type:
+AttributeTypeSelectionDialog.Matching_attribute_type(s)=Matching attribute type(s):
+AttributeTypeSelectionDialog.Add=Add
+AttributeTypeSelectionDialog.Invalid_Selection=Invalid Selection
+AttributeTypeSelectionDialog.You_have_to_choose_an_attribute_type=You have to choose an attribute
type.
+AttributeTypeSelectionDialog.Name=Name
+AttributeTypeSelectionDialog.Schema=Schema
+
+# ManageAliasesDialog  -  org.apache.directory.ldapstudio.schemas.view.dialogs
+ManageAliasesDialog.Manage_aliases=Manage aliases
+ManageAliasesDialog.Aliases=Aliases:
+ManageAliasesDialog.Add_an_alias=Add an alias:
+ManageAliasesDialog.Add=Add
+ManageAliasesDialog.Delete=Delete
+
+# ObjectClassSelectionDialog  -  org.apache.directory.ldapstudio.schemas.view.dialogs
+ObjectClassSelectionDialog.Object_Class_Selection=Object Class Selection
+ObjectClassSelectionDialog.Choose_an_object_class=Choose an object class:
+ObjectClassSelectionDialog.Matching_object_class(es)=Matching object class(es):
+ObjectClassSelectionDialog.Add=Add
+ObjectClassSelectionDialog.Invalid_Selection=Invalid Selection
+ObjectClassSelectionDialog.You_have_to_choose_an_object_class=You have to choose an object
class.
+
+# AttributeTypeFormEditor  -  org.apache.directory.ldapstudio.schemas.view.editors
+AttributeTypeFormEditor.Overview=Overview
+AttributeTypeFormEditor.Source_Code=Source Code
+
+# AttributeTypeFormEditorInput  -  org.apache.directory.ldapstudio.schemas.view.editors
+AttributeTypeFormEditorInput.In_the=\ in the "
+AttributeTypeFormEditorInput.Schema=" schema
+
+# AttributeTypeFormEditorOverviewPage  -  org.apache.directory.ldapstudio.schemas.view.editors
+AttributeTypeFormEditorOverviewPage.General_Section_Description=Specify general information
(name, OID, etc.).
+AttributeTypeFormEditorOverviewPage.General_Section_Text=General information
+AttributeTypeFormEditorOverviewPage.Aliases=Aliases:
+AttributeTypeFormEditorOverviewPage.Manage_Aliases=Manage Aliases
+AttributeTypeFormEditorOverviewPage.OID=OID:
+AttributeTypeFormEditorOverviewPage.Description=Description:
+AttributeTypeFormEditorOverviewPage.Superior_type=Superior type:
+AttributeTypeFormEditorOverviewPage.Usage=Usage:
+AttributeTypeFormEditorOverviewPage.Synatx=Syntax:
+AttributeTypeFormEditorOverviewPage.Syntax_length=Syntax length:
+AttributeTypeFormEditorOverviewPage.Obsolete=Obsolete
+AttributeTypeFormEditorOverviewPage.Single-Value=Single-Value
+AttributeTypeFormEditorOverviewPage.Collective=Collective
+AttributeTypeFormEditorOverviewPage.No-User-Modification=No-User-Modification
+AttributeTypeFormEditorOverviewPage.Specify_matching_rules=Specify matching rules (Equality,
Ordering & Substring).
+AttributeTypeFormEditorOverviewPage.Matching_Rules=Matching Rules
+AttributeTypeFormEditorOverviewPage.Equility=Equality:
+AttributeTypeFormEditorOverviewPage.Ordering=Ordering:
+AttributeTypeFormEditorOverviewPage.Substring=Substring:
+AttributeTypeFormEditorOverviewPage.(None)=(None)
+
+# ObjectClassFormEditor  -  org.apache.directory.ldapstudio.schemas.view.editors
+ObjectClassFormEditor.Overview=Overview
+ObjectClassFormEditor.Source_Code=Source Code
+
+# ObjectClassFormEditorInput  -  org.apache.directory.ldapstudio.schemas.view.editors
+ObjectClassFormEditorInput.In_the=\ in the "
+ObjectClassFormEditorInput.Schema=" schema
+
+# ObjectClassFormEditorOverviewPage  -  org.apache.directory.ldapstudio.schemas.view.editors
+ObjectClassFormEditorOverviewPage.General_Information_Section_Description=Specify general
information (name, OID, etc.).
+ObjectClassFormEditorOverviewPage.General_Information_Section_Text=General information
+ObjectClassFormEditorOverviewPage.Aliases=Aliases:
+ObjectClassFormEditorOverviewPage.Manage_Aliases=Manage aliases
+ObjectClassFormEditorOverviewPage.OID=OID:
+ObjectClassFormEditorOverviewPage.Description=Description:
+ObjectClassFormEditorOverviewPage.Superior_classes=Superior classes:
+ObjectClassFormEditorOverviewPage.Class_type=Class type:
+ObjectClassFormEditorOverviewPage.Obsolete=Obsolete
+ObjectClassFormEditorOverviewPage.Mandatory_Attribute_Section_Text=Mandatory attributes
+ObjectClassFormEditorOverviewPage.Mandatory_Attribute_Section_Description=Specify the mandatory
attribute types.
+ObjectClassFormEditorOverviewPage.Add...=Add...
+ObjectClassFormEditorOverviewPage.Remove=Remove
+ObjectClassFormEditorOverviewPage.Invalid_Selection=Invalid Selection
+ObjectClassFormEditorOverviewPage.The_selected_attribute_type_is_already_in_the_Optionnal_Attributes_section=The
selected attribute type is already in the Optionnal Attributes section
+ObjectClassFormEditorOverviewPage.The_selected_attribute_type_is_already_in_the_this_section=The
selected attribute type is already in the this section
+ObjectClassFormEditorOverviewPage.Optionnal_Attributes_Section_Text=Optional attributes
+ObjectClassFormEditorOverviewPage.Optionnal_Attributes_Section_Description=Specify the optional
attribute types.
+ObjectClassFormEditorOverviewPage.The_selected_attribute_type_is_already_in_the_Mandatory_Attributes_section=The
selected attribute type is already in the Mandatory Attributes section
+ObjectClassFormEditorOverviewPage.(None)=(None)
+ObjectClassFormEditorOverviewPage.Abstract=Abstract
+ObjectClassFormEditorOverviewPage.Auxiliary=Auxiliary
+ObjectClassFormEditorOverviewPage.Structural=Structural
+
+# SchemaFormEditor  -  org.apache.directory.ldapstudio.schemas.view.editors
+SchemaFormEditor.Source_code=Source code
+
+# SchemaFormEditorInput  -  org.apache.directory.ldapstudio.schemas.view.editors
+SchemaFormEditorInput.Source_code_of=Source code of 
+
+# GeneralPreferencePage  -  org.apache.directory.ldapstudio.schemas.view.preferences
+GeneralPreferencePage.Your_organizations_default_OID=Your organization's default OID:
+GeneralPreferencePage.Automatically_prefix_new_elements_with_this_OID=Automatically prefix
new elements with this OID
+
+# SchemaPreferencePage  -  org.apache.directory.ldapstudio.schemas.view.preferences
+SchemaPreferencePage.Default_save-load_dialogs_directory=Default save/load dialogs directory:
+SchemaPreferencePage.Save_schemas_configuration_when_exiting_LDAP_Studio=Save schemas configuration
when exiting LDAP Studio
+SchemaPreferencePage.Use_specific_core_files=Use specific core files (if not selected, core
schemas are loaded from LDAPStudio's bundle)
+SchemaPreferencePage.Core_schemas_directory=Core schemas directory:
+
+# SearchContentProvider  -  org.apache.directory.ldapstudio.schemas.view.viewers
+SearchContentProvider.Search=Search
+
+# SearchView  -  org.apache.directory.ldapstudio.schemas.view.viewers
+SearchView.Type_Column=Type
+SearchView.Name_Column=Name
+SearchView.Schema_Column=Schema
+SearchView.Search_All_metadata=All metadata
+SearchView.Search_Name=Name
+SearchView.Search_OID=OID
+SearchView.Search_Description=Description
+
+# SearchContentProvider  -  org.apache.directory.ldapstudio.schemas.view.viewers
+SearchContentProvider.Search_(=Search (
+SearchContentProvider.Results)=\ results)
+
+# CreateANewAttributeTypeWizardPage  -  org.apache.directory.ldapstudio.schemas.view.wizards
+CreateANewAttributeTypeWizardPage.Page_Title=Create a new attribute type
+CreateANewAttributeTypeWizardPage.Page_Description=This wizard creates a new attribute type.
+CreateANewAttributeTypeWizardPage.Prefix_with_the_default_OID=Prefix with the default OID
+CreateANewAttributeTypeWizardPage.OID=&OID :
+CreateANewAttributeTypeWizardPage.Name=&Name :
+CreateANewAttributeTypeWizardPage.An_OID_must_be_specified=An OID must be specified.
+CreateANewAttributeTypeWizardPage.Malformed_OID=Malformed OID.
+CreateANewAttributeTypeWizardPage.A_name_must_be_specified=A name must be specified.
+CreateANewAttributeTypeWizardPage.An_element_of_the_same_OID_already_exists=An element of
the same OID already exists.
+CreateANewAttributeTypeWizardPage.An_element_of_the_same_name_already_exists=An element of
the same name already exists.
+CreateANewObjectClassWizardPage.An_element_of_the_same_name_already_exists=An element of
the same name already exists.
+
+# CreateANewObjectClassWizardPage  -  org.apache.directory.ldapstudio.schemas.view.wizards
+CreateANewObjectClassWizardPage.Page_Title=Create a new object class
+CreateANewObjectClassWizardPage.Malforme_OID=Malformed OID.
+CreateANewObjectClassWizardPage.OID=&OID :
+CreateANewObjectClassWizardPage.Name=&Name :
+CreateANewObjectClassWizardPage.Page_Description=This wizard creates a new object class.
+CreateANewObjectClassWizardPage.Prefix_with_the_default_OID=Prefix with the default OID
+CreateANewObjectClassWizardPage.An_OID_must_be_specified=An OID must be specified.
+CreateANewObjectClassWizardPage.A_name_must_be_specified=A name must be specified.
+CreateANewObjectClassWizardPage.An_element_of_the_same_OID_already_exists=An element of the
same OID already exists.
+
+# CreateANewSchemaWizardPage  -  org.apache.directory.ldapstudio.schemas.view.wizards
+CreateANewSchemaWizardPage.Page_Description=This wizard creates a new schema.
+CreateANewSchemaWizardPage.Page_Title=Create a new schema
+CreateANewSchemaWizardPage.Name=&Name :
+CreateANewSchemaWizardPage.A_schema_of_the_same_name_is_already_loaded_in_the_pool=A schema
of the same name is already loaded in the pool.
+CreateANewSchemaWizardPage.A_name_must_be_specified=A name must be specified.



Mime
View raw message