Пример #1
0
 /**
  * Get a localized string.
  *
  * @param key the localization key
  * @param arguments arguments for formatting strings
  * @return localized
  */
 public static String get(String key, Object... arguments) {
   // Static method wrapper
   return INSTANCE.getFormatted(key, arguments);
 }
Пример #2
0
 /**
  * Get with some utf-8 characters replaced string.
  *
  * @param input where are the utf-8 variables
  * @return the replaced string
  */
 public static String getReplaced(String input) {
   return INSTANCE.getReplacedString(input);
 }
Пример #3
0
 /**
  * Get a localized string.
  *
  * @param key the localization key
  * @return the localized string
  */
 public static String get(String key) {
   // Static method wrapper
   return INSTANCE.getFormatted(key);
 }