Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2013-12-19 14:46:45 +0000
committerAnsgar Radermacher2013-12-19 14:48:06 +0000
commit6784e20ca84f912ced071ec9575071a81b83bb15 (patch)
tree9f85c7a6a137ee322361a90d36337328a4bcd0c7 /extraplugins
parentd1a71f3d6ea3a299793cc02bf288b3bd8d620367 (diff)
downloadorg.eclipse.papyrus-6784e20ca84f912ced071ec9575071a81b83bb15.tar.gz
org.eclipse.papyrus-6784e20ca84f912ced071ec9575071a81b83bb15.tar.xz
org.eclipse.papyrus-6784e20ca84f912ced071ec9575071a81b83bb15.zip
- Bug 422244 - [QDesigner] QDesigner should externalize natural language Strings. Add missing Message.java and Message.properties files
Diffstat (limited to 'extraplugins')
-rw-r--r--extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.vsl/src/org/eclipse/papyrus/qompass/designer/vsl/Messages.java17
-rw-r--r--extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.vsl/src/org/eclipse/papyrus/qompass/designer/vsl/messages.properties3
2 files changed, 20 insertions, 0 deletions
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.vsl/src/org/eclipse/papyrus/qompass/designer/vsl/Messages.java b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.vsl/src/org/eclipse/papyrus/qompass/designer/vsl/Messages.java
new file mode 100644
index 00000000000..548e47b0be1
--- /dev/null
+++ b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.vsl/src/org/eclipse/papyrus/qompass/designer/vsl/Messages.java
@@ -0,0 +1,17 @@
+package org.eclipse.papyrus.qompass.designer.vsl;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.eclipse.papyrus.qompass.designer.vsl.messages"; //$NON-NLS-1$
+ public static String ParseVSL_ErrorInExp_SIZE;
+ public static String ParseVSL_ErrorInExp_TIME;
+ public static String ParseVSL_ErrotInExp_FREQ;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.vsl/src/org/eclipse/papyrus/qompass/designer/vsl/messages.properties b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.vsl/src/org/eclipse/papyrus/qompass/designer/vsl/messages.properties
new file mode 100644
index 00000000000..115d3394041
--- /dev/null
+++ b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.vsl/src/org/eclipse/papyrus/qompass/designer/vsl/messages.properties
@@ -0,0 +1,3 @@
+ParseVSL_ErrorInExp_SIZE=Error parsing VSL expression, unexpected size unit (expecting byte, kb, mb, or gb): '%s'
+ParseVSL_ErrorInExp_TIME=Error parsing VSL expression, unexpected duration unit (expecting us, ms, s or min): '%s'
+ParseVSL_ErrotInExp_FREQ=Error parsing VSL expression, unexpected frequency unit (expecting Hz, KHz, MHz, GHz or rpm: '%s'

Back to the top