Author: sflanigan
Date: 2009-07-05 21:01:23 -0400 (Sun, 05 Jul 2009)
New Revision: 16390
Added:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/Messages.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/messages.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-3557 Externalize English strings
Added:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/Messages.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/Messages.java
(rev 0)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/Messages.java 2009-07-06
01:01:23 UTC (rev 16390)
@@ -0,0 +1,108 @@
+package org.jboss.tools.hibernate.ui.xml.form;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME =
"org.jboss.tools.hibernate.ui.xml.form.messages"; //$NON-NLS-1$
+ public static String HibConfig3CacheFormLayoutData_Folder;
+ public static String HibConfig3CacheFormLayoutData_Item;
+ public static String HibConfig3CacheFormLayoutData_List;
+ public static String HibConfig3EventFormLayoutData_Class;
+ public static String HibConfig3EventFormLayoutData_Folder;
+ public static String HibConfig3EventFormLayoutData_EventHeader;
+ public static String HibConfig3EventFormLayoutData_List;
+ public static String HibConfig3EventFormLayoutData_ListenerFolder;
+ public static String HibConfig3EventFormLayoutData_ListenerList;
+ public static String HibConfig3EventFormLayoutData_Type;
+ public static String HibConfig3FileFormLayoutData_Header;
+ public static String HibConfig3MappingFormLayoutData_Folder;
+ public static String HibConfig3MappingFormLayoutData_List;
+ public static String HibConfig3MappingFormLayoutData_Item;
+ public static String HibConfig3PropertyFormLayoutData_Name;
+ public static String HibConfig3PropertyFormLayoutData_Folder;
+ public static String HibConfig3PropertyFormLayoutData_List;
+ public static String HibConfig3SessionFormLayoutData_Header;
+ public static String Hibernate3AnyFormLayoutData_Advanced;
+ public static String Hibernate3AnyFormLayoutData_General;
+ public static String Hibernate3AnyFormLayoutData_List;
+ public static String Hibernate3ColumnFormLayoutData_List;
+ public static String Hibernate3FormulaFormLayoutData_Formula;
+ public static String Hibernate3FormulaFormLayoutData_FormulaList;
+ public static String Hibernate3IdFormLayoutData_Advanced;
+ public static String Hibernate3IdFormLayoutData_CollectionID;
+ public static String Hibernate3IdFormLayoutData_CompositeID;
+ public static String Hibernate3IdFormLayoutData_CompositeIndex;
+ public static String Hibernate3IdFormLayoutData_IDKeyProperties;
+ public static String Hibernate3IdFormLayoutData_IndexKeyProperties;
+ public static String Hibernate3KeyFormLayoutData_Advanced;
+ public static String Hibernate3KeyFormLayoutData_CompositeMapKey;
+ public static String Hibernate3KeyFormLayoutData_Index;
+ public static String Hibernate3KeyFormLayoutData_Key;
+ public static String Hibernate3KeyFormLayoutData_KeyManyToOne;
+ public static String Hibernate3KeyFormLayoutData_KeyProperties;
+ public static String Hibernate3KeyFormLayoutData_KeyProperty;
+ public static String Hibernate3KeyFormLayoutData_ListIndex;
+ public static String Hibernate3KeyFormLayoutData_MapKey;
+ public static String Hibernate3KeyFormLayoutData_MapKeyManyToMany;
+ public static String Hibernate3ListFormLayoutData_Array;
+ public static String Hibernate3ListFormLayoutData_ArrayAdvanced;
+ public static String Hibernate3ListFormLayoutData_ArrayElement;
+ public static String Hibernate3ListFormLayoutData_ArrayElementKind;
+ public static String Hibernate3ListFormLayoutData_ArrayIndex;
+ public static String Hibernate3ListFormLayoutData_ArrayIndexKind;
+ public static String Hibernate3ListFormLayoutData_ArrayKey;
+ public static String Hibernate3ListFormLayoutData_List;
+ public static String Hibernate3ListFormLayoutData_ListAdvanced;
+ public static String Hibernate3ListFormLayoutData_ListElement;
+ public static String Hibernate3ListFormLayoutData_ListElementKind;
+ public static String Hibernate3ListFormLayoutData_ListIndex;
+ public static String Hibernate3ListFormLayoutData_ListIndexKind;
+ public static String Hibernate3ListFormLayoutData_ListKey;
+ public static String Hibernate3ManyToOneFormLayoutData_Advanced;
+ public static String Hibernate3ManyToOneFormLayoutData_ManyToOne;
+ public static String Hibernate3MapFormLayoutData_Advanced;
+ public static String Hibernate3MapFormLayoutData_Element;
+ public static String Hibernate3MapFormLayoutData_ElementKind;
+ public static String Hibernate3MapFormLayoutData_Index;
+ public static String Hibernate3MapFormLayoutData_IndexKind;
+ public static String Hibernate3MapFormLayoutData_Key;
+ public static String Hibernate3MapFormLayoutData_Map;
+ public static String Hibernate3MetaFormLayoutData_Attr;
+ public static String Hibernate3MetaFormLayoutData_Class;
+ public static String Hibernate3MetaFormLayoutData_Folder;
+ public static String Hibernate3MetaFormLayoutData_List;
+ public static String Hibernate3MetaFormLayoutData_TuplizersFolder;
+ public static String Hibernate3MetaFormLayoutData_TuplizersList;
+ public static String Hibernate3MetaFormLayoutData_Value;
+ public static String Hibernate3OneToOneFormLayoutData_Advanced;
+ public static String Hibernate3OneToOneFormLayoutData_OneToOne;
+ public static String Hibernate3PropertyFormLayoutData_Advanced;
+ public static String Hibernate3PropertyFormLayoutData_Property;
+ public static String Hibernate3SetFormLayoutData_Bag;
+ public static String Hibernate3SetFormLayoutData_BagAdvanced;
+ public static String Hibernate3SetFormLayoutData_BagElement;
+ public static String Hibernate3SetFormLayoutData_BagElementKind;
+ public static String Hibernate3SetFormLayoutData_BagKey;
+ public static String Hibernate3SetFormLayoutData_Set;
+ public static String Hibernate3SetFormLayoutData_SetAdvanced;
+ public static String Hibernate3SetFormLayoutData_SetElement;
+ public static String Hibernate3SetFormLayoutData_SetElementKind;
+ public static String Hibernate3SetFormLayoutData_SetKey;
+ public static String Hibernate3SQLQueryFormLayoutData_QueryAdvanced;
+ public static String Hibernate3SQLQueryFormLayoutData_QueryReturns;
+ public static String Hibernate3SQLQueryFormLayoutData_ResultSet;
+ public static String Hibernate3SQLQueryFormLayoutData_ResultSetAdvanced;
+ public static String Hibernate3SQLQueryFormLayoutData_ResultSetReturns;
+ public static String Hibernate3SQLQueryFormLayoutData_ResultSetReturnScalars;
+ public static String Hibernate3SQLQueryFormLayoutData_QueryReturnScalars;
+ public static String Hibernate3SQLQueryFormLayoutData_SQLQuery;
+ public static String Hibernate3SQLQueryFormLayoutData_SyncFolder;
+ public static String Hibernate3SQLQueryFormLayoutData_SyncList;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
Added:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/messages.properties
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/messages.properties
(rev 0)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/messages.properties 2009-07-06
01:01:23 UTC (rev 16390)
@@ -0,0 +1,94 @@
+HibConfig3CacheFormLayoutData_Folder=Caches
+HibConfig3CacheFormLayoutData_Item=item
+HibConfig3CacheFormLayoutData_List=Caches
+HibConfig3EventFormLayoutData_Class=class
+HibConfig3EventFormLayoutData_Folder=Events
+HibConfig3EventFormLayoutData_EventHeader=Event
+HibConfig3EventFormLayoutData_List=Events
+HibConfig3EventFormLayoutData_ListenerFolder=Listeners
+HibConfig3EventFormLayoutData_ListenerList=Listeners
+HibConfig3EventFormLayoutData_Type=type
+HibConfig3FileFormLayoutData_Header=File Hibernate Configuration 3.0
+HibConfig3MappingFormLayoutData_Folder=Mappings
+HibConfig3MappingFormLayoutData_List=Mappings
+HibConfig3MappingFormLayoutData_Item=item
+HibConfig3PropertyFormLayoutData_Name=name
+HibConfig3PropertyFormLayoutData_Folder=Properties
+HibConfig3PropertyFormLayoutData_List=Properties
+HibConfig3SessionFormLayoutData_Header=Session Factory
+Hibernate3AnyFormLayoutData_Advanced=Advanced
+Hibernate3AnyFormLayoutData_General=Any
+Hibernate3AnyFormLayoutData_List=Meta Values
+Hibernate3ColumnFormLayoutData_List=Columns
+Hibernate3FormulaFormLayoutData_Formula=Formula
+Hibernate3FormulaFormLayoutData_FormulaList=Formulas
+Hibernate3IdFormLayoutData_Advanced=Advanced
+Hibernate3IdFormLayoutData_CollectionID=Collection ID
+Hibernate3IdFormLayoutData_CompositeID=Composite ID
+Hibernate3IdFormLayoutData_CompositeIndex=Composite Index
+Hibernate3IdFormLayoutData_IndexKeyProperties=Key Properties
+Hibernate3IdFormLayoutData_IDKeyProperties=Key Properties
+Hibernate3KeyFormLayoutData_Advanced=Advanced
+Hibernate3KeyFormLayoutData_CompositeMapKey=Composite Map key
+Hibernate3KeyFormLayoutData_Index=Index
+Hibernate3KeyFormLayoutData_Key=Key
+Hibernate3KeyFormLayoutData_KeyManyToOne=Key Many To One
+Hibernate3KeyFormLayoutData_KeyProperties=Key Properties
+Hibernate3KeyFormLayoutData_KeyProperty=Key Property
+Hibernate3KeyFormLayoutData_ListIndex=List Index
+Hibernate3KeyFormLayoutData_MapKey=Map Key
+Hibernate3KeyFormLayoutData_MapKeyManyToMany=Map Key Many To Many
+Hibernate3ListFormLayoutData_Array=Array
+Hibernate3ListFormLayoutData_ArrayAdvanced=Advanced
+Hibernate3ListFormLayoutData_ArrayElement=Element
+Hibernate3ListFormLayoutData_ArrayElementKind=Element Kind
+Hibernate3ListFormLayoutData_ArrayIndex=Index
+Hibernate3ListFormLayoutData_ArrayIndexKind=Index Kind
+Hibernate3ListFormLayoutData_ArrayKey=Key
+Hibernate3ListFormLayoutData_List=List
+Hibernate3ListFormLayoutData_ListAdvanced=Advanced
+Hibernate3ListFormLayoutData_ListElement=Element
+Hibernate3ListFormLayoutData_ListElementKind=Element Kind
+Hibernate3ListFormLayoutData_ListIndex=Index
+Hibernate3ListFormLayoutData_ListIndexKind=Index Kind
+Hibernate3ListFormLayoutData_ListKey=Key
+Hibernate3ManyToOneFormLayoutData_Advanced=Advanced
+Hibernate3ManyToOneFormLayoutData_ManyToOne=Many To One
+Hibernate3MapFormLayoutData_Advanced=Advanced
+Hibernate3MapFormLayoutData_Element=Element
+Hibernate3MapFormLayoutData_ElementKind=Element Kind
+Hibernate3MapFormLayoutData_Index=Index
+Hibernate3MapFormLayoutData_IndexKind=Index Kind
+Hibernate3MapFormLayoutData_Key=Key
+Hibernate3MapFormLayoutData_Map=Map
+Hibernate3MetaFormLayoutData_Attr=attribute
+Hibernate3MetaFormLayoutData_Class=class
+Hibernate3MetaFormLayoutData_Folder=Meta
+Hibernate3MetaFormLayoutData_List=Meta
+Hibernate3MetaFormLayoutData_TuplizersFolder=Tuplizers
+Hibernate3MetaFormLayoutData_TuplizersList=Tuplizers
+Hibernate3MetaFormLayoutData_Value=value
+Hibernate3OneToOneFormLayoutData_Advanced=Advanced
+Hibernate3OneToOneFormLayoutData_OneToOne=One To One
+Hibernate3PropertyFormLayoutData_Advanced=Advanced
+Hibernate3PropertyFormLayoutData_Property=Property
+Hibernate3SetFormLayoutData_Bag=Bag
+Hibernate3SetFormLayoutData_BagAdvanced=Advanced
+Hibernate3SetFormLayoutData_BagElement=Element
+Hibernate3SetFormLayoutData_BagElementKind=Element Kind
+Hibernate3SetFormLayoutData_BagKey=Key
+Hibernate3SetFormLayoutData_Set=Set
+Hibernate3SetFormLayoutData_SetAdvanced=Advanced
+Hibernate3SetFormLayoutData_SetElement=Element
+Hibernate3SetFormLayoutData_SetElementKind=Element Kind
+Hibernate3SetFormLayoutData_SetKey=Key
+Hibernate3SQLQueryFormLayoutData_QueryAdvanced=Advanced
+Hibernate3SQLQueryFormLayoutData_QueryReturns=Returns
+Hibernate3SQLQueryFormLayoutData_ResultSet=Result Set
+Hibernate3SQLQueryFormLayoutData_ResultSetAdvanced=Advanced
+Hibernate3SQLQueryFormLayoutData_ResultSetReturns=Returns
+Hibernate3SQLQueryFormLayoutData_ResultSetReturnScalars=Return Scalars
+Hibernate3SQLQueryFormLayoutData_QueryReturnScalars=Return Scalars
+Hibernate3SQLQueryFormLayoutData_SQLQuery=SQL Query
+Hibernate3SQLQueryFormLayoutData_SyncFolder=Synchronize
+Hibernate3SQLQueryFormLayoutData_SyncList=Synchronize