public class I18N extends Object
| Modifier and Type | Field and Description |
|---|---|
protected xyz.cofe.collection.map.EventMap<String,String> |
translations |
protected Set<String> |
untranslated |
| Modifier | Constructor and Description |
|---|---|
protected |
I18N() |
| Modifier and Type | Method and Description |
|---|---|
static I18N |
get()
Возвращает экземпляр объекта
|
protected xyz.cofe.collection.map.EventMap<String,String> |
getTranslations() |
static String |
i18n(String txt)
Перевод строки на местный язык
|
static String |
i18n(String txt,
Object... args) |
String |
string(String txt)
Перевод строки на местный язык
|
protected transient volatile xyz.cofe.collection.map.EventMap<String,String> translations
public static I18N get()
public String string(String txt)
txt - строкаpublic static String i18n(String txt)
txt - строкаCopyright © 2019. All rights reserved.