Reformated code, minor tweaks.

This commit is contained in:
0xSeb
2015-11-05 15:17:05 +01:00
parent 6744bf304a
commit 9b88779bc7
5 changed files with 92 additions and 65 deletions
@@ -4,13 +4,12 @@ import net.minecraft.util.StatCollector;
public class LanguageLocalizer {
/**
*If another language than de_DE or en_US is selected the English one is used...
* If another language than de_DE or en_US is selected the English one is used...
*
* @param unloc The unlocalized string which is in the definded in the language file
* @return localized The localized String
*/
public static String localize(String unloc){
String localized = StatCollector.translateToLocal(unloc);
return localized;
public static String localize(String unloc) {
return StatCollector.translateToLocal(unloc);
}
}