|
|
@ -217,7 +217,11 @@ public class Translator {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static Map<String, String> langMap(final serverSwitch env) {
|
|
|
|
public static Map<String, String> langMap(final serverSwitch env) {
|
|
|
|
final String[] ms = "default/English,de/Deutsch,fr/Français,nl/Nederlands,it/Italiano,es/Español,pt/Portugês,fi/Suomi,se/Svenska,dk/Dansk,gr/Eλληvικα,sk/Slovensky,cn/汉语/漢語".split(",");
|
|
|
|
final String[] ms = (
|
|
|
|
|
|
|
|
"default/English,de/Deutsch,fr/Français,nl/Nederlands,it/Italiano,es/Español,pt/Portugês,fi/Suomi,se/Svenska,dk/Dansk," +
|
|
|
|
|
|
|
|
"gr/Eλληvικα,sk/Slovensky,cn/汉语/漢語," +
|
|
|
|
|
|
|
|
"ru/Русский,uk/Українська"
|
|
|
|
|
|
|
|
).split(",");
|
|
|
|
final Map<String, String> map = new HashMap<String, String>();
|
|
|
|
final Map<String, String> map = new HashMap<String, String>();
|
|
|
|
for (final String element : ms) {
|
|
|
|
for (final String element : ms) {
|
|
|
|
int p = element.indexOf('/');
|
|
|
|
int p = element.indexOf('/');
|
|
|
|