aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--netx/net/sourceforge/jnlp/runtime/Translator.java9
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b27fdc..f70e6d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-26 Omair Majid <[email protected]>
+
+ * netx/net/sourceforge/jnlp/runtime/Translator.java
+ (R(String)): New method.
+
2010-10-26 Deepak Bhole <[email protected]>
* netx/net/sourceforge/jnlp/PluginBridge.java: Trim whitespace from jar
diff --git a/netx/net/sourceforge/jnlp/runtime/Translator.java b/netx/net/sourceforge/jnlp/runtime/Translator.java
index 6e362b1..5a715fb 100644
--- a/netx/net/sourceforge/jnlp/runtime/Translator.java
+++ b/netx/net/sourceforge/jnlp/runtime/Translator.java
@@ -28,4 +28,13 @@ public class Translator {
return JNLPRuntime.getMessage(message, params);
}
+ /**
+ * Return a translated (localized) version of the message
+ * @param message the message to translate
+ * @return a string representing the localized message
+ */
+ public static String R(String message) {
+ return JNLPRuntime.getMessage(message);
+ }
+
}