[jbosstools-commits] JBoss Tools SVN: r13030 - in trunk: as/plugins/org.jboss.ide.eclipse.as.ui and 36 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Jan 14 02:33:16 EST 2009


Author: sflanigan
Date: 2009-01-14 02:33:15 -0500 (Wed, 14 Jan 2009)
New Revision: 13030

Added:
   trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.properties
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/Messages.java
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/messages.properties
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/Messages.java
   trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/Messages.java
   trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/messages.properties
   trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/Messages.java
   trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/messages.properties
   trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.properties
   trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/Messages.java
   trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/messages.properties
   trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.properties
Modified:
   trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/build.properties
   trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.xml
   trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.properties
   trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
   trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.properties
   trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.xml
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.properties
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/XChildrenEditor.java
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/DecoratorTextPreferencesPage.java
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/MainPreferencePage.java
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/ClassTemplateComponent.java
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/messages.properties
   trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/AbstractResourceReferencesComposite.java
   trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.properties
   trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.xml
   trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/RulesConfigurationPage.java
   trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/VerificationPreferencePage.java
   trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF
   trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.properties
   trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml
   trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUI.properties
   trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUIMessages.java
   trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossRuntimeListFieldEditor.java
   trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.properties
   trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.xml
   trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties
   trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
   trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
   trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
   trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConnectionProfileCtrl.java
   trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
   trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIFEST.MF
   trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties
   trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.properties
   trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.xml
   trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java
   trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties
   trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java
   trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.properties
   trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.xml
   trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.properties
   trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.xml
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/AbstractImplementationsPreferencesPage.java
   trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties
   trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.properties
   trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
   trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
   trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
   trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
   trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.properties
   trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.xml
   trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/formset/ActionNames.java
   trunk/vpe/plugins/org.jboss.tools.vpe/plugin.properties
   trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml
   trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesPreferencePage.java
   trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java
   trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java
   trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties
   trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/META-INF/MANIFEST.MF
   trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/build.properties
   trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.xml
Log:
Externalising English strings in plugins so that they can be translated

Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/build.properties
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/build.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/build.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -2,6 +2,7 @@
 output.. = bin/
 bin.includes = META-INF/,\
                .,\
+               plugin.properties,\
                plugin.xml,\
                icons/,\
                schema/

Added: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.properties
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.properties	                        (rev 0)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,4 @@
+PreferencePage_ProjectArchives=Project Archives
+ProjectPropertiesPage_ProjectArchives=Project Archives
+ViewName_ProjectArchives=Project archives
+ViewCategory_JBossTools=JBoss Tools
\ No newline at end of file

Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.xml
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -7,7 +7,7 @@
    <extension
          point="org.eclipse.ui.views">
       <category
-            name="JBoss Tools"
+            name="%ViewCategory_JBossTools"
             id="org.jboss.tools.common.model.ui.views">
       </category>
       <view
@@ -16,7 +16,7 @@
             class="org.jboss.ide.eclipse.archives.ui.views.ProjectArchivesCommonView"
             icon="icons/jar_obj.gif"
             id="org.jboss.ide.eclipse.archives.ui.ProjectArchivesView"
-            name="Project archives"/>
+            name="%ViewName_ProjectArchives"/>
    </extension>
 
    <extension
@@ -58,7 +58,7 @@
       <page
             class="org.jboss.ide.eclipse.archives.ui.preferences.MainPreferencePage"
             id="org.jboss.ide.eclipse.archives.ui.archivesPreferencePage"
-            name="Project Archives"/>
+            name="%PreferencePage_ProjectArchives"/>
    </extension>
    
    
@@ -67,12 +67,12 @@
       <page
             class="org.jboss.ide.eclipse.archives.ui.preferences.MainPreferencePage"
             id="org.jboss.ide.eclipse.archives.ui.projectProperties"
-            name="Project Archives"
+            name="%ProjectPropertiesPage_ProjectArchives"
             objectClass="org.eclipse.core.resources.IProject"/>
       <page
             class="org.jboss.ide.eclipse.archives.ui.preferences.MainPreferencePage"
             id="org.jboss.ide.eclipse.archives.ui.projectProperties2"
-            name="Project Archives"
+            name="%ProjectPropertiesPage_ProjectArchives"
             objectClass="org.eclipse.jdt.core.IJavaProject"/>
    </extension>
    <extension

Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -13,4 +13,7 @@
 actionSets.serverActions.stopServer.label=Stop Server
 actionSets.serverActions.debugServer.label=Start Server in Debug Mode
 actionSets.serverActions.startServer.label=Start Server
-actionSets.serverActions.runApplicationFromSelectedElement.label=Run Application from Selected Element
\ No newline at end of file
+actionSets.serverActions.runApplicationFromSelectedElement.label=Run Application from Selected Element
+perspective.name=JBoss AS
+ViewName_JBossServerView=JBoss Server View
+ViewName_ServerLog=Server Log
\ No newline at end of file

Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -120,7 +120,7 @@
             class="org.jboss.ide.eclipse.as.ui.perspective.ASPerspective"
             icon="icons/jboss.gif"
             id="org.jboss.ide.eclipse.as.ui.ASPerspective"
-            name="JBoss AS"/>
+            name="%perspective.name"/>
    </extension>
       <extension
             point="org.eclipse.wst.server.ui.initialSelectionProvider">
@@ -264,7 +264,7 @@
    <extension point="org.eclipse.ui.views"> 
    	  <view
          id="org.jboss.ide.eclipse.as.ui.views.JBossServerView"
-         name="JBoss Server View"
+         name="%ViewName_JBossServerView"
          category="org.eclipse.wst.server.ui"
          class="org.jboss.tools.as.wst.server.ui.ServersView"
          icon="icons/jboss.gif"/>
@@ -273,7 +273,7 @@
             class="org.jboss.ide.eclipse.as.ui.views.ServerLogView"
             icon="icons/console.gif"
             id="org.jboss.ide.eclipse.as.ui.view.serverLogView"
-            name="Server Log"
+            name="%ViewName_ServerLog"
             restorable="true">
       </view>
    </extension>

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -30,4 +30,21 @@
 action.visitsite.label=Red Hat Web Site
 
 MainPreferencePage=JBoss Tools
+PreferencePage_Editors=Editors
+PreferencePage_LabelDecorations=Label Decorations
+PreferencePage_Templates=Templates
+PreferencePage_Web=Web
+ContentType_JBossToolsXML=JBoss Tools XML
 org.jboss.tools.common.model.ui.views=JBoss Tools
+CategoryName_experimental=JBoss Tools Experimental configuration
+CategoryDescription_experimental=It allows create Custom Capabilities, Library sets and Project templates for JSF/Struts projects
+ActivityName_templates=JSF/Struts Project Templates Development
+ExtensionName_attributeAdapter=Attribute Adapter
+ExtensionName_attributeContentProposalProviders=Attribute Content Proposal Providers
+ExtensionName_attributeEditor=Attribute Editor
+ExtensionName_InsertTagWizard=InsertTagWizard
+ExtensionName_labelDecorator=Model Object Label Decorator
+ExtensionName_metaTemplates=Meta Templates
+ExtensionName_paletteConstraints=Palette Constraints
+ExtensionName_xmlEditor=XML Editor
+PropertyPage_templates=Templates

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -2,14 +2,14 @@
 <?eclipse version="3.0"?>
 <plugin>
 
-   <extension-point id="attributeEditor" name="Attribute Editor" schema="schema/attributeEditor.exsd"/>
-   <extension-point id="attributeAdapter" name="Attribute Adapter" schema="schema/attributeAdapter.exsd"/>
-   <extension-point id="xmlEditor" name="XML Editor" schema="schema/xmlEditor.exsd"/>
-   <extension-point id="paletteConstraints" name="Palette Constraints" schema="schema/paletteConstraints.exsd"/>
-   <extension-point id="metaTemplates" name="Meta Templates" schema="schema/metaTemplates.exsd"/>
-   <extension-point id="InsertTagWizard" name="InsertTagWizard" schema="schema/InsertTagWizard.exsd"/>
-   <extension-point id="labelDecorator" name="Model Object Label Decorator" schema="schema/labelDecorator.exsd"/>
-   <extension-point id="attributeContentProposalProviders" name="Attribute Content Proposal Providers" schema="schema/attributeContentProposalProviders.exsd"/>
+   <extension-point id="attributeEditor" name="%ExtensionName_attributeEditor" schema="schema/attributeEditor.exsd"/>
+   <extension-point id="attributeAdapter" name="%ExtensionName_attributeAdapter" schema="schema/attributeAdapter.exsd"/>
+   <extension-point id="xmlEditor" name="%ExtensionName_xmlEditor" schema="schema/xmlEditor.exsd"/>
+   <extension-point id="paletteConstraints" name="%ExtensionName_paletteConstraints" schema="schema/paletteConstraints.exsd"/>
+   <extension-point id="metaTemplates" name="%ExtensionName_metaTemplates" schema="schema/metaTemplates.exsd"/>
+   <extension-point id="InsertTagWizard" name="%ExtensionName_InsertTagWizard" schema="schema/InsertTagWizard.exsd"/>
+   <extension-point id="labelDecorator" name="%ExtensionName_labelDecorator" schema="schema/labelDecorator.exsd"/>
+   <extension-point id="attributeContentProposalProviders" name="%ExtensionName_attributeContentProposalProviders" schema="schema/attributeContentProposalProviders.exsd"/>
 
    <extension point="org.eclipse.ui.elementFactories">
       <factory class="org.jboss.tools.common.core.resources.XModelObjectEditorInputFactory" id="org.jboss.tools.common.core.resources.XModelObjectEditorInputFactory">
@@ -232,13 +232,13 @@
             category="org.jboss.tools.common.model.ui.MainPreferencePage"
             class="org.jboss.tools.common.model.ui.preferences.CompanyPreferencesPage"
             id="org.jboss.tools.common.model.ui"
-            name="Web">
+            name="%PreferencePage_Web">
       </page>
       <page
             category="org.jboss.tools.common.model.ui"
             class="org.jboss.tools.common.model.ui.preferences.DecoratorPreferencesPage"
             id="org.jboss.tools.common.model.ui.decorator"
-            name="Label Decorations">
+            name="%PreferencePage_LabelDecorations">
       </page>
    </extension>
    <extension point="org.eclipse.ui.preferencePages">
@@ -246,7 +246,7 @@
          category="org.jboss.tools.common.model.ui" 
          class="org.jboss.tools.common.model.ui.templates.preferences.GlobalTemplatePreferencePage" 
          id="org.jboss.tools.common.model.ui.templates" 
-         name="Templates">
+         name="%PreferencePage_Templates">
       </page>
    </extension>
    
@@ -263,7 +263,7 @@
           adaptable="true" 
           class="org.jboss.tools.common.model.ui.templates.preferences.ProjectTemplatePreferencePage" 
           id="ExadelTemplatesPropertiesPage" 
-          name="Templates" 
+          name="%PropertyPage_templates" 
           objectClass="org.eclipse.core.resources.IProject">
       </page>
    </extension>
@@ -302,7 +302,7 @@
    
    <extension point="org.eclipse.core.runtime.contentTypes"> 
       <content-type id="xml" 
-       name="JBoss Tools XML"
+       name="%ContentType_JBossToolsXML"
        base-type="org.eclipse.core.runtime.xml"
        describer="org.jboss.tools.common.model.ui.editor.XMLContentDescriber"
        file-extensions="xml,meta"
@@ -330,7 +330,10 @@
       </xmlEditor>
    </extension>
    <extension point="org.eclipse.ui.preferencePages">
-      <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.common.model.ui.texteditors.preferences.EditorsPreferencesPage" id="org.jboss.tools.common.xstudio.editors" name="Editors">
+      <page category="org.jboss.tools.common.model.ui" 
+         class="org.jboss.tools.common.model.ui.texteditors.preferences.EditorsPreferencesPage" 
+         id="org.jboss.tools.common.xstudio.editors" 
+         name="%PreferencePage_Editors">
       </page>
    </extension>
    <extension point="org.jboss.tools.common.model.ui.paletteConstraints">
@@ -459,15 +462,15 @@
    <extension
          point="org.eclipse.ui.activities">
       <category
-            description="It allows create Custom Capabilities, Library sets and Project templates for JSF/Struts projects"
+            description="%CategoryDescription_experimental"
             id="org.jboss.tools.common.model.ui.experimental"
-            name="JBoss Tools Experimental configuration"/>
+            name="%CategoryName_experimental"/>
       <categoryActivityBinding
             activityId="org.jboss.tools.common.model.ui.templates"
             categoryId="org.jboss.tools.common.model.ui.experimental"/>
       <activity
             id="org.jboss.tools.common.model.ui.templates"
-            name="JSF/Struts Project Templates Development"/>
+            name="%ActivityName_templates"/>
       <activityPatternBinding
             activityId="org.jboss.tools.common.model.ui.templates"
             pattern="org\.jboss\.tools\.common\.model\.ui/.*templates"/>

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,3 +1,10 @@
+DecoratorTextPreferencesPage.AddVariable=Add Variable...
+DecoratorTextPreferencesPage.Decorator=Select decorator:
+DecoratorTextPreferencesPage.DefaultLabel=?
+DecoratorTextPreferencesPage.Format=Format:
+DecoratorTextPreferencesPage.Preview=Preview:
+DecoratorTextPreferencesPage.SelectVariable=Select Variable
+DecoratorTextPreferencesPage.Text=Text
 org.jboss.tools.common.model.ui.resources.ResourceLayoutManager.ERROR_RESOURCE_NULL = Resource paramener cannot be null.
 org.jboss.tools.common.model.ui.resources.ResourceLayoutManager.ERROR_CREATE_DOCUMENT = Cannot create new layout XML document \"{0}\" for resource \"{1}\".
 org.jboss.tools.common.model.ui.resources.ResourceLayoutManager.WARNING_HEAD_EMPTY = Empty head tag in layout \"{0}\".
@@ -23,6 +30,7 @@
 Editor.Delete.tooltip=Delete
 Editor.Delete.image=
 Editor.Delete.description=Delete
+MainPreferencePage.Description=JBossTools preferences
 
 org.jboss.tools.common.model.ui.forms.Form.CANNOT_LOAD_ATTRIBUTE = Cannot load attribute \"{0}\" from model.
 

Added: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/Messages.java	                        (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/Messages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,23 @@
+package org.jboss.tools.common.model.ui.objecteditor;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+	private static final String BUNDLE_NAME = "org.jboss.tools.common.model.ui.objecteditor.messages"; //$NON-NLS-1$
+	public static String XChildrenEditor_10;
+	public static String XChildrenEditor_11;
+	public static String XChildrenEditor_12;
+	public static String XChildrenEditor_9;
+	public static String XChildrenEditor_Add;
+	public static String XChildrenEditor_Delete;
+	public static String XChildrenEditor_Down;
+	public static String XChildrenEditor_Edit;
+	public static String XChildrenEditor_Up;
+	static {
+		// initialize resource bundle
+		NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+	}
+
+	private Messages() {
+	}
+}

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/XChildrenEditor.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/XChildrenEditor.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/XChildrenEditor.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -40,11 +40,11 @@
 public class XChildrenEditor implements CommandBarListener {
 	protected static Color DEFAULT_COLOR = new Color(null, 0, 0, 0);
 	protected static Color GREYED_COLOR = new Color(null, 127, 127, 127);
-	public static String ADD = "&Add";
-	public static String DELETE = "&Delete";
-	public static String EDIT = "&Edit";
-	public static String UP = "&Up";
-	public static String DOWN = "Do&wn";
+	public static String ADD = Messages.XChildrenEditor_Add;
+	public static String DELETE = Messages.XChildrenEditor_Delete;
+	public static String EDIT = Messages.XChildrenEditor_Edit;
+	public static String UP = Messages.XChildrenEditor_Up;
+	public static String DOWN = Messages.XChildrenEditor_Down;
 	protected Composite control; 
 	protected AbstractTableHelper helper = createHelper();
 	protected XTable xtable = new XTable();
@@ -210,12 +210,12 @@
 	
 	protected void delete() {
 		XModelObject o = helper.getModelObject(xtable.getSelectionIndex());
-		if(o != null) callAction(o, "DeleteActions.Delete");
+		if(o != null) callAction(o, "DeleteActions.Delete"); //$NON-NLS-1$
 	}
 	
 	protected void edit() {
 		XModelObject o = helper.getModelObject(xtable.getSelectionIndex());
-		if(o != null) callAction(o, "Edit");
+		if(o != null) callAction(o, "Edit"); //$NON-NLS-1$
 	}
 	
 	protected void up() {
@@ -232,8 +232,8 @@
 	
 	private void move(int r1, int r2) {
 		XModelObject o1 = helper.getModelObject(r1), o2 = helper.getModelObject(r2);
-		callAction(o1, "CopyActions.Copy");
-		callAction(o2, "MoveActions.Move");
+		callAction(o1, "CopyActions.Copy"); //$NON-NLS-1$
+		callAction(o2, "MoveActions.Move"); //$NON-NLS-1$
 		if(helper.getModelObject(r2) == o1)
 		  xtable.getTable().setSelection(r2);
 	}
@@ -247,7 +247,7 @@
 	}
 
 	protected String getAddActionPath() {
-		return "CreateActions.AddKeyPair";
+		return Messages.XChildrenEditor_9;
 	}
 
 	protected void updateBar() {
@@ -270,9 +270,9 @@
 	
 	public void callAction(XModelObject o, String path) {
 		Properties p = new Properties();
-		p.put("shell", bar.getControl().getShell());
+		p.put(Messages.XChildrenEditor_10, bar.getControl().getShell());
 		int i = xtable.getSelectionIndex();
-		p.put("insertAfter", Integer.valueOf(i));
+		p.put(Messages.XChildrenEditor_11, Integer.valueOf(i));
 		XActionInvoker.invoke(path, o, getTargets(), p);
 	}
 	
@@ -372,7 +372,7 @@
 		}
 
 		public void drop(Properties p) {
-			XModelObject draggedObject = (XModelObject)p.get("draggedObject");
+			XModelObject draggedObject = (XModelObject)p.get(Messages.XChildrenEditor_12);
 			if(draggedObject == null) return;
 			update();
 			xtable.getViewer().setSelection(new StructuredSelection(draggedObject));

Added: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/messages.properties	                        (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,9 @@
+XChildrenEditor_10=shell
+XChildrenEditor_11=insertAfter
+XChildrenEditor_12=draggedObject
+XChildrenEditor_9=CreateActions.AddKeyPair
+XChildrenEditor_Add=&Add
+XChildrenEditor_Delete=&Delete
+XChildrenEditor_Down=Do&wn
+XChildrenEditor_Edit=&Edit
+XChildrenEditor_Up=&Up

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/DecoratorTextPreferencesPage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/DecoratorTextPreferencesPage.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/DecoratorTextPreferencesPage.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -45,6 +45,7 @@
 import org.eclipse.ui.dialogs.CheckedTreeSelectionDialog;
 import org.jboss.tools.common.model.XModelObject;
 import org.jboss.tools.common.model.options.PreferenceModelUtilities;
+import org.jboss.tools.common.model.ui.ModelUIMessages;
 import org.jboss.tools.common.model.ui.attribute.adapter.DefaultXModelObjectLabelProvider;
 import org.jboss.tools.common.model.ui.navigator.decorator.DecoratorManager;
 import org.jboss.tools.common.model.ui.navigator.decorator.Variable;
@@ -68,7 +69,7 @@
 	Map<XModelObjectDecorator,String> currentValues = new HashMap<XModelObjectDecorator, String>();
 	
 	public DecoratorTextPreferencesPage() {
-		setTitle("Text");
+		setTitle(ModelUIMessages.getString("DecoratorTextPreferencesPage.Text")); //$NON-NLS-1$
 	}
 
 	@Override
@@ -78,7 +79,7 @@
 		g.setLayout(new GridLayout(1, false));
 
 		Label label = new Label(g, SWT.NONE);
-		label.setText("Select decorator:");
+		label.setText(ModelUIMessages.getString("DecoratorTextPreferencesPage.Decorator")); //$NON-NLS-1$
 		label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
 		
 		decorators = new TreeViewer(g, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
@@ -168,13 +169,13 @@
 		c.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
 		
 		Label cLabel = new Label(c, SWT.NONE);
-		cLabel.setText("Format:");
+		cLabel.setText(ModelUIMessages.getString("DecoratorTextPreferencesPage.Format")); //$NON-NLS-1$
 		
 		formatField = new Text(c, SWT.SINGLE | SWT.BORDER);
 		formatField.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
 		
 		addVariableButton = new Button(c, SWT.PUSH);
-		addVariableButton.setText("Add Variable...");
+		addVariableButton.setText(ModelUIMessages.getString("DecoratorTextPreferencesPage.AddVariable")); //$NON-NLS-1$
 		
 		addVariableButton.addSelectionListener(new SelectionListener() {
 
@@ -190,7 +191,7 @@
 		
 
 		label = new Label(g, SWT.NONE);
-		label.setText("Preview:");
+		label.setText(ModelUIMessages.getString("DecoratorTextPreferencesPage.Preview")); //$NON-NLS-1$
 		label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
 		examples = new TreeViewer(g, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
 		examples.setContentProvider(new ITreeContentProvider() {
@@ -221,14 +222,14 @@
 				if(selection == null) {
 					return super.getText(element);
 				}
-				String result = "";
+				String result = ""; //$NON-NLS-1$
 				if (element instanceof XModelObject) {
 					XModelObject modelObject = (XModelObject)element; 
 					XModelObjectDecorator d = selection.getWorkingCopy();
 					d.setValue(formatField.getText());
 					result = d.getLabel(modelObject);
 				} else {
-					result = "?";
+					result = ModelUIMessages.getString("DecoratorTextPreferencesPage.DefaultLabel"); //$NON-NLS-1$
 				}
 				return result; 
 			}
@@ -316,13 +317,13 @@
 //			editor.setVisible(false);
 			formatField.setEnabled(false);
 			addVariableButton.setEnabled(false);
-			setText("");
+			setText(""); //$NON-NLS-1$
 		}
 		examples.refresh(true);
 	}
 	
 	private void setText(String text) {
-		if(text == null) text = "";
+		if(text == null) text = ""; //$NON-NLS-1$
 		formatField.removeModifyListener(formatListener);
 		formatField.setText(text);
 		formatField.addModifyListener(formatListener);
@@ -366,7 +367,7 @@
 			}			
 		);
 		dialog.setInput(selection);
-		dialog.setTitle("Select Variable");
+		dialog.setTitle(ModelUIMessages.getString("DecoratorTextPreferencesPage.SelectVariable")); //$NON-NLS-1$
 		dialog.create();
 		int result = dialog.open();
 		if(result == Window.OK) {

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/MainPreferencePage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/MainPreferencePage.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/MainPreferencePage.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -28,6 +28,7 @@
 import org.eclipse.swt.widgets.Control;
 import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.IWorkbenchPreferencePage;
+import org.jboss.tools.common.model.ui.ModelUIMessages;
 
 /**
  * Empty preference page for JBoss-IDE.
@@ -42,7 +43,7 @@
 
 	/** Default constructor */
 	public MainPreferencePage() {
-		this.setDescription("JBossTools preferences");
+		this.setDescription(ModelUIMessages.getString("MainPreferencePage.Description")); //$NON-NLS-1$
 	}
 
 	/** Description of the Method */

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/ClassTemplateComponent.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/ClassTemplateComponent.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/ClassTemplateComponent.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -42,7 +42,7 @@
 	XModel model;
     // xpath
 	Label xPathLabelValue;
-	String initValue = "";
+	String initValue = ""; //$NON-NLS-1$
     // base class
     JavaChoicerEditor baseClassEditor;
     BaseClassAdapter baseClassAdapter;
@@ -64,7 +64,7 @@
         gd = new GridData(GridData.FILL_HORIZONTAL);
         Label xPathLabel = new Label(composite, SWT.NONE);
         xPathLabel.setLayoutData(gd);
-        xPathLabel.setText("XPath");
+        xPathLabel.setText(Messages.ClassTemplateComponent_XPATH);
 
         gd = new GridData(GridData.FILL_HORIZONTAL);
         xPathLabelValue = new Label(composite, SWT.NONE);
@@ -72,7 +72,7 @@
         xPathLabelValue.setText(initValue);
 
         // base class
-        baseClassEditor.setLabelText("Base Class");
+        baseClassEditor.setLabelText(Messages.ClassTemplateComponent_LABEL_BASECLASS);
 
         StringButtonFieldEditorEx sb;
 		sb = new StringButtonFieldEditorEx();
@@ -88,7 +88,7 @@
         control[1].setLayoutData(gd);
 
         // interfaces
-        interfacesEditor.setLabelText("Interfaces");
+        interfacesEditor.setLabelText(Messages.ClassTemplateComponent_LABEL_INTERFACES);
         control = getControls(composite, interfacesEditor);
         control[0].dispose(); // dispose empty label
         gd = new GridData(GridData.FILL_BOTH);
@@ -113,7 +113,7 @@
 	    interfacesAdapter = new DefaultTableStructuredAdapter();
 	    interfaceActions = new ActionProvider();
 	    interfacesAdapter.setActionProvider(interfaceActions);
-	    interfacesAdapter.addColumnDescription(new ColumnDescription("Interfaces", null, 100, SWT.LEFT, true, null));
+	    interfacesAdapter.addColumnDescription(new ColumnDescription(Messages.ClassTemplateComponent_COLUMN_INTERFACES, null, 100, SWT.LEFT, true, null));
 	    interfacesAdapter.setTableLabelProvider(new TableLabelProvider());
 	    interfacesEditor.setInput(interfacesAdapter);
     }
@@ -122,10 +122,11 @@
 		MetaValue value;
 		public void load() {
 			if(value == null) {
-				setValue("");
+				setValue(""); //$NON-NLS-1$
 			} else {
 				String v = value.getValue();
-				if(v == null) v = "java.lang.Object";
+				if (v == null)
+					v = "java.lang.Object"; //$NON-NLS-1$
 				setValue(v);
 			}
 		}
@@ -197,9 +198,9 @@
     	this.selectedTemplate = selectedTemplate;
     	if(selectedTemplate == null) {
     	    if(xPathLabelValue!=null) {
-    	        xPathLabelValue.setText("");
+    	        xPathLabelValue.setText(""); //$NON-NLS-1$
     	    } else {
-    	        initValue = "";
+    	        initValue = ""; //$NON-NLS-1$
     	    }
     		baseClassAdapter.value = null;
     		baseClassAdapterListener.value = null;
@@ -230,17 +231,17 @@
     	IAction editAction;
     	
     	public ActionProvider() {
-    		addAction = new Action("Add") {
+    		addAction = new Action(Messages.ClassTemplateComponent_ADD) {
     	    	public void run() {
     	    	    addInterface();
     	    	}
     	    };
-    		removeAction = new Action("Remove") {
+    		removeAction = new Action(Messages.ClassTemplateComponent_REMOVE) {
     	    	public void run() {
     	    	    removeInterface();
     	    	}
     	    };
-    		editAction = new Action("Edit") {
+    		editAction = new Action(Messages.ClassTemplateComponent_EDIT) {
     	    	public void run() {
     	    	    editInterface();
     	    	}

Added: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/Messages.java	                        (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/Messages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,21 @@
+package org.jboss.tools.common.model.ui.templates.preferences;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+	private static final String BUNDLE_NAME = "org.jboss.tools.common.model.ui.templates.preferences.messages"; //$NON-NLS-1$
+	public static String ClassTemplateComponent_ADD;
+	public static String ClassTemplateComponent_COLUMN_INTERFACES;
+	public static String ClassTemplateComponent_EDIT;
+	public static String ClassTemplateComponent_LABEL_BASECLASS;
+	public static String ClassTemplateComponent_LABEL_INTERFACES;
+	public static String ClassTemplateComponent_REMOVE;
+	public static String ClassTemplateComponent_XPATH;
+	static {
+		// initialize resource bundle
+		NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+	}
+
+	private Messages() {
+	}
+}

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/messages.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1 +1,8 @@
-CHECKBOX_LABEL=Allow to override preference settings
\ No newline at end of file
+CHECKBOX_LABEL=Allow to override preference settings
+ClassTemplateComponent_ADD=Add
+ClassTemplateComponent_COLUMN_INTERFACES=Interfaces
+ClassTemplateComponent_EDIT=Edit
+ClassTemplateComponent_LABEL_BASECLASS=Base Class
+ClassTemplateComponent_LABEL_INTERFACES=Interfaces
+ClassTemplateComponent_REMOVE=Remove
+ClassTemplateComponent_XPATH=XPath

Modified: trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/AbstractResourceReferencesComposite.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/AbstractResourceReferencesComposite.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/AbstractResourceReferencesComposite.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -35,9 +35,9 @@
 import org.jboss.tools.common.resref.core.ResourceReferenceList;
 
 public abstract class AbstractResourceReferencesComposite {
-	protected static String ADD = "Add";
-	protected static String EDIT = "Edit";
-	protected static String REMOVE = "Remove";
+	protected static String ADD = Messages.AbstractResourceReferencesComposite_Add;
+	protected static String EDIT = Messages.AbstractResourceReferencesComposite_Edit;
+	protected static String REMOVE = Messages.AbstractResourceReferencesComposite_Remove;
 	protected XTable table = new XTable();
 	protected CommandBar bar = new CommandBar();
 	protected ResourceReferencesTableProvider tableProvider;// = new TemplatesTableProvider();
@@ -72,8 +72,8 @@
 
 	public void setObject(Object object) {
 		Properties p = (Properties)object;
-		file = (IFile)p.get("file");
-		path = (IPath)p.get("path");
+		file = (IFile)p.get("file"); //$NON-NLS-1$
+		path = (IPath)p.get("path"); //$NON-NLS-1$
 		ResourceReference[] rs = (file != null) ? getReferenceList().getAllResources(file) :
 							(path != null) ? getReferenceList().getAllResources(path)
 							               : new ResourceReference[0];
@@ -149,7 +149,7 @@
      * @return
      */
 	protected ResourceReference getDefaultResourceReference() {
-        return new ResourceReference("", ResourceReference.FOLDER_SCOPE);
+        return new ResourceReference("", ResourceReference.FOLDER_SCOPE); //$NON-NLS-1$
     }
 	
 	abstract protected void edit(int index);
@@ -179,7 +179,7 @@
 			for (int i = 0; i < as.length; i++) {
 				 if(as[i].getConstraint() instanceof XAttributeConstraintFileFilter) {
 					 XAttributeConstraintFileFilter f = (XAttributeConstraintFileFilter)as[i].getConstraint();
-					 f.getProperties().setProperty("filterFolder", file.getProject().getLocation().toFile().getAbsolutePath());
+					 f.getProperties().setProperty("filterFolder", file.getProject().getLocation().toFile().getAbsolutePath()); //$NON-NLS-1$
 				 }
 			}
 		}

Added: trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/Messages.java	                        (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/Messages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,17 @@
+package org.jboss.tools.common.resref.ui;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+	private static final String BUNDLE_NAME = "org.jboss.tools.common.resref.ui.messages"; //$NON-NLS-1$
+	public static String AbstractResourceReferencesComposite_Add;
+	public static String AbstractResourceReferencesComposite_Edit;
+	public static String AbstractResourceReferencesComposite_Remove;
+	static {
+		// initialize resource bundle
+		NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+	}
+
+	private Messages() {
+	}
+}

Added: trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/messages.properties	                        (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,3 @@
+AbstractResourceReferencesComposite_Add=Add
+AbstractResourceReferencesComposite_Edit=Edit
+AbstractResourceReferencesComposite_Remove=Remove

Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -7,3 +7,4 @@
 actionSets.verificationActions.editVerificationRules.label=Edit Verification Rules
 actionSets.verificationActions.verifyAll.label=Verify All
 actionSets.verificationActions.verify.label=Verify
+PreferencePage_Verification=Verification

Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -3,7 +3,8 @@
 <plugin>
 
    <extension point="org.eclipse.ui.preferencePages">
-      <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.common.verification.ui.vrules.preferences.VerificationPreferencePage" id="org.jboss.tools.common.verification.ui" name="Verification">
+      <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.common.verification.ui.vrules.preferences.VerificationPreferencePage" id="org.jboss.tools.common.verification.ui" 
+            name="%PreferencePage_Verification">
       </page>
    </extension>
 

Added: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/Messages.java	                        (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/Messages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,16 @@
+package org.jboss.tools.common.verification.ui.vrules.preferences;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+	private static final String BUNDLE_NAME = "org.jboss.tools.common.verification.ui.vrules.preferences.messages"; //$NON-NLS-1$
+	public static String RulesConfigurationPage_RulesConfigurationTitle;
+	public static String VerificationPreferencePage_OptionsTitle;
+	static {
+		// initialize resource bundle
+		NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+	}
+
+	private Messages() {
+	}
+}

Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/RulesConfigurationPage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/RulesConfigurationPage.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/RulesConfigurationPage.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -165,7 +165,7 @@
 	}
 	
 	public String getTitle() {
-		return "Rules Configuration";
+		return Messages.RulesConfigurationPage_RulesConfigurationTitle;
 	}
 	
 }

Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/VerificationPreferencePage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/VerificationPreferencePage.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/VerificationPreferencePage.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -17,9 +17,9 @@
 
 public class VerificationPreferencePage extends TabbedPreferencesPage {
 	public static final String PREFERENCES[] = {
-		"%Options%/Struts Studio/Verification" 
+		"%Options%/Struts Studio/Verification"  //$NON-NLS-1$
 	};
-	public static String ATTR_ERRORS_NUMBER_LIMIT = "Reported Errors Number Limit";
+	public static String ATTR_ERRORS_NUMBER_LIMIT = "Reported Errors Number Limit"; //$NON-NLS-1$
 	
 	public VerificationPreferencePage() {
 		addPreferencePage(new RulesConfigurationPage());
@@ -35,7 +35,7 @@
 			super(o);
 		}
 		public String getTitle() {
-			return "Options";
+			return Messages.VerificationPreferencePage_OptionsTitle;
 		}
 	}
 	

Added: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/messages.properties	                        (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,2 @@
+RulesConfigurationPage_RulesConfigurationTitle=Rules Configuration
+VerificationPreferencePage_OptionsTitle=Options

Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF	2009-01-14 07:33:15 UTC (rev 13030)
@@ -4,6 +4,7 @@
 Bundle-SymbolicName: org.jboss.tools.esb.project.ui;singleton:=true
 Bundle-Version: 1.0.0
 Bundle-Activator: org.jboss.tools.esb.project.ui.ESBProjectPlugin
+Bundle-Localization: plugin
 Require-Bundle: org.eclipse.ui,
  org.eclipse.core.runtime,
  org.eclipse.pde.ui,

Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,2 +1,3 @@
 providerName=JBoss, a division of Red Hat
-pluginName=JBoss ESB Project UI Plugin
\ No newline at end of file
+pluginName=JBoss ESB Project UI Plugin
+Preference_Page_Runtimes=JBoss ESB Runtimes
\ No newline at end of file

Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -28,7 +28,7 @@
                category="org.jboss.tools.common.model.ui.MainPreferencePage"
                class="org.jboss.tools.esb.project.ui.preference.controls.JBossESBRuntimePreferencePage"
                id="org.jboss.tools.esb.project.runtime.preference"
-               name="JBoss ESB Runtimes">
+               name="%Preference_Page_Runtimes">
          </page>
       </extension>
    <extension

Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUI.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUI.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUI.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -37,6 +37,10 @@
 JBoss_Runtime_List_Field_Editor_Name2=Name:
 JBoss_Runtime_Check_Field_Default_Classpath=Customize JBoss ESB runtime jars
 JBoss_Preference_Page_Runtimes=JBoss ESB Runtimes
+JBossRuntimeListFieldEditor_ActionAdd=&Add
+JBossRuntimeListFieldEditor_ActionEdit=&Edit
+JBossRuntimeListFieldEditor_ActionRemove=&Remove
+JBossRuntimeListFieldEditor_ErrorMessageAtLeastOneJar=The library must contain at least one jar.
 
  
 ESBFacetInstallationPage_Button_Text_New=New

Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUIMessages.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUIMessages.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUIMessages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -71,6 +71,14 @@
 	public static String JBoss_Runtime_List_Field_Editor_Name2;
 	public static String JBoss_Runtime_Check_Field_Default_Classpath;
 	public static String JBoss_Preference_Page_Runtimes;
+
+	public static String JBossRuntimeListFieldEditor_ActionAdd;
+
+	public static String JBossRuntimeListFieldEditor_ActionEdit;
+
+	public static String JBossRuntimeListFieldEditor_ActionRemove;
+
+	public static String JBossRuntimeListFieldEditor_ErrorMessageAtLeastOneJar;
 	
 	
 	//esb facet messages

Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossRuntimeListFieldEditor.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossRuntimeListFieldEditor.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossRuntimeListFieldEditor.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -411,9 +411,9 @@
 	public static class JBossWSRuntimeWizardPage extends WizardPage implements
 			PropertyChangeListener {
 
-		private static final String SRT_NAME = "name";
-		private static final String SRT_VERSION = "version";
-		private static final String SRT_HOMEDIR = "homeDir";
+		private static final String SRT_NAME = "name"; //$NON-NLS-1$
+		private static final String SRT_VERSION = "version"; //$NON-NLS-1$
+		private static final String SRT_HOMEDIR = "homeDir"; //$NON-NLS-1$
 
 		private static final int GL_PARENT_COLUMNS = 1;
 		private static final int GL_CONTENT_COLUMNS = 3;
@@ -466,7 +466,7 @@
 			homeDir.doFillIntoGrid(root);
 			homeDir.addPropertyChangeListener(this);
 
-			jars = new JBossLibraryListFieldEditor("", "", current);
+			jars = new JBossLibraryListFieldEditor("", "", current); //$NON-NLS-1$ //$NON-NLS-2$
 			jars.doFillIntoGrid(root);
 			jars.addPropertyChangeListener(this);
 			setPageComplete(false);
@@ -481,12 +481,12 @@
 		 *            PropertyChangeEvent describes changes in wizard
 		 */
 		public void propertyChange(java.beans.PropertyChangeEvent evt) {
-			if ("homeDir".equals(evt.getPropertyName())) {
+			if ("homeDir".equals(evt.getPropertyName())) { //$NON-NLS-1$
 				if (name.getValueAsString() == null
-						|| "".equals(name.getValueAsString().trim())
+						|| "".equals(name.getValueAsString().trim()) //$NON-NLS-1$
 						|| this.getErrorMessage() != null) {
 					String homeDirName = homeDir.getValueAsString();
-					if (homeDirName != null && !"".equals(homeDirName.trim())) {
+					if (homeDirName != null && !"".equals(homeDirName.trim())) { //$NON-NLS-1$
 						File folder = new File(homeDirName);
 						homeDirName = folder.getName();
 					}
@@ -501,7 +501,7 @@
 				return;
 			}
 			
-			if(version.getValueAsString() == null || "".equals(version.getValueAsString())){
+			if(version.getValueAsString() == null || "".equals(version.getValueAsString())){ //$NON-NLS-1$
 				setErrorMessage(JBossESBUIMessages.Error_JBoss_Runtime_List_Field_Editor_Version_Cannot_Be_Empty);
 				setPageComplete(false);
 				return;
@@ -543,7 +543,7 @@
 
 			if (jarJbws.isUserConfigClasspath()
 					&& jarJbws.getLibraries().size() == 0) {
-				setErrorMessage("The library must contian at least one jar.");
+				setErrorMessage(JBossESBUIMessages.JBossRuntimeListFieldEditor_ErrorMessageAtLeastOneJar);
 				setPageComplete(false);
 				return;
 			}
@@ -969,13 +969,11 @@
 	 */
 	public class AddAction extends BaseAction {
 
-		static final String ACTION_NAME = "&Add";
-
 		/**
 		 * Constructor create Add action with default name
 		 */
 		public AddAction() {
-			super(ACTION_NAME);
+			super(JBossESBUIMessages.JBossRuntimeListFieldEditor_ActionAdd);
 			// This action is always available
 			setEnabled(true);
 		}
@@ -1013,15 +1011,13 @@
 	 */
 	public class EditAction extends BaseAction {
 
-		static final String ACTION_NAME = "&Edit";
-
 		/**
 		 * Create EditAction with default name
 		 * 
 		 * @param text
 		 */
 		public EditAction() {
-			super(ACTION_NAME);
+			super(JBossESBUIMessages.JBossRuntimeListFieldEditor_ActionEdit);
 		}
 
 		/**
@@ -1080,13 +1076,11 @@
 	 */
 	public class RemoveAction extends BaseAction {
 
-		static final String ACTION_NAME = "&Remove";
-
 		/**
 		 * Create DeleteAction action with default name
 		 */
 		public RemoveAction() {
-			super(ACTION_NAME);
+			super(JBossESBUIMessages.JBossRuntimeListFieldEditor_ActionRemove);
 		}
 
 		@Override

Modified: trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.properties
===================================================================
--- trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,2 +1,4 @@
 pluginName = FreeMarker IDE
-providerName = JBoss, a division of Red Hat
\ No newline at end of file
+providerName = JBoss, a division of Red Hat
+PreferencePage_FreeMarkerEditor=FreeMarker Editor
+PropertyPage_FreeMarkerContext=FreeMarker Context

Modified: trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.xml
===================================================================
--- trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -17,7 +17,7 @@
       <page
             class="org.jboss.ide.eclipse.freemarker.preferences.PreferencePage"
             id="org.jboss.ide.eclipse.freemarker.preferences.OutlinePreferencePage"
-            name="FreeMarker Editor"/>
+            name="%PreferencePage_FreeMarkerEditor"/>
    </extension>
    <extension
          point="org.eclipse.ui.popupMenus">
@@ -50,7 +50,7 @@
             adaptable="true"
             class="org.jboss.ide.eclipse.freemarker.preferences.ContextProperties"
             id="org.jboss.ide.eclipse.freemarker.contextPage"
-            name="FreeMarker Context"
+            name="%PropertyPage_FreeMarkerContext"
             objectClass="org.eclipse.core.resources.IResource"/>
    </extension>
    <extension

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1 +1,8 @@
-GenerateEntities=Generate Entities
\ No newline at end of file
+GenerateEntities=Generate Entities
+Preference_Page_HQL=HQL editor
+perspective.name=Hibernate
+ViewName_HibernateConfigurations=Hibernate Configurations
+ViewName_HibernateQueryResult=Hibernate Query Result
+ViewName_HibernateDynamicSQLPreview=Hibernate Dynamic SQL Preview
+ViewName_QueryParameters=Query Parameters
+ViewCategory_Hibernate=Hibernate
\ No newline at end of file

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -8,19 +8,19 @@
       <perspective
             icon="icons/hibernate_small_icon.gif"
             class="org.hibernate.eclipse.console.HibernateConsolePerspectiveFactory"
-            name="Hibernate"
+            name="%perspective.name"
             id="org.hibernate.eclipse.console.HibernateConsolePerspective"/>
    </extension>
    <extension
          point="org.eclipse.ui.views">
       <category
-            name="Hibernate"
+            name="%ViewCategory_Hibernate"
             id="hibernatecategory"/>
      <view
             icon="icons/hibernate_small_icon.gif"
             class="org.hibernate.eclipse.console.views.KnownConfigurationsView"
             category="hibernatecategory"
-            name="Hibernate Configurations"
+            name="%ViewName_HibernateConfigurations"
             id="org.hibernate.eclipse.console.views.KnownConfigurationsView"/>
    <!--   <view
             category="hibernatecategory"
@@ -38,20 +38,20 @@
             icon="icons/hibernate_small_icon.gif"
             class="org.hibernate.eclipse.console.views.QueryPageTabView"
             category="hibernatecategory"
-            name="Hibernate Query Result"
+            name="%ViewName_HibernateQueryResult"
             id="org.hibernate.eclipse.console.views.QueryPageTabView"/>
       <view
             category="hibernatecategory"
             class="org.hibernate.eclipse.console.views.DynamicSQLPreviewView"
             icon="icons/images/hibernate_small_icon.jpg"
             id="org.hibernate.eclipse.console.views.DynamicSQLPreviewView"
-            name="Hibernate Dynamic SQL Preview"/>
+            name="%ViewName_HibernateDynamicSQLPreview"/>
       <view
             category="hibernatecategory"
             class="org.hibernate.eclipse.console.views.QueryParametersView"
             icon="icons/images/parameter.gif"
             id="org.hibernate.eclipse.console.views.QueryParametersView"
-            name="Query Parameters"/>
+            name="%ViewName_QueryParameters"/>
 
    </extension>
    <extension
@@ -624,7 +624,7 @@
       <page
             class="org.hibernate.eclipse.hqleditor.preferences.HQLEditorPreferencePage"
             id="org.hibernate.eclipse.hqleditor.preferences.HQLEditorPreferencePage"
-            name="HQL editor">
+            name="%Preference_Page_HQL">
          <keywordReference id="org.hibernate.eclipse.hqleditor.preferencekeywords"/>
       </page>
    </extension>
@@ -771,7 +771,7 @@
             category="hibernatecategory"
             class="org.hibernate.eclipse.console.views.navigator.KnownConfigurationsNavigator"
             id="org.hibernate.eclipse.navigator.KnownConfigurationsViewer"
-            name="Hibernate Configurations"/>
+            name="%ViewName_HibernateConfigurations"/>
    </extension>
    <extension
          point="org.eclipse.ui.navigator.viewer">

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -434,6 +434,8 @@
 	public static String ConsoleConfigurationMainTab_create_new;
 	public static String ConsoleConfigurationMainTab_create_new_properties_file;
 	public static String ConsoleConfigurationMainTab_create_property_file;
+
+	public static String ConsoleConfigurationMainTab_DatabaseConnection;
 	public static String ConsoleConfigurationMainTab_do_you_want_to_create_new_cfgxml;
 	public static String ConsoleConfigurationMainTab_do_you_want_to_create_new_property_file;
 	public static String ConsoleConfigurationMainTab_does_not_exist;
@@ -521,6 +523,12 @@
 
 	public static String BasicWorkbenchAdapter_error_while_opening_configuration;
 	
+	public static String ConnectionProfileCtrl_Edit;
+
+	public static String ConnectionProfileCtrl_HibernateConfiguredConnection;
+
+	public static String ConnectionProfileCtrl_New;
+
 	public static String ConnectionProfileRenameChange_update_connection_profile_name;
 	public static String ConnectionProfileRenameParticipant_launch_configurations_updates;
 	//

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -426,6 +426,7 @@
 ConsoleConfigurationMainTab_create_new=Create &new...
 ConsoleConfigurationMainTab_create_new_properties_file=Create a new properties file
 ConsoleConfigurationMainTab_create_property_file=Create Property File
+ConsoleConfigurationMainTab_DatabaseConnection=Database connection:
 ConsoleConfigurationMainTab_do_you_want_to_create_new_cfgxml=Do you want to create a new *.cfg.xml or use an existing one ?
 ConsoleConfigurationMainTab_do_you_want_to_create_new_property_file=Do you want to create a new property file or use an existing one ?
 ConsoleConfigurationMainTab_does_not_exist=\ does not exist
@@ -512,5 +513,8 @@
 HibernateNature_reading_database_metadata=Reading database metadata
 HibernateNature_reading_database_metadata_for=Reading database metadata for
 
+ConnectionProfileCtrl_Edit=Edit...
+ConnectionProfileCtrl_HibernateConfiguredConnection=[Hibernate configured connection]
+ConnectionProfileCtrl_New=New...
 ConnectionProfileRenameChange_update_connection_profile_name=Update connection profile name in launch configuration
 ConnectionProfileRenameParticipant_launch_configurations_updates=Launch Configurations updates
\ No newline at end of file

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConnectionProfileCtrl.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConnectionProfileCtrl.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConnectionProfileCtrl.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -43,6 +43,7 @@
 import org.eclipse.swt.widgets.Display;
 import org.eclipse.ui.internal.dialogs.PropertyDialog;
 import org.hibernate.annotations.common.util.StringHelper;
+import org.hibernate.eclipse.console.HibernateConsoleMessages;
 import org.hibernate.eclipse.console.HibernateConsolePlugin;
 
 /**
@@ -146,7 +147,7 @@
 		 * @param label
 		 */
 		public NewConnectionProfileAction() {
-			super("New...");
+			super(HibernateConsoleMessages.ConnectionProfileCtrl_New);
 		}
 
 		@Override
@@ -201,7 +202,7 @@
 		 * @param label
 		 */
 		public EditConnectionProfileAction() {
-			super("Edit...");
+			super(HibernateConsoleMessages.ConnectionProfileCtrl_Edit);
 		}
 
 		/**
@@ -269,11 +270,11 @@
 		combo.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
 		
 		buttonNew = new Button(comp, SWT.PUSH);
-		buttonNew.setText("New...");
+		buttonNew.setText(HibernateConsoleMessages.ConnectionProfileCtrl_New);
 		buttonNew.addSelectionListener(action1);
 
 		buttonEdit = new Button(comp, SWT.PUSH);
-		buttonEdit.setText("Edit...");
+		buttonEdit.setText(HibernateConsoleMessages.ConnectionProfileCtrl_Edit);
 		buttonEdit.addSelectionListener(action2);
 
 		updateInput();		

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -96,9 +96,9 @@
 	}
 
 	private void createDBConnectConfig(Composite container) {
-		Group group = SWTFactory.createGroup(container, "Database connection:", 3, 2, GridData.FILL_HORIZONTAL);
+		Group group = SWTFactory.createGroup(container, HibernateConsoleMessages.ConsoleConfigurationMainTab_DatabaseConnection, 3, 2, GridData.FILL_HORIZONTAL);
 		
-		connectionProfileCtrl = new ConnectionProfileCtrl(group, 1, "");  //$NON-NLS-1$//$NON-NLS-2$
+		connectionProfileCtrl = new ConnectionProfileCtrl(group, 1, ""); //$NON-NLS-1$
 		connectionProfileCtrl.addModifyListener(getChangeListener());
 		
 	}

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIFEST.MF	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIFEST.MF	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,10 +1,10 @@
 Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
-Bundle-Name: Hibernate JDT Integration
+Bundle-Name: %Bundle-Name.0
 Bundle-SymbolicName: org.hibernate.eclipse.jdt.ui;singleton:=true
 Bundle-Version: 3.2.0.beta9
 Bundle-Activator: org.hibernate.eclipse.jdt.ui.Activator
-Bundle-Vendor: JBoss, a division of Red Hat
+Bundle-Vendor: %Bundle-Vendor.0
 Bundle-Localization: plugin
 Require-Bundle: org.eclipse.jdt.ui,
  org.eclipse.jdt.core,

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -3,5 +3,7 @@
 bin.includes = META-INF/,\
                .,\
                plugin.xml,\
-               icons/
-src.includes = icons/
+               icons/,\
+               plugin.properties
+src.includes = icons/,\
+               plugin.properties

Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.properties	                        (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,3 @@
+#Properties file for org.hibernate.eclipse.jdt.ui
+Bundle-Vendor.0 = JBoss, a division of Red Hat
+Bundle-Name.0 = Hibernate JDT Integration
\ No newline at end of file

Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.properties
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -9,3 +9,5 @@
 MBeanExplorer.name = MBean Explorer
 OpenMBeanAction.label=Open &MBean...
 OpenMBeanAction.tooltip=Open MBean
+perspective.name=JMX
+ViewCategory_JMX=JMX

Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.xml
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -8,7 +8,7 @@
    <extension
          point="org.eclipse.ui.views">
       <category
-            name="JMX"
+            name="%ViewCategory_JMX"
             id="org.jboss.tools.jmx.ui.views">
       </category>
       <view
@@ -172,7 +172,7 @@
             class="org.jboss.tools.jmx.ui.internal.perspectives.JMXPerspective"
             icon="icons/releng_gears.gif"
             id="org.jboss.tools.jmx.ui.perspectives.JMXPerspective"
-            name="JMX">
+            name="%perspective.name">
       </perspective>
    </extension>
    <extension

Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -12,6 +12,7 @@
 public class Messages extends NLS {
 	public static String NewConnectionAction;
 	public static String NewConnectionWizard;
+	public static String NewConnectionWizard_CreateNewConnection;
 	public static String DefaultConnectionWizardPage_Title;
 	public static String DefaultConnectionWizardPage_Description;
 	public static String DefaultConnectionWizardPage_Simple;

Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,5 +1,6 @@
 NewConnectionAction=New Connection...
 NewConnectionWizard=New Connection Wizard
+NewConnectionWizard_CreateNewConnection=Create a new JMX Connection
 DefaultConnectionWizardPage_Title=Create JMX Connection
 DefaultConnectionWizardPage_Description=Create a new Default JMX Connection type by filling out either the Simple or the Advanced tab.
 DefaultConnectionWizardPage_Simple=Simple

Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -142,7 +142,7 @@
 		TreeViewer viewer;
 		public FirstPage() {
 			super(Messages.NewConnectionWizard);
-			setDescription("Create a new JMX Connection");
+			setDescription(Messages.NewConnectionWizard_CreateNewConnection);
 		}
 		public void createControl(Composite parent) {
 			Composite main = new Composite(parent, SWT.NONE);

Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -17,3 +17,21 @@
 actionSets.license.label=&JSF Studio License
 
 new.tiles=Tiles File
+PreferencePage_CustomCapabilities=Custom Capabilities
+PreferencePage_JSF=JSF
+PreferencePage_Project=Project
+PreferencePage_JSFImplementations=JSF Environment
+PreferencePage_JSFPages=JSF Pages
+PreferencePage_JSFFlowTabbed=JSF Flow Diagram
+
+NewWizardCat_JBossTools=JBoss Tools
+NewWizardCat_JSF=JSF
+NewWizardCat_Struts=Struts
+NewWizard_FacesConfig=Faces Config
+NewWizardDescription_FacesConfig=Create a Faces Config
+NewWizardDescription_JSFProject=Create a JSF Project
+
+ImportWizardCat_JSF=JSF
+ImportWizardCat_Struts=Struts
+ImportWizardDescription_JSFProject=Create a new Project from a JSF project in the file system. This does not copy the project to the workspace.
+ImportWizardDescription_JSFWar=Create a new Project from a JSF project in a WAR file. The content of WAR file will be copied to the workspace.

Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -3,21 +3,33 @@
 <plugin>
 
    <extension point="org.eclipse.ui.preferencePages">
-      <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.jsf.ui.preferences.JSFStudioPreferencesPage" id="org.jboss.tools.jsf.ui" name="JSF">
+      <page category="org.jboss.tools.common.model.ui" 
+            class="org.jboss.tools.jsf.ui.preferences.JSFStudioPreferencesPage" 
+            id="org.jboss.tools.jsf.ui" 
+            name="%PreferencePage_JSF">
       </page>
-      <page category="org.jboss.tools.jsf.ui" class="org.jboss.tools.jsf.ui.preferences.JSFProjectPreferencesPage" id="org.jboss.tools.jsf.ui.project" name="Project">
+      <page category="org.jboss.tools.jsf.ui" 
+            class="org.jboss.tools.jsf.ui.preferences.JSFProjectPreferencesPage" 
+            id="org.jboss.tools.jsf.ui.project" 
+            name="%PreferencePage_Project">
       </page>
-      <page category="org.jboss.tools.jsf.ui" class="org.jboss.tools.jsf.ui.preferences.JSFImplementationsPreferencesPage" id="org.jboss.tools.jsf.ui.jsfimplementations" name="JSF Environment"/>
-      <page category="org.jboss.tools.jsf.ui" class="org.jboss.tools.jsf.ui.preferences.JSFPagesPreferencesPage" id="org.jboss.tools.jsf.ui.jsfpages" name="JSF Pages"/>
+      <page category="org.jboss.tools.jsf.ui" 
+            class="org.jboss.tools.jsf.ui.preferences.JSFImplementationsPreferencesPage" 
+            id="org.jboss.tools.jsf.ui.jsfimplementations" 
+            name="%PreferencePage_JSFImplementations"/>
+      <page category="org.jboss.tools.jsf.ui" 
+            class="org.jboss.tools.jsf.ui.preferences.JSFPagesPreferencesPage" 
+            id="org.jboss.tools.jsf.ui.jsfpages" 
+            name="%PreferencePage_JSFPages"/>
       <page category="org.jboss.tools.common.model.ui" 
             class="org.jboss.tools.jsf.ui.preferences.JSFCapabilitiesPreferencesPage" 
             id="org.jboss.tools.jsf.ui.capabilities" 
-            name="Custom Capabilities"/>
+            name="%PreferencePage_CustomCapabilities"/>
       <page
             category="org.jboss.tools.common.xstudio.editors"
             class="org.jboss.tools.jsf.ui.preferences.JSFFlowTabbedPreferencesPage"
             id="org.jboss.tools.jsf.ui.jsfflowdiagram"
-            name="JSF Flow Diagram"/>
+            name="%PreferencePage_JSFFlowTabbed"/>
    </extension>
    
    
@@ -62,10 +74,12 @@
    </extension>
    <extension point="org.eclipse.ui.newWizards">
       <category
-            name="JBoss Tools"
+            name="%NewWizardCat_JBossTools"
             id="org.jboss.ide.eclipse.ui.wizards">
       </category>
-      <category id="org.jboss.tools.jsf" name="JSF" parentCategory="org.jboss.tools.jst.web">
+      <category id="org.jboss.tools.jsf" 
+            name="%NewWizardCat_JSF" 
+            parentCategory="org.jboss.tools.jst.web">
       </category>
       <wizard
             category="org.jboss.tools.jst.web/org.jboss.tools.jsf"
@@ -73,10 +87,10 @@
             finalPerspective="org.jboss.tools.jsf.ui.wizard.project.NewProjectWizard"
             icon="images/xstudio/wizards/jsf-config.gif"
             id="org.jboss.tools.jsf.ui.wizard.newfile.NewFacesConfigFileWizard"
-            name="Faces Config"
+            name="%NewWizard_FacesConfig"
             project="false">
          <description>
-            	Create a Faces Config
+            	%NewWizardDescription_FacesConfig
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -91,7 +105,7 @@
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="true">
          <description>
-            	Create a JSF Project
+            	%NewWizardDescription_JSFProject
          </description>
       </wizard>
 
@@ -99,7 +113,7 @@
    <extension point="org.eclipse.ui.importWizards">
       <category 
             id="org.jboss.tools.jsf" 
-            name="JSF" 
+            name="%ImportWizardCat_JSF" 
             parentCategory="org.jboss.tools.jst.web">
       </category>
       <wizard 
@@ -108,7 +122,7 @@
             icon="images/xstudio/wizards/import_jsf_project.gif" 
             id="org.jboss.tools.jsf.ui.wizard.project.ImportProjectWizard" 
             name="%importProjectWizard.name">
-         <description>Create a new Project from a JSF project in the file system. This does not copy the project to the workspace.</description>
+         <description>%ImportWizardDescription_JSFProject</description>
       </wizard>
       <wizard 
             category="org.jboss.tools.jst.web/org.jboss.tools.jsf"
@@ -116,7 +130,7 @@
             icon="images/xstudio/wizards/import_jsf_project.gif" 
             id="org.jboss.tools.jsf.ui.wizard.project.ImportProjectWizard" 
             name="%importJSFWarWizard.name">
-         <description>Create a new Project from a JSF project in a WAR file. The content of WAR file will be copied to the workspace.</description>
+         <description>%ImportWizardDescription_JSFWar</description>
       </wizard>
    </extension>
    <extension point="org.eclipse.ui.popupMenus">

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -3,4 +3,6 @@
 editors.tiles.name=JBoss Tools Tiles Editor
 new.tiles=Tiles File
 new.validation=Validation File
-
+PreferencePage_TilesDiagram=Tiles Diagram
+NewWizardCat_Struts=Struts
+NewWizardDescription_Tiles=Create a Tiles File
\ No newline at end of file

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -36,18 +36,19 @@
    </extension>
 
    <extension point="org.eclipse.ui.preferencePages">
-      <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.jst.web.tiles.ui.preferences.TilesEditorTabbedPreferencesPage" id="org.jboss.tools.common.xstudio.editors.tilesdiagram" name="Tiles Diagram">
+      <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.jst.web.tiles.ui.preferences.TilesEditorTabbedPreferencesPage" id="org.jboss.tools.common.xstudio.editors.tilesdiagram" 
+            name="%PreferencePage_TilesDiagram">
       </page>
    </extension>
 
    <extension point="org.eclipse.ui.newWizards">
-      <category id="org.jboss.tools.struts" name="Struts" parentCategory="org.jboss.tools.jst.web">
+      <category id="org.jboss.tools.struts" name="%NewWizardCat_Struts" parentCategory="org.jboss.tools.jst.web">
       </category>
       <wizard category="org.jboss.tools.jst.web/org.jboss.tools.struts" class="org.jboss.tools.jst.web.tiles.ui.wizard.newfile.NewTilesFileWizard" icon="images/xstudio/wizards/new_tiles_file.gif" id="org.jboss.tools.jst.web.tiles.ui.wizard.newfile.NewTilesFileWizard" name="%new.tiles" project="false">
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
          <description>
-            	Create a Tiles File
+            	%NewWizardDescription_Tiles
          </description>
       </wizard>
    </extension>

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -17,4 +17,28 @@
 popupMenus.action.unregisterFromServerXml=Unregister Web Context from server.xml
 popupMenus.action.saveAsTemplate=Save As Template...
 
-web.category_ui_=Web
\ No newline at end of file
+web.category_ui_=Web
+
+PreferencePage_LibrarySets=Library Sets
+NewWizardCat_JBossToolsWeb=JBoss Tools Web
+NewWizard_CSSFile=CSS File
+NewWizardDescription_CSSFile=Create a CSS File
+NewWizard_CSSClass=CSS Class
+NewWizardDescription_CSSClass=Create a CSS Class
+NewWizard_JSFile=JS File
+NewWizardDescription_JSFile=Create a JS File
+NewWizard_WebDescriptor=Web Descriptor
+NewWizardDescription_WebDescriptor=Create a Web Descriptor
+NewWizard_JSPFile=JSP File
+NewWizardDescription_JSPFile=Create a JSP File
+NewWizard_XHTMLFile=XHTML File
+NewWizardDescription_XHTMLFile=Create a XHTML File
+NewWizard_HTMLFile=HTML File
+NewWizardDescription_HTMLFile=Create a HTML File
+NewWizard_PropertiesFile=Properties File
+NewWizardDescription_PropertiesFile=Create a Properties File
+NewWizard_TLDFile=TLD File
+NewWizardDescription_TLDFile=Create a TLD File
+
+ViewName_WebProjects=Web Projects
+ViewCategory_JBossToolsWeb=JBoss Tools Web

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -39,7 +39,8 @@
       </xmlEditor>
    </extension>
    <extension point="org.eclipse.ui.preferencePages">
-      <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.jst.web.ui.internal.preferences.LibrarySetsPreferencePage" id="org.jboss.tools.common.xstudio.libsets" name="Library Sets">
+      <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.jst.web.ui.internal.preferences.LibrarySetsPreferencePage" id="org.jboss.tools.common.xstudio.libsets" 
+      name="%PreferencePage_LibrarySets">
       </page>
    </extension>
    <extension point="org.eclipse.ui.editors">
@@ -89,7 +90,7 @@
    </extension>
 
    <extension point="org.eclipse.ui.newWizards">      
-      <category name="JBoss Tools Web" 
+      <category name="%NewWizardCat_JBossToolsWeb" 
                 id="org.jboss.tools.jst.web">
       </category>
       <wizard
@@ -98,11 +99,11 @@
             finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             icon="images/xstudio/wizards/new_css_file.gif"
             id="org.jboss.tools.jst.web.ui.wizards.newfile.NewCSSFileWizard"
-            name="CSS File"
+            name="%NewWizard_CSSFile"
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="false">
          <description>
-            	Create a CSS File
+            	%NewWizardDescription_CSSFile
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -113,11 +114,11 @@
             finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             icon="images/xstudio/wizards/new_css_class.gif"
             id="org.jboss.tools.jst.web.ui.wizards.newfile.NewCSSClassWizard"
-            name="CSS Class"
+            name="%NewWizard_CSSClass"
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="false">
          <description>
-            	Create a CSS Class
+            	%NewWizardDescription_CSSClass
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -128,11 +129,11 @@
             finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             icon="images/xstudio/wizards/new_js_file.gif"
             id="org.jboss.tools.jst.web.ui.wizards.newfile.NewJSFileWizard"
-            name="JS File"
+            name="%NewWizard_JSFile"
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="false">
          <description>
-            	Create a JS File
+            	%NewWizardDescription_JSFile
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -143,11 +144,11 @@
             finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             icon="images/xstudio/wizards/new_webapp_file.gif"
             id="org.jboss.tools.jst.web.ui.wizards.newfile.NewWebFileWizard"
-            name="Web Descriptor"
+            name="%NewWizard_WebDescriptor"
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="false">
          <description>
-            	Create a Web Descriptor
+            	%NewWizardDescription_WebDescriptor
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -158,11 +159,11 @@
             finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             icon="images/xstudio/wizards/new_jsp_file.gif"
             id="org.jboss.tools.common.model.ui.wizard.newfile.NewJSPFileWizard"
-            name="JSP File"
+            name="%NewWizard_JSPFile"
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="false">
          <description>
-            	Create a JSP File
+            	%NewWizardDescription_JSPFile
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -173,11 +174,11 @@
             finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             icon="images/xstudio/wizards/new_html_file.gif"
             id="org.jboss.tools.common.model.ui.wizard.newfile.NewXHTMLFileWizard"
-            name="XHTML File"
+            name="%NewWizard_XHTMLFile"
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="false">
          <description>
-            	Create a XHTML File
+            	%NewWizardDescription_XHTMLFile
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -188,11 +189,11 @@
             finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             icon="images/xstudio/wizards/new_html_file.gif"
             id="org.jboss.tools.common.model.ui.wizard.newfile.NewHTMLFileWizard"
-            name="HTML File"
+            name="%NewWizard_HTMLFile"
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="false">
          <description>
-            	Create a HTML File
+            	%NewWizardDescription_HTMLFile
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -202,10 +203,10 @@
             class="org.jboss.tools.common.model.ui.wizard.newfile.NewPropertiesFileWizard"
             icon="images/xstudio/wizards/new_properties_file.gif"
             id="org.jboss.tools.common.model.ui.wizard.newfile.NewPropertiesFileWizard"
-            name="Properties File"
+            name="%NewWizard_PropertiesFile"
             project="false">
          <description>
-            	Create a Properties File
+            	%NewWizardDescription_PropertiesFile
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -216,11 +217,11 @@
             finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             icon="images/xstudio/wizards/new_taglibs_file.gif"
             id="org.jboss.tools.jst.web.ui.wizards.newfile.NewTLDFileWizard"
-            name="TLD File"
+            name="%NewWizard_TLDFile"
             preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
             project="false">
          <description>
-            	Create a TLD File
+            	%NewWizardDescription_TLDFile
          </description>
          <selection class="org.eclipse.core.resources.IResource">
          </selection>
@@ -228,11 +229,11 @@
    </extension>
 
    <extension id="org.jboss.tools.jst.web.ui.views" name="JBoss Tools" point="org.eclipse.ui.views">
-      <category id="web.views.category.id" name="JBoss Tools Web">
+      <category id="web.views.category.id" name="%ViewCategory_JBossToolsWeb">
       </category>
       <view category="web.views.category.id" class="org.jboss.tools.common.model.ui.views.palette.PaletteViewPart" icon="images/xstudio/views/palette.gif" id="org.jboss.tools.common.model.ui.views.palette.PaletteView" name="%paletteViewPart.name">
       </view>
-      <view category="web.views.category.id" class="org.jboss.tools.jst.web.ui.navigator.WebProjectsNavigator" icon="images/xstudio/views/web_project.gif" id="org.jboss.tools.jst.web.ui.navigator.WebProjectsView" name="Web Projects">
+      <view category="web.views.category.id" class="org.jboss.tools.jst.web.ui.navigator.WebProjectsNavigator" icon="images/xstudio/views/web_project.gif" id="org.jboss.tools.jst.web.ui.navigator.WebProjectsView" name="%ViewName_WebProjects">
       </view>
    </extension>
 

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/AbstractImplementationsPreferencesPage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/AbstractImplementationsPreferencesPage.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/AbstractImplementationsPreferencesPage.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -36,8 +36,8 @@
 public class AbstractImplementationsPreferencesPage extends PreferencePage implements
 		IWorkbenchPreferencePage {
 
-	public static final String BUNDLE_NAME = "preferences"; 
-	public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(AbstractImplementationsPreferencesPage.class.getPackage().getName() + "." + BUNDLE_NAME);	
+	public static final String BUNDLE_NAME = "preferences";  //$NON-NLS-1$
+	public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(AbstractImplementationsPreferencesPage.class.getPackage().getName() + "." + BUNDLE_NAME);	 //$NON-NLS-1$
 	
 	private AbstractWebProjectTemplate helper;
 	private String[] implementations;	
@@ -121,10 +121,10 @@
 		heightHint = convertVerticalDLUsToPixels(14 /*IDialogConstants.BUTTON_HEIGHT*/);
 		widthHint = convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH);		
 		
-		addButtonImpl = createButton(impl, BUNDLE.getString("ImplementationsPreferencesPage.Add"));
+		addButtonImpl = createButton(impl, BUNDLE.getString("ImplementationsPreferencesPage.Add")); //$NON-NLS-1$
 		if (errorMessage != null) addButtonImpl.setEnabled(false);
 
-		removeButtonImpl = createButton(impl, BUNDLE.getString("ImplementationsPreferencesPage.Remove"));
+		removeButtonImpl = createButton(impl, BUNDLE.getString("ImplementationsPreferencesPage.Remove")); //$NON-NLS-1$
 		removeButtonImpl.setEnabled(false);		
 
 		// TabFolder
@@ -133,10 +133,10 @@
 		tabbedComposite.setLayoutData(gridDataTab);
 		
 		TabItem librariesTab = new TabItem(tabbedComposite,SWT.NULL);
-		librariesTab.setText(BUNDLE.getString("ImplementationsPreferencesPage.Library.Sets"));
+		librariesTab.setText(BUNDLE.getString("ImplementationsPreferencesPage.Library.Sets")); //$NON-NLS-1$
 		
 		TabItem projectTab = new TabItem(tabbedComposite,SWT.NULL);
-		projectTab.setText(BUNDLE.getString("ImplementationsPreferencesPage.Project.Templates"));
+		projectTab.setText(BUNDLE.getString("ImplementationsPreferencesPage.Project.Templates")); //$NON-NLS-1$
 
 		// listLibraries		
 		Composite entryLibraries = new Composite(tabbedComposite, SWT.NULL);
@@ -150,10 +150,10 @@
 		listLibraries.setLayoutData(gridDataListLibraries);
 			
 
-		addButtonLibraries = createButton(entryLibraries, BUNDLE.getString("ImplementationsPreferencesPage.Add"));
+		addButtonLibraries = createButton(entryLibraries, BUNDLE.getString("ImplementationsPreferencesPage.Add")); //$NON-NLS-1$
 		addButtonLibraries.setEnabled(false);		
 
-		removeButtonLibraries = createButton(entryLibraries, BUNDLE.getString("ImplementationsPreferencesPage.Remove"));
+		removeButtonLibraries = createButton(entryLibraries, BUNDLE.getString("ImplementationsPreferencesPage.Remove")); //$NON-NLS-1$
 		removeButtonLibraries.setEnabled(false);		
 
 		librariesTab.setControl(entryLibraries);
@@ -170,21 +170,23 @@
 		listProject.setLayoutData(gridDataListProject);
 			
 
-		addButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Add"));
+		addButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Add")); //$NON-NLS-1$
 		addButtonProject.setEnabled(false);
 		
-		editButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Edit"));
+		editButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Edit")); //$NON-NLS-1$
 		editButtonProject.setEnabled(false);
 		
-		upButtonProject = createButton(entryProject, "Up");
+		upButtonProject = createButton(entryProject, BUNDLE
+				.getString("ImplementationsPreferencesPage.Up")); //$NON-NLS-1$
 		upButtonProject.setEnabled(false);
 		GridData d = (GridData)upButtonProject.getLayoutData();
 		d.verticalIndent = 5;
 
-		downButtonProject = createButton(entryProject, "Down");
+		downButtonProject = createButton(entryProject, BUNDLE
+				.getString("ImplementationsPreferencesPage.Down")); //$NON-NLS-1$
 		downButtonProject.setEnabled(false);
 
-		removeButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Remove"));
+		removeButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Remove")); //$NON-NLS-1$
 		removeButtonProject.setEnabled(false);
 		d = (GridData)removeButtonProject.getLayoutData();
 		d.verticalIndent = 5;

Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -12,5 +12,7 @@
 ImplementationsPreferencesPage.Add=Add
 ImplementationsPreferencesPage.Edit=Edit
 ImplementationsPreferencesPage.Remove=Remove
+ImplementationsPreferencesPage.Up=Up
+ImplementationsPreferencesPage.Down=Down
 ImplementationsPreferencesPage.Library.Sets=Library Sets
 ImplementationsPreferencesPage.Project.Templates=Project Templates
\ No newline at end of file

Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,2 +1,9 @@
 # Menus
 searchMenu.label= Se&arch
+PreferencePage_Validator=Validator
+PreferencePage_Seam=Seam
+PreferencePage_SeamValidator=Seam Validator
+PreferencePage_SeamSettings=Seam Settings
+ViewCategory_Seam=Seam
+ViewName_SeamComponents=Seam Components
+perspective.name=Seam

Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -114,14 +114,14 @@
          point="org.eclipse.ui.views">
       <category
             id="org.jboss.tools.seam.ui"
-            name="Seam">
+            name="%ViewCategory_Seam">
       </category>
       <view
             category="org.jboss.tools.seam.ui"
             class="org.eclipse.ui.navigator.CommonNavigator"
             icon="icons/seam16.png"
             id="org.jboss.tools.seam.ui.views.SeamComponentsNavigator"
-            name="Seam Components">
+            name="%ViewName_SeamComponents">
       </view>
    </extension>
    <extension
@@ -415,20 +415,20 @@
          category="org.jboss.tools.common.model.ui.seam" 
          class="org.jboss.tools.seam.ui.preferences.SeamValidatorPreferencePage" 
          id="org.jboss.tools.seam.ui.preferences.SeamValidatorPreferencePage" 
-         name="Validator">
+         name="%PreferencePage_Validator">
       </page>
       <page
             category="org.jboss.tools.common.model.ui"
             class="org.jboss.tools.seam.ui.preferences.SeamPreferencePage"
             id="org.jboss.tools.common.model.ui.seam"
-            name="Seam">
+            name="%PreferencePage_Seam">
       </page>
    </extension>
 
    <extension
          point="org.eclipse.ui.propertyPages">
       <page
-            name="Seam Validator"
+            name="%PreferencePage_SeamValidator"
             class="org.jboss.tools.seam.ui.preferences.SeamValidatorPreferencePage"
             id="org.jboss.tools.seam.ui.propertyPages.SeamValidatorPreferencePage">
          <enabledWhen>
@@ -439,7 +439,7 @@
       </page>
 
       <page
-            name="Seam Settings"
+            name="%PreferencePage_SeamSettings"
             class="org.jboss.tools.seam.ui.preferences.SeamSettingsPreferencePage"
             id="org.jboss.tools.seam.ui.propertyPages.SeamSettingsPreferencePage">
          <enabledWhen>
@@ -455,7 +455,7 @@
             class="org.jboss.tools.seam.ui.SeamPerspectiveFactory"
             icon="icons/seam16.png"
             id="org.jboss.tools.seam.ui.SeamPerspective"
-            name="Seam">
+            name="%perspective.name">
       </perspective>
    </extension>
    <extension

Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -464,6 +464,12 @@
 	
 	public static String SeamQuickFixFindDeclarations;
 	public static String SeamQuickFixFindReferences;
+
+	public static String SeamRuntimeListFieldEditor_ActionAdd;
+
+	public static String SeamRuntimeListFieldEditor_ActionEdit;
+
+	public static String SeamRuntimeListFieldEditor_ActionRemove;
 	
 	static {
 		// load message values from bundle file

Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -239,6 +239,9 @@
 SeamSearch="Seam Search - "
 SeamQuickFixFindDeclarations=Find Seam declarations for ''{0}''
 SeamQuickFixFindReferences=Find Seam references for ''{0}''
+SeamRuntimeListFieldEditor_ActionAdd=&Add
+SeamRuntimeListFieldEditor_ActionEdit=&Edit
+SeamRuntimeListFieldEditor_ActionRemove=&Remove
 POJO_CLASS_ALREADY_EXISTS=Such POJO class already exists!
 ENTITY_CLASS_ALREADY_EXISTS=Such entity class already exists!
 PAGE_ALREADY_EXISTS=Such page already exists!

Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -418,9 +418,9 @@
 	public static class SeamRuntimeWizardPage extends WizardPage implements
 			PropertyChangeListener {
 
-		private static final String SRT_NAME = "name";
-		private static final String SRT_HOMEDIR = "homeDir";
-		private static final String SRT_VERSION = "version";
+		private static final String SRT_NAME = "name"; //$NON-NLS-1$
+		private static final String SRT_HOMEDIR = "homeDir"; //$NON-NLS-1$
+		private static final String SRT_VERSION = "version"; //$NON-NLS-1$
 
 		private static final int GL_PARENT_COLUMNS = 1;
 		private static final int GL_CONTENT_COLUMNS = 3;
@@ -548,11 +548,11 @@
 		 *            PropertyChangeEvent describes changes in wizard
 		 */
 		public void propertyChange(java.beans.PropertyChangeEvent evt) {
-			if ("homeDir".equals(evt.getPropertyName())) {
+			if ("homeDir".equals(evt.getPropertyName())) { //$NON-NLS-1$
 				if (name.getValueAsString() == null
-						|| "".equals(name.getValueAsString().trim())) {
+						|| "".equals(name.getValueAsString().trim())) { //$NON-NLS-1$
 					String homeDirName = homeDir.getValueAsString();
-					if (homeDirName != null && !"".equals(homeDirName.trim())) {
+					if (homeDirName != null && !"".equals(homeDirName.trim())) { //$NON-NLS-1$
 						File folder = new File(homeDirName);
 						homeDirName = folder.getName();
 					}
@@ -567,7 +567,7 @@
 					}
 					if (seamVersion != null && validSeamVersions != null) {
 						for (SeamVersion ver : validSeamVersions) {
-							if (seamVersion.matches(ver.toString().substring(0,1)+ ".*")) {
+							if (seamVersion.matches(ver.toString().substring(0,1)+ ".*")) { //$NON-NLS-1$
 								version.setValue(ver.toString());
 								break;
 							}
@@ -632,8 +632,8 @@
 				return;
 			} else if (!seamVersion.matches(version.getValueAsString().replace(
 					".", "\\.") + ".*")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-				if(seamVersion.matches(version.getValueAsString().substring(0,1)+".*")) {
-					if(!seamVersion.matches(version.getValueAsString().substring(0,1)+"\\.1\\..*"))  {
+				if(seamVersion.matches(version.getValueAsString().substring(0,1)+".*")) { //$NON-NLS-1$
+					if(!seamVersion.matches(version.getValueAsString().substring(0,1)+"\\.1\\..*"))  { //$NON-NLS-1$
 						setMessage(SeamUIMessages.SEAM_RUNTIME_LIST_FIELD_EDITOR_THE_SELECTED_SEAM_APPEARS_TO_BE_OF_INCOMATIBLE_VERSION
 							+ seamVersion + "'", IMessageProvider.WARNING); //$NON-NLS-1$
 					}
@@ -672,7 +672,7 @@
 		public static String getSeamVersion(String path) {
 			File seamJarFile = new File(path, "jboss-seam.jar"); //$NON-NLS-1$
 			if (!seamJarFile.exists()) {
-				seamJarFile = new File(path, "lib/jboss-seam.jar"); // hack to
+				seamJarFile = new File(path, "lib/jboss-seam.jar"); // hack to //$NON-NLS-1$
 				// make it
 				// work for
 				// seam2
@@ -1050,13 +1050,11 @@
 	 */
 	public class AddAction extends BaseAction {
 
-		static final String ACTION_NAME = "&Add";
-		
 		/**
 		 * Constructior create Add action with default name
 		 */
 		public AddAction() {
-			super(ACTION_NAME);
+			super(SeamUIMessages.SeamRuntimeListFieldEditor_ActionAdd);
 			// This action is always available
 			setEnabled(true);
 		}
@@ -1094,16 +1092,13 @@
 	 */
 	public class EditAction extends BaseAction {
 
-		static final String ACTION_NAME = "&Edit";
-		
-		
 		/**
 		 * Create EditAction with default name
 		 * 
 		 * @param text
 		 */
 		public EditAction() {
-			super(ACTION_NAME);
+			super(SeamUIMessages.SeamRuntimeListFieldEditor_ActionEdit);
 		}
 
 		/**
@@ -1156,12 +1151,11 @@
 	 */
 	public class RemoveAction extends BaseAction {
 		
-		static final String ACTION_NAME = "&Remove";
 		/**
 		 * Create DeleteAction action with default name
 		 */
 		public RemoveAction() {
-			super(ACTION_NAME);
+			super(SeamUIMessages.SeamRuntimeListFieldEditor_ActionRemove);
 		}
 
 		@Override

Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.properties
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -31,3 +31,17 @@
 new.validation=Validation File
 
 struts.projects.navigator.name=Struts Projects
+
+NewWizardCat_Struts=Struts
+ImportWizardCat_Struts=Struts
+PreferencePage_Struts=Struts
+PreferencePage_StrutsSupport=Struts Support
+PreferencePage_StrutsEnvironment=Struts Environment
+PreferencePage_StrutsPages=Struts Pages
+PreferencePage_Project=Project
+PreferencePage_Automation=Automation
+PreferencePage_ResourceInsets=Resource Insets
+PreferencePage_Customization=Customization
+PreferencePage_WebFlow=Struts Flow Diagram
+PreferencePage_PluginInsets=Plug-in Insets
+

Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.xml
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -31,7 +31,7 @@
       </xmlEditor-->
    </extension>
    <extension point="org.eclipse.ui.newWizards">
-      <category id="org.jboss.tools.struts" name="Struts" parentCategory="org.jboss.tools.jst.web">
+      <category id="org.jboss.tools.struts" name="%NewWizardCat_Struts" parentCategory="org.jboss.tools.jst.web">
       </category>
       <wizard
             category="org.jboss.tools.jst.web/org.jboss.tools.struts"
@@ -94,7 +94,7 @@
    <extension point="org.eclipse.ui.importWizards">
       <category 
             id="org.jboss.tools.struts" 
-            name="Struts" 
+            name="%ImportWizardCat_Struts" 
             parentCategory="org.jboss.tools.jst.web">
       </category>
       <wizard 
@@ -127,21 +127,30 @@
       </attributeAdapter>
    </extension>
    <extension point="org.eclipse.ui.preferencePages">
-      <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.struts.ui.preferences.StrutsStudioPreferencesPage" id="org.jboss.tools.common.xstudio" name="Struts">
+      <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.struts.ui.preferences.StrutsStudioPreferencesPage" id="org.jboss.tools.common.xstudio" 
+            name="%PreferencePage_Struts">
       </page>
-      <page category="org.jboss.tools.common.xstudio.project" class="org.jboss.tools.struts.ui.preferences.StrutsSupportPreferencesPage" id="org.jboss.tools.common.xstudio.project.strutssupport" name="Struts Support">
+      <page category="org.jboss.tools.common.xstudio.project" class="org.jboss.tools.struts.ui.preferences.StrutsSupportPreferencesPage" id="org.jboss.tools.common.xstudio.project.strutssupport" 
+            name="%PreferencePage_StrutsSupport">
       </page>
-      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.StrutsImplementationsPreferencesPage" id="org.jboss.tools.struts.ui.environments" name="Struts Environment"/>
-      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.StrutsPagesPreferencesPage" id="org.jboss.tools.jsf.ui.jsfpages" name="Struts Pages"/>
-      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.ProjectPreferencesPage" id="org.jboss.tools.common.xstudio.project" name="Project">
+      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.StrutsImplementationsPreferencesPage" id="org.jboss.tools.struts.ui.environments" 
+            name="%PreferencePage_StrutsEnvironment"/>
+      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.StrutsPagesPreferencesPage" id="org.jboss.tools.jsf.ui.jsfpages" 
+            name="%PreferencePage_StrutsPages"/>
+      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.ProjectPreferencesPage" id="org.jboss.tools.common.xstudio.project" 
+            name="%PreferencePage_Project">
       </page>
-      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.AutomationPreferencePage" id="org.jboss.tools.common.xstudio.automation" name="Automation">
+      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.AutomationPreferencePage" id="org.jboss.tools.common.xstudio.automation" 
+            name="%PreferencePage_Automation">
       </page>
-      <page category="org.jboss.tools.common.xstudio.automation" class="org.jboss.tools.struts.ui.preferences.RsourceInsetsPreferencesPage" id="org.jboss.tools.common.xstudio.automation.resource.insets" name="Resource Insets">
+      <page category="org.jboss.tools.common.xstudio.automation" class="org.jboss.tools.struts.ui.preferences.RsourceInsetsPreferencesPage" id="org.jboss.tools.common.xstudio.automation.resource.insets" 
+            name="%PreferencePage_ResourceInsets">
       </page>
-      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.CustomizationPreferencePage" id="org.jboss.tools.common.xstudio.customization" name="Customization">
+      <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.CustomizationPreferencePage" id="org.jboss.tools.common.xstudio.customization" 
+            name="%PreferencePage_Customization">
       </page>
-      <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.struts.ui.preferences.WebFlowTabbedPreferencesPage" id="org.jboss.tools.common.xstudio.editors.webflowdiagram" name="Struts Flow Diagram">
+      <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.struts.ui.preferences.WebFlowTabbedPreferencesPage" id="org.jboss.tools.common.xstudio.editors.webflowdiagram" 
+            name="%PreferencePage_WebFlow">
       </page>
    </extension>
    <!--extension point="org.eclipse.ui.perspectives">
@@ -265,7 +274,8 @@
    
 
    <extension point="org.eclipse.ui.preferencePages">
-      <page category="org.jboss.tools.common.xstudio.automation" class="org.jboss.tools.struts.ui.preferences.PluginInsetsPreferencesPage" id="org.jboss.tools.common.xstudio.automation.plugin.insets" name="Plug-in Insets">
+      <page category="org.jboss.tools.common.xstudio.automation" class="org.jboss.tools.struts.ui.preferences.PluginInsetsPreferencesPage" id="org.jboss.tools.common.xstudio.automation.plugin.insets" 
+            name="%PreferencePage_PluginInsets">
       </page>
    </extension>
 

Added: trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/Messages.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/Messages.java	                        (rev 0)
+++ trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/Messages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,16 @@
+package org.jboss.tools.struts.validator.ui;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+	private static final String BUNDLE_NAME = "org.jboss.tools.struts.validator.ui.messages"; //$NON-NLS-1$
+	public static String ActionNames_Default;
+	public static String ActionNames_Overwrite;
+	static {
+		// initialize resource bundle
+		NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+	}
+
+	private Messages() {
+	}
+}

Modified: trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/formset/ActionNames.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/formset/ActionNames.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/formset/ActionNames.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -11,11 +11,12 @@
 package org.jboss.tools.struts.validator.ui.formset;
 
 import org.jboss.tools.common.model.ui.objecteditor.XChildrenEditor;
+import org.jboss.tools.struts.validator.ui.Messages;
 
 public interface ActionNames {
 	public String ADD = XChildrenEditor.ADD;
 	public String EDIT = XChildrenEditor.EDIT;
-	public String OVERWRITE = "Override";
+	public String OVERWRITE = Messages.ActionNames_Overwrite;
 	public String DELETE = XChildrenEditor.DELETE;
-	public String DEFAULT = "Default";
+	public String DEFAULT = Messages.ActionNames_Default;
 }

Added: trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/messages.properties
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/messages.properties	                        (rev 0)
+++ trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,2 @@
+ActionNames_Default=Default
+ActionNames_Overwrite=Override

Modified: trunk/vpe/plugins/org.jboss.tools.vpe/plugin.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/plugin.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -6,3 +6,6 @@
 source.maxmin=Maximize/Restore Source Part
 visual.maxmin=Maximize/Restore Visual Part
 visual.jumping=Jump
+PreferencePage_ElVariables=El Variables
+visualEditorImpl_name=XulRunner Visual Editor
+PreferencePage_VpeEditor=Visual Page Editor

Modified: trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -31,12 +31,14 @@
       />
    </extension>
 	<extension point="org.eclipse.ui.preferencePages">
-      <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.vpe.editor.preferences.VpeEditorPreferencesPage" id="org.jboss.tools.vpe.editor" name="Visual Page Editor"></page>
+      <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.vpe.editor.preferences.VpeEditorPreferencesPage" id="org.jboss.tools.vpe.editor" 
+            name="%PreferencePage_VpeEditor">
+      </page>
       <page
             category="org.jboss.tools.common.model.ui"
             class="org.jboss.tools.vpe.editor.preferences.ELVariablesPreferencePage"
             id="org.jboss.tools.common.xstudio.elvariables"
-            name="El Variables">
+            name="%PreferencePage_ElVariables">
       </page>
    	</extension>
    	<extension
@@ -76,7 +78,7 @@
 	</extension>
   <extension
         point="org.jboss.tools.jst.jsp.visulaEditorImplementations"  id="org.jboss.tools.vpe.editor.VpeEditorPartFactory">
-        	<visualEditorImplementation name="XulRunner Visual Editor" class="org.jboss.tools.vpe.editor.VpeEditorPartFactory"/>
+        	<visualEditorImplementation name="%visualEditorImpl_name" class="org.jboss.tools.vpe.editor.VpeEditorPartFactory"/>
   </extension>
    <extension
         point="org.eclipse.ui.menus">

Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesPreferencePage.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesPreferencePage.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesPreferencePage.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -31,8 +31,8 @@
 import org.jboss.tools.vpe.messages.VpeUIMessages;
 
 public class TemplatesPreferencePage extends PreferencePage implements IWorkbenchPreferencePage, CommandBarListener {
-	static String EDIT = "Edit"; //$NON-NLS-1$
-	static String REMOVE = "Remove"; //$NON-NLS-1$
+	static String EDIT = VpeUIMessages.TemplatesPreferencePage_Edit; 
+	static String REMOVE = VpeUIMessages.TemplatesPreferencePage_Remove; 
 	protected TemplatesTableProvider tableProvider;// = new TemplatesTableProvider();
 	protected XTable table = new XTable();
 	protected CommandBar bar = new CommandBar();

Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -16,9 +16,10 @@
 import org.eclipse.swt.graphics.*;
 
 import org.jboss.tools.vpe.editor.template.VpeAnyData;
+import org.jboss.tools.vpe.messages.VpeUIMessages;
 
 public class TemplatesTableProvider implements XTableProvider, XTableImageProvider {
-	static String[] COLUMNS = new String[]{"URI","Tag for Display", "Tag Name", "Children"};
+	static String[] COLUMNS = new String[]{VpeUIMessages.TemplatesTableProvider_URI,VpeUIMessages.TemplatesTableProvider_TagForDisplay, VpeUIMessages.TemplatesTableProvider_TagName, VpeUIMessages.TemplatesTableProvider_Children};
 	static int[] WIDTH = new int[]{200,150, 150,100};
 	List dataList;
 	
@@ -49,10 +50,10 @@
 			case 2:
 				return data.getName();
 			case 3:
-				if(data.isChildren()) return "yes";
-				else return "no";
+				if(data.isChildren()) return VpeUIMessages.TemplatesTableProvider_Yes;
+				else return VpeUIMessages.TemplatesTableProvider_No;
 		}
-		return "x";
+		return "x"; //$NON-NLS-1$
 	}
 
 	public Object getDataAt(int r) {

Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java	2009-01-14 07:33:15 UTC (rev 13030)
@@ -81,6 +81,14 @@
 	public static String SHOW;
 	public static String HIDE;
 	public static String TAG_FOR_DISPLAY;
+	public static String TemplatesPreferencePage_Edit;
+	public static String TemplatesPreferencePage_Remove;
+	public static String TemplatesTableProvider_Children;
+	public static String TemplatesTableProvider_No;
+	public static String TemplatesTableProvider_TagForDisplay;
+	public static String TemplatesTableProvider_TagName;
+	public static String TemplatesTableProvider_URI;
+	public static String TemplatesTableProvider_Yes;
 	public static String STYLE;
 	public static String MAX_SOURCE_PANE;
 	public static String MAX_VISUAL_PANE;

Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -59,6 +59,14 @@
 SHOW=Show
 HIDE=Hide
 TAG_FOR_DISPLAY=Tag for Display
+TemplatesPreferencePage_Edit=Edit
+TemplatesPreferencePage_Remove=Remove
+TemplatesTableProvider_Children=Children
+TemplatesTableProvider_No=no
+TemplatesTableProvider_TagForDisplay=Tag for Display
+TemplatesTableProvider_TagName=Tag Name
+TemplatesTableProvider_URI=URI
+TemplatesTableProvider_Yes=yes
 STYLE=Style
 MAX_SOURCE_PANE=Maximize Source Pane
 MAX_VISUAL_PANE=Maximize Visual Pane

Modified: trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/META-INF/MANIFEST.MF	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/META-INF/MANIFEST.MF	2009-01-14 07:33:15 UTC (rev 13030)
@@ -4,6 +4,7 @@
 Bundle-SymbolicName: org.jboss.tools.vpe.xulrunner.test;singleton:=true
 Bundle-Version: 2.0.0
 Bundle-Vendor: JBoss, a division of Red Hat
+Bundle-Localization: plugin
 Require-Bundle: org.eclipse.ui,
  org.eclipse.core.runtime,
  org.junit,

Modified: trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/build.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/build.properties	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/build.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,9 +1,11 @@
 output.. = bin/
 bin.includes = META-INF/,\
                plugin.xml,\
-               vpe-mozilla-tests.jar
+               vpe-mozilla-tests.jar,\
+               plugin.properties
 src.includes = src/,\
                plugin.xml,\
                build.properties,\
-               META-INF/
+               META-INF/,\
+               plugin.properties
 source.vpe-mozilla-tests.jar = src/

Added: trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.properties	                        (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.properties	2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,2 @@
+ViewName_XulRunner=XulRunner View
+ViewCategory_VPETests=VPE Tests

Modified: trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.xml	2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.xml	2009-01-14 07:33:15 UTC (rev 13030)
@@ -5,12 +5,12 @@
          point="org.eclipse.ui.views">
       <category
             id="org.jboss.tools.vpe.xulrunner.view"
-            name="VPE Tests"/>
+            name="%ViewCategory_VPETests"/>
       <view
             category="org.jboss.tools.vpe.xulrunner.view"
             class="org.jboss.tools.vpe.xulrunner.view.XulRunnerView"
             id="org.jboss.tools.vpe.xulrunner.view.XulRunnerView"
-            name="XulRunner View"/>
+            name="%ViewName_XulRunner"/>
    </extension>
    <extension
          point="org.eclipse.ui.perspectiveExtensions">




More information about the jbosstools-commits mailing list