Package zombie.core
Class Translator
java.lang.Object
zombie.core.Translator
public class Translator
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Translator()
-
Method Summary
Modifier and Type Method Description static void
debugItemNames()
static void
debugRecipeNames()
static java.util.ArrayList
getAvailableLanguage()
static java.util.ArrayList
getAzertyMap()
static java.lang.String
getCharset()
static Language
getDefaultLanguage()
static java.lang.String
getDisplayItemName(java.lang.String trim)
static Language
getLanguage()
static java.lang.String
getRecipeName(java.lang.String name)
static java.lang.String
getText(java.lang.String desc)
static java.lang.String
getText(java.lang.String desc, java.lang.Object arg1)
static java.lang.String
getText(java.lang.String desc, java.lang.Object arg1, java.lang.Object arg2)
static java.lang.String
getText(java.lang.String desc, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
static java.lang.String
getText(java.lang.String desc, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4)
static java.lang.String
getTextOrNull(java.lang.String desc)
static void
loadFiles()
static void
setLanguage(int languageId)
static void
setLanguage(Language newlanguage)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
debug
public static boolean debug -
language
-
-
Constructor Details
-
Translator
public Translator()
-
-
Method Details
-
loadFiles
public static void loadFiles() -
getText
public static java.lang.String getText(java.lang.String desc) -
getTextOrNull
public static java.lang.String getTextOrNull(java.lang.String desc) -
getText
public static java.lang.String getText(java.lang.String desc, java.lang.Object arg1) -
getText
public static java.lang.String getText(java.lang.String desc, java.lang.Object arg1, java.lang.Object arg2) -
getText
public static java.lang.String getText(java.lang.String desc, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3) -
getText
public static java.lang.String getText(java.lang.String desc, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3, java.lang.Object arg4) -
setLanguage
-
setLanguage
public static void setLanguage(int languageId) -
getLanguage
-
getCharset
public static java.lang.String getCharset() -
getAvailableLanguage
public static java.util.ArrayList getAvailableLanguage() -
getDisplayItemName
public static java.lang.String getDisplayItemName(java.lang.String trim) -
getRecipeName
public static java.lang.String getRecipeName(java.lang.String name) -
getDefaultLanguage
-
debugItemNames
public static void debugItemNames() -
debugRecipeNames
public static void debugRecipeNames() -
getAzertyMap
public static java.util.ArrayList getAzertyMap()
-