Removed manual locale loading.

This commit is contained in:
Lizbeth Rika committed 2014-08-05 20:34:55 +01:00
1 parent a456d2c4eb
commit 652ac3f3ac
2 files changed
-28

No files matched your search

@@ -1,24 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the Botania Mod. Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* File Created @ [Jan 14, 2014, 6:04:31 PM (GMT)]
*/
package vazkii.botania.client.core.handler;
import vazkii.botania.client.lib.LibResources;
import cpw.mods.fml.common.registry.LanguageRegistry;
public final class LocalizationHandler {
public static void loadLocalizations() {
for(String locale : LibResources.LANGS)
LanguageRegistry.instance().loadLocalization(LibResources.PREFIX_LANG + locale + ".lang", locale, false);
}
}
@@ -99,8 +99,4 @@ public final class LibResources {
public static final String SHADER_DOPLLEGANGER_VERT = PREFIX_SHADER + "doppleganger.vert";
public static final String SHADER_DOPLLEGANGER_FRAG = PREFIX_SHADER + "doppleganger.frag";
public static final String[] LANGS = new String[] {
"en_US", "de_DE", "ru_RU", "zh_CN", "zh_TW"
};
}