Reformated code, minor tweaks.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user