localize architect strings, close #1682
This commit is contained in:
parent
fcb7a94982
commit
5bde6b9dfc
2 changed files with 19 additions and 10 deletions
|
@ -204,6 +204,15 @@ tile.spring.oil.name=Oil Spring
|
|||
tile.spring.water.name=Water Spring
|
||||
tile.tankBlock.name=Tank
|
||||
|
||||
tile.architect.rotate=Rotate: On
|
||||
tile.architect.norotate=Rotate: Off
|
||||
tile.architect.allblocks=Blocks: All
|
||||
tile.architect.simpleblocks=Blocks: Simple
|
||||
tile.architect.excavate=Excavate: On
|
||||
tile.architect.noexcavate=Excavate: Off
|
||||
tile.architect.supportmods=Mods: Support
|
||||
tile.architect.allmods=Mods: All
|
||||
|
||||
tip.gate.wires=§9§oCompatible Wires:
|
||||
tip.gate.wires.redstone=Red
|
||||
tip.gate.wires.iron=Red, Blue
|
||||
|
|
|
@ -10,12 +10,12 @@ package buildcraft.builders.gui;
|
|||
|
||||
import java.util.Date;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import buildcraft.builders.TileArchitect;
|
||||
import buildcraft.core.DefaultProps;
|
||||
import buildcraft.core.blueprints.BlueprintReadConfiguration;
|
||||
|
@ -91,27 +91,27 @@ public class GuiArchitect extends GuiBuildCraft {
|
|||
BlueprintReadConfiguration conf = architect.readConfiguration;
|
||||
|
||||
if (conf.rotate) {
|
||||
optionRotate.displayString = "Rotate: On";
|
||||
optionRotate.displayString = StringUtils.localize("tile.architect.rotate");
|
||||
} else {
|
||||
optionRotate.displayString = "Rotate: Off";
|
||||
optionRotate.displayString = StringUtils.localize("tile.architect.norotate");
|
||||
}
|
||||
|
||||
if (conf.readTiles) {
|
||||
optionReadBlocks.displayString = "Blocks: All";
|
||||
optionReadBlocks.displayString = StringUtils.localize("tile.architect.allblocks");
|
||||
} else {
|
||||
optionReadBlocks.displayString = "Blocks: Simple";
|
||||
optionReadBlocks.displayString = StringUtils.localize("tile.architect.simpleblocks");
|
||||
}
|
||||
|
||||
if (conf.excavate) {
|
||||
optionExcavate.displayString = "Excavate: On";
|
||||
optionExcavate.displayString = StringUtils.localize("tile.architect.excavate");
|
||||
} else {
|
||||
optionExcavate.displayString = "Excavate: Off";
|
||||
optionExcavate.displayString = StringUtils.localize("tile.architect.noexcavate");
|
||||
}
|
||||
|
||||
if (conf.explicitOnly) {
|
||||
optionExplicit.displayString = "Mods: Support";
|
||||
optionExplicit.displayString = StringUtils.localize("tile.architect.supportmods");
|
||||
} else {
|
||||
optionExplicit.displayString = "Mods: All";
|
||||
optionExplicit.displayString = StringUtils.localize("tile.architect.allmods");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue