From 6c7cbc02ae15466b177d91e3a6734fdecd4bede3 Mon Sep 17 00:00:00 2001 From: minjaesong Date: Fri, 11 Mar 2022 14:26:33 +0900 Subject: [PATCH] some language key change --- assets/mods/basegame/locales/en/game.json | 4 ++-- assets/mods/basegame/locales/koKR/game.json | 4 ++-- .../torvald/terrarum/modulebasegame/gameactors/UICrafting.kt | 4 ++-- .../terrarum/modulebasegame/ui/UIKeyboardControlPanel.kt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/mods/basegame/locales/en/game.json b/assets/mods/basegame/locales/en/game.json index d7c18bfb2..9d566dda6 100644 --- a/assets/mods/basegame/locales/en/game.json +++ b/assets/mods/basegame/locales/en/game.json @@ -14,7 +14,7 @@ "CONTEXT_GENERATOR_SEED": "Seed", "GAME_ACTION_GRAPPLE": "Grapple", "GAME_ACTION_QUICKSEL": "Quick Select", - "MENU_LABEL_CRAFT": "Craft", - "MENU_LABEL_CRAFTING": "Crafting", + "GAME_ACTION_CRAFT": "Craft", + "GAME_CRAFTING": "Crafting", "GAME_CRAFTABLE_ITEMS": "Craftable Items" } \ No newline at end of file diff --git a/assets/mods/basegame/locales/koKR/game.json b/assets/mods/basegame/locales/koKR/game.json index 88bf1f6d4..7b2b63f07 100644 --- a/assets/mods/basegame/locales/koKR/game.json +++ b/assets/mods/basegame/locales/koKR/game.json @@ -15,7 +15,7 @@ "CONTEXT_GENERATOR_SEED": "시드", "GAME_ACTION_GRAPPLE": "매달리기", "GAME_ACTION_QUICKSEL": "빠른 선택", - "MENU_LABEL_CRAFT": "제작하기", - "MENU_LABEL_CRAFTING": "제작", + "GAME_ACTION_CRAFT": "제작하기", + "GAME_CRAFTING": "제작", "GAME_CRAFTABLE_ITEMS": "제작 가능한 아이템" } \ No newline at end of file diff --git a/src/net/torvald/terrarum/modulebasegame/gameactors/UICrafting.kt b/src/net/torvald/terrarum/modulebasegame/gameactors/UICrafting.kt index c3f8fc00b..509b6b207 100644 --- a/src/net/torvald/terrarum/modulebasegame/gameactors/UICrafting.kt +++ b/src/net/torvald/terrarum/modulebasegame/gameactors/UICrafting.kt @@ -83,7 +83,7 @@ class UICrafting(val full: UIInventoryFull) : UICanvas( ) buttonCancel = UIItemTextButton(this, "MENU_LABEL_CANCEL", thisOffsetX + 1, craftButtonsY, buttonWidth, true, alignment = UIItemTextButton.Companion.Alignment.CENTRE, hasBorder = true) - buttonCraft = UIItemTextButton(this, "MENU_LABEL_CRAFT", thisOffsetX + 3 + buttonWidth + listGap, craftButtonsY, buttonWidth, true, alignment = UIItemTextButton.Companion.Alignment.CENTRE, hasBorder = true) + buttonCraft = UIItemTextButton(this, "GAME_ACTION_CRAFT", thisOffsetX + 3 + buttonWidth + listGap, craftButtonsY, buttonWidth, true, alignment = UIItemTextButton.Companion.Alignment.CENTRE, hasBorder = true) buttonCraft.touchDownListener = { _,_,_,_ -> printdbg(this, "Craft!") @@ -188,7 +188,7 @@ class UICrafting(val full: UIInventoryFull) : UICanvas( batch.color = Color.WHITE // text label for two inventory grids - App.fontGame.draw(batch, Lang["GAME_CRAFTABLE_ITEMS"], thisOffsetX + 2, thisOffsetY - 30) + App.fontGame.draw(batch, Lang["GAME_CRAFTING"], thisOffsetX + 2, thisOffsetY - 30) App.fontGame.draw(batch, Lang["GAME_INVENTORY"], thisOffsetX2 + 2, thisOffsetY - 30) diff --git a/src/net/torvald/terrarum/modulebasegame/ui/UIKeyboardControlPanel.kt b/src/net/torvald/terrarum/modulebasegame/ui/UIKeyboardControlPanel.kt index 74614aa06..a00b282d0 100644 --- a/src/net/torvald/terrarum/modulebasegame/ui/UIKeyboardControlPanel.kt +++ b/src/net/torvald/terrarum/modulebasegame/ui/UIKeyboardControlPanel.kt @@ -432,7 +432,7 @@ class UIItemControlPaletteBaloon(val parent: UIKeyboardControlPanel, initialX: I App.fontGame.draw(batch, Lang["GAME_ACTION_JUMP"], col1 + 40, posY + 43) App.fontGame.draw(batch, Lang["GAME_INVENTORY"], col0 + 40, row1) - App.fontGame.draw(batch, Lang["MENU_LABEL_CRAFTING"], col0 + 40, row2) + App.fontGame.draw(batch, Lang["GAME_CRAFTING"], col0 + 40, row2) App.fontGame.draw(batch, Lang["GAME_ACTION_GRAPPLE"], col0 + 40, row3) App.fontGame.draw(batch, Lang["GAME_ACTION_QUICKSEL"], col0 + 40, row4)