diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | netx/net/sourceforge/jnlp/runtime/Translator.java | 9 |
2 files changed, 14 insertions, 0 deletions
@@ -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); + } + } |