public class BukkitTranslation
extends java.lang.Object
Constructor and Description |
---|
BukkitTranslation()
|
Modifier and Type | Method and Description |
---|---|
static void |
addMaterials(TranslationManager manager)
Add material names to the translation list
Will default to a somewhat friendly name
|
static java.lang.String |
convert(TranslationAsset asset)
Get the converted string
|
TranslationLanguage
|
getDefaultLanguage()
The default translation language
|
static java.io.File |
getParent(org.bukkit.plugin.java.JavaPlugin plugin)
Get the universal parent based on the plugin data folder
|
public static java.lang.String convert(TranslationAsset asset)
asset
- assetpublic static java.io.File getParent(org.bukkit.plugin.java.JavaPlugin plugin)
plugin
- to checkpublic TranslationLanguage getDefaultLanguage()
public static void addMaterials(TranslationManager manager)