[104952] TVT3.1: tct 378- English strings
diff --git a/bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF index d430a55..89b7825 100644 --- a/bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.wst.xsd.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: %_UI_PLUGIN_NAME Bundle-SymbolicName: org.eclipse.wst.xsd.ui; singleton:=true -Bundle-Version: 0.7.0 +Bundle-Version: 0.7.1 Bundle-ClassPath: xsdeditor.jar Bundle-Activator: org.eclipse.core.internal.compatibility.PluginActivator Bundle-Vendor: Eclipse.org
diff --git a/bundles/org.eclipse.wst.xsd.ui/plugin.properties b/bundles/org.eclipse.wst.xsd.ui/plugin.properties index 0889ff0..f92b1c5 100644 --- a/bundles/org.eclipse.wst.xsd.ui/plugin.properties +++ b/bundles/org.eclipse.wst.xsd.ui/plugin.properties
@@ -236,6 +236,8 @@ _UI_RADIO_BUILT_IN_SIMPLE_TYPE = Built-in simple type _UI_RADIO_USER_DEFINED_SIMPLE_TYPE = User-defined simple type _UI_RADIO_USER_DEFINED_COMPLEX_TYPE = User-defined complex type +_UI_LABEL_NEW_COMPLEX_TYPE = New Complex Type +_UI_LABEL_NEW_SIMPLE_TYPE = New Simple Type _UI_LABEL_SET_TYPE = Set Type _UI_LABEL_SET_EXISTING_TYPE = Set Existing Type... _UI_NO_TYPE = **none**
diff --git a/bundles/org.eclipse.wst.xsd.ui/src/org/eclipse/wst/xsd/ui/internal/XSDMenuListener.java b/bundles/org.eclipse.wst.xsd.ui/src/org/eclipse/wst/xsd/ui/internal/XSDMenuListener.java index 3430aa8..95daf13 100644 --- a/bundles/org.eclipse.wst.xsd.ui/src/org/eclipse/wst/xsd/ui/internal/XSDMenuListener.java +++ b/bundles/org.eclipse.wst.xsd.ui/src/org/eclipse/wst/xsd/ui/internal/XSDMenuListener.java
@@ -554,12 +554,12 @@ MenuManager setTypeCascadeMenu = new MenuManager(XSDEditorPlugin.getXSDString("_UI_LABEL_SET_TYPE")); manager.add(setTypeCascadeMenu); - SetTypeAction setNewComplexTypeAction = new SetTypeAction("New Complex Type", ImageDescriptor.createFromFile(XSDEditorPlugin.class, "icons/XSDComplexType.gif"), concreteComponent); + SetTypeAction setNewComplexTypeAction = new SetTypeAction(XSDEditorPlugin.getXSDString("_UI_LABEL_NEW_COMPLEX_TYPE"), ImageDescriptor.createFromFile(XSDEditorPlugin.class, "icons/XSDComplexType.gif"), concreteComponent); setNewComplexTypeAction.setTypeKind(XSDConstants.COMPLEXTYPE_ELEMENT); setNewComplexTypeAction.setEnabled(!isReadOnly); setTypeCascadeMenu.add(setNewComplexTypeAction); - SetTypeAction setNewSimpleTypeAction = new SetTypeAction("New Simple Type", ImageDescriptor.createFromFile(XSDEditorPlugin.class, "icons/XSDSimpleType.gif"), concreteComponent); + SetTypeAction setNewSimpleTypeAction = new SetTypeAction(XSDEditorPlugin.getXSDString("_UI_LABEL_NEW_SIMPLE_TYPE"), ImageDescriptor.createFromFile(XSDEditorPlugin.class, "icons/XSDSimpleType.gif"), concreteComponent); setNewSimpleTypeAction.setTypeKind(XSDConstants.SIMPLETYPE_ELEMENT); setNewSimpleTypeAction.setEnabled(!isReadOnly); setTypeCascadeMenu.add(setNewSimpleTypeAction);