예제 #1
0
 /**
  * Returns the i18n formatted message for <i>key</i> and <i>args</i> in the specified bundle.
  *
  * @param key - the key for the desired string
  * @param args - arg to include in the string
  * @return the string for the given key in the given resource bundle
  * @see MessagesCore#getString(String, ResourceBundle, Object[])
  */
 public static String getString(final String key, final Object... args) {
   return MessagesCore.getString(key, PLUGIN_ID, RESOURCE_BUNDLE, args);
 }
예제 #2
0
 /**
  * Returns the i18n formatted message for <i>key</i> and <i>args</i> in the specified bundle.
  *
  * @param key - the key for the desired string
  * @param args - arg to include in the string
  * @return the string for the given key in the given resource bundle
  * @see MessagesCore#getString(String, ResourceBundle, Object[])
  */
 public static String getString(String key, Object... args) {
   return MessagesCore.getString(key, PLUGIN_ID, resourceBundle, args);
 }