aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/Translator.java9
1 files changed, 9 insertions, 0 deletions
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);
+ }
+
}