+ static private Trans transService;
+
+ /**
+ * Translate the given {@link StringId}.
+ *
+ * @param id
+ * the ID to translate
+ *
+ * @return the translation
+ */
+ static public String trans(StringId id) {
+ if (transService == null)
+ return "";
+
+ return transService.trans(id);
+ }
+
+ /**
+ * Translate the given {@link KeyStroke}.
+ *
+ * @param key
+ * the key to translate
+ *
+ * @return the translation
+ */
+ static public String trans(KeyStroke key) {
+ if (transService == null)
+ return "";
+
+ return transService.trans(key);
+ }
+
+ /**
+ * Start the application.
+ *
+ * @param args
+ * the parameters (see --help to know hich are supported)
+ */