GUI Config Button titles and desc. localization
This commit is contained in:
parent
bcd50892d9
commit
56a3edba05
2 changed files with 11 additions and 3 deletions
|
@ -4,6 +4,7 @@ import biomesoplenty.common.config.GameplayConfigurationHandler;
|
||||||
import biomesoplenty.common.config.MiscConfigurationHandler;
|
import biomesoplenty.common.config.MiscConfigurationHandler;
|
||||||
import biomesoplenty.core.BiomesOPlenty;
|
import biomesoplenty.core.BiomesOPlenty;
|
||||||
import net.minecraft.client.gui.GuiScreen;
|
import net.minecraft.client.gui.GuiScreen;
|
||||||
|
import net.minecraft.util.StatCollector;
|
||||||
import net.minecraftforge.common.config.ConfigElement;
|
import net.minecraftforge.common.config.ConfigElement;
|
||||||
import net.minecraftforge.fml.client.config.DummyConfigElement;
|
import net.minecraftforge.fml.client.config.DummyConfigElement;
|
||||||
import net.minecraftforge.fml.client.config.GuiConfig;
|
import net.minecraftforge.fml.client.config.GuiConfig;
|
||||||
|
@ -27,9 +28,9 @@ public class GuiBOPConfig extends GuiConfig
|
||||||
List<IConfigElement> guiSettings = new ConfigElement(MiscConfigurationHandler.config.getCategory(MiscConfigurationHandler.guiSettings.toLowerCase())).getChildElements();
|
List<IConfigElement> guiSettings = new ConfigElement(MiscConfigurationHandler.config.getCategory(MiscConfigurationHandler.guiSettings.toLowerCase())).getChildElements();
|
||||||
List<IConfigElement> textureSettings = new ConfigElement(MiscConfigurationHandler.config.getCategory(MiscConfigurationHandler.textureSettings.toLowerCase())).getChildElements();
|
List<IConfigElement> textureSettings = new ConfigElement(MiscConfigurationHandler.config.getCategory(MiscConfigurationHandler.textureSettings.toLowerCase())).getChildElements();
|
||||||
|
|
||||||
list.add(new DummyConfigElement.DummyCategoryElement(GameplayConfigurationHandler.convenienceSettings, BiomesOPlenty.MOD_ID.toLowerCase() + ".config.category.convenienceSettings", convenienceSettings));
|
list.add(new DummyConfigElement.DummyCategoryElement(StatCollector.translateToLocal("config.category.convenienceSettings.title"), "config.category.convenienceSettings", convenienceSettings));
|
||||||
list.add(new DummyConfigElement.DummyCategoryElement(MiscConfigurationHandler.guiSettings, BiomesOPlenty.MOD_ID.toLowerCase() + ".config.category.guiSettings", guiSettings));
|
list.add(new DummyConfigElement.DummyCategoryElement(StatCollector.translateToLocal("config.category.guiSettings.title"), "config.category.guiSettings", guiSettings));
|
||||||
list.add(new DummyConfigElement.DummyCategoryElement(MiscConfigurationHandler.textureSettings, BiomesOPlenty.MOD_ID.toLowerCase() + ".config.category.textureSettings", textureSettings));
|
list.add(new DummyConfigElement.DummyCategoryElement(StatCollector.translateToLocal("config.category.textureSettings.title"), "config.category.textureSettings", textureSettings));
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,13 @@ biome_finder.searching=Searching for %s
|
||||||
biome_finder.found=Found %s!
|
biome_finder.found=Found %s!
|
||||||
biome_finder.not_found=Not found, maybe %s is too far away
|
biome_finder.not_found=Not found, maybe %s is too far away
|
||||||
|
|
||||||
|
config.category.convenienceSettings.title=Convenience Settings
|
||||||
|
config.category.guiSettings.title=GUI Settings
|
||||||
|
config.category.textureSettings.title=Texture Settings
|
||||||
|
config.category.convenienceSettings.tooltip=Require shears to be used to collect flower drops.
|
||||||
|
config.category.guiSettings.tooltip=Use the Biomes O' Plenty World Type by default when selecting a world.
|
||||||
|
config.category.textureSettings.tooltip=Override the Forge bucket texture and use ours instead (It's nicer!)
|
||||||
|
|
||||||
commands.biomesoplenty.usage=/biomesoplenty <tpbiome|biomename|stripchunk> [args]
|
commands.biomesoplenty.usage=/biomesoplenty <tpbiome|biomename|stripchunk> [args]
|
||||||
commands.biomesoplenty.biomename.usage=/biomesoplenty biomename [biomeId]
|
commands.biomesoplenty.biomename.usage=/biomesoplenty biomename [biomeId]
|
||||||
commands.biomesoplenty.biomename.success=Biome ID %s is associated with %s
|
commands.biomesoplenty.biomename.success=Biome ID %s is associated with %s
|
||||||
|
|
Loading…
Reference in a new issue