Skip to content

Commit

Permalink
change internal keys to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
zlainsama committed Jan 14, 2019
1 parent 55e9c1f commit 4ffa9b6
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/main/java/lain/mods/cos/client/GuiEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void guiPostInit(GuiScreenEvent.InitGuiEvent.Post event)
{
GuiContainer gui = (GuiContainer) event.getGui();
if (!ModConfigs.CosArmorGuiButton_Hidden)
event.getButtonList().add(new GuiCosArmorButton(76, gui.guiLeft + ModConfigs.CosArmorGuiButton_Left/* 65 */, gui.guiTop + ModConfigs.CosArmorGuiButton_Top/* 67 */, 10, 10, event.getGui() instanceof GuiCosArmorInventory ? "cos.gui.buttonNormal" : "cos.gui.buttonCos"));
event.getButtonList().add(new GuiCosArmorButton(76, gui.guiLeft + ModConfigs.CosArmorGuiButton_Left/* 65 */, gui.guiTop + ModConfigs.CosArmorGuiButton_Top/* 67 */, 10, 10, event.getGui() instanceof GuiCosArmorInventory ? "cos.gui.buttonnormal" : "cos.gui.buttoncos"));
GuiCosArmorToggleButton t = new GuiCosArmorToggleButton(77, gui.guiLeft + ModConfigs.CosArmorToggleButton_Left/* 59 */, gui.guiTop + ModConfigs.CosArmorToggleButton_Top/* 72 */, 5, 5, "");
t.state = PlayerRenderHandler.HideCosArmor ? 1 : 0;
if (!ModConfigs.CosArmorToggleButton_Hidden)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/lain/mods/cos/client/KeyHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class KeyHandler
{

public KeyBinding keyOpenCosArmorInventory = new KeyBinding("cos.key.openCosArmorInventory", 0, "key.categories.inventory");
public KeyBinding keyOpenCosArmorInventory = new KeyBinding("cos.key.opencosarmorinventory", 0, "key.categories.inventory");

public KeyHandler()
{
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/lain/mods/cos/command/CommandClearCosArmor.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ public void execute(MinecraftServer server, ICommandSender sender, String[] args
{
EntityPlayerMP target = args.length == 0 ? getCommandSenderAsPlayer(sender) : getPlayer(server, sender, args[0]);
CosmeticArmorReworked.invMan.getCosArmorInventory(target.getUniqueID()).clear();
notifyCommandListener(sender, this, "cos.command.clearCosArmor.success", target.getName());
notifyCommandListener(sender, this, "cos.command.clearcosarmor.success", target.getName());
}

@Override
public String getName()
{
return "clearCosArmor";
return "clearcosarmor";
}

@Override
Expand All @@ -45,7 +45,7 @@ public List<String> getTabCompletions(MinecraftServer server, ICommandSender sen
@Override
public String getUsage(ICommandSender sender)
{
return "cos.command.clearCosArmor";
return "cos.command.clearcosarmor";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cos.key.openCosArmorInventory=Inventar der kosm. Rüstung öffnen
cos.gui.buttonCos=Kosmetische Rüstung
cos.gui.buttonNormal=Normal
cos.key.opencosarmorinventory=Inventar der kosm. Rüstung öffnen
cos.gui.buttoncos=Kosmetische Rüstung
cos.gui.buttonnormal=Normal
10 changes: 5 additions & 5 deletions src/main/resources/assets/cosmeticarmorreworked/lang/en_US.lang
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cos.key.openCosArmorInventory=OpenCosmeticArmorInventory
cos.gui.buttonCos=CosmeticArmor
cos.gui.buttonNormal=Normal
cos.command.clearCosArmor=/clearCosArmor [player]
cos.command.clearCosArmor.success=Cleared the cosmetic inventory of %s
cos.key.opencosarmorinventory=OpenCosmeticArmorInventory
cos.gui.buttoncos=CosmeticArmor
cos.gui.buttonnormal=Normal
cos.command.clearcosarmor=/clearcosarmor [player]
cos.command.clearcosarmor.success=Cleared the cosmetic inventory of %s
10 changes: 5 additions & 5 deletions src/main/resources/assets/cosmeticarmorreworked/lang/ja_JP.lang
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cos.key.openCosArmorInventory=コスメチックインベントリを開く
cos.gui.buttonCos=コスメチック
cos.gui.buttonNormal=ノーマル
cos.command.clearCosArmor=/clearCosArmor [プレイヤー名]
cos.command.clearCosArmor.success=%s のコスメチックインベントリを消去しました
cos.key.opencosarmorinventory=コスメチックインベントリを開く
cos.gui.buttoncos=コスメチック
cos.gui.buttonnormal=ノーマル
cos.command.clearcosarmor=/clearcosarmor [プレイヤー名]
cos.command.clearcosarmor.success=%s のコスメチックインベントリを消去しました
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cos.key.openCosArmorInventory=Открыть инвентарь косметической брони
cos.gui.buttonCos=Косметическая броня
cos.gui.buttonNormal=Обычная
cos.key.opencosarmorinventory=Открыть инвентарь косметической брони
cos.gui.buttoncos=Косметическая броня
cos.gui.buttonnormal=Обычная
10 changes: 5 additions & 5 deletions src/main/resources/assets/cosmeticarmorreworked/lang/zh_CN.lang
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cos.key.openCosArmorInventory=打开时装物品栏
cos.gui.buttonCos=时装
cos.gui.buttonNormal=普通
cos.command.clearCosArmor=/clearCosArmor [玩家名]
cos.command.clearCosArmor.success=清除了 %s 的时装物品栏
cos.key.opencosarmorinventory=打开时装物品栏
cos.gui.buttoncos=时装
cos.gui.buttonnormal=普通
cos.command.clearcosarmor=/clearcosarmor [玩家名]
cos.command.clearcosarmor.success=清除了 %s 的时装物品栏

0 comments on commit 4ffa9b6

Please sign in to comment.