From 1ed8506d46cebf688f3175d0f50a2a6b8bd34094 Mon Sep 17 00:00:00 2001 From: Moose <124457076+AntlerForce@users.noreply.github.com> Date: Sun, 3 Nov 2024 13:30:55 -0700 Subject: [PATCH] Fix remaining English translation errors --- LuaMenu/configs/gameConfig/byar/singleplayerMenu.lua | 6 +++--- LuaMenu/widgets/chobby/components/interface_root.lua | 7 +++---- LuaMenu/widgets/chobby/i18n/chililobby.lua | 9 +++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/LuaMenu/configs/gameConfig/byar/singleplayerMenu.lua b/LuaMenu/configs/gameConfig/byar/singleplayerMenu.lua index be0dcfb89..9e4cefd04 100644 --- a/LuaMenu/configs/gameConfig/byar/singleplayerMenu.lua +++ b/LuaMenu/configs/gameConfig/byar/singleplayerMenu.lua @@ -1,17 +1,17 @@ local items = { { - name = "Skirmish", + name = "skirmish", control = WG.BattleRoomWindow.GetSingleplayerControl(), entryCheck = WG.BattleRoomWindow.SetSingleplayerGame, }, { - name = "Scenarios", + name = "scenarios", control = WG.ScenarioHandler.GetControl(), --startWithTabOpen = 1, }, { - name = "Load Game", + name = "load_game", control = WG.LoadGameWindow.GetControl(), entryCheck = WG.BattleRoomWindow.SetSingleplayerGame, }, diff --git a/LuaMenu/widgets/chobby/components/interface_root.lua b/LuaMenu/widgets/chobby/components/interface_root.lua index 7f879a95b..78fca8d93 100644 --- a/LuaMenu/widgets/chobby/components/interface_root.lua +++ b/LuaMenu/widgets/chobby/components/interface_root.lua @@ -509,22 +509,21 @@ function GetInterfaceRoot(optionsParent, mainWindowParent, fontFunction) ToggleShowFunc(obj, newTab) end - local submenus = { { name = "Main Menu", titleText = "Main Menu", tabs = { { - name = "Multiplayer", - control = battleListWindow, + name = "multiplayer", + control = battleListWindow, entryCheck = multiplayerentrycheck, }, singleplayerConfig[1], singleplayerConfig[2], singleplayerConfig[3], { - name = "Replays", + name = "replays", control = WG.ReplayHandler.GetControl() }, Configuration.gameConfig.helpSubmenuConfig[1], diff --git a/LuaMenu/widgets/chobby/i18n/chililobby.lua b/LuaMenu/widgets/chobby/i18n/chililobby.lua index 639f16630..9d1e7bf62 100644 --- a/LuaMenu/widgets/chobby/i18n/chililobby.lua +++ b/LuaMenu/widgets/chobby/i18n/chililobby.lua @@ -101,7 +101,7 @@ return { game_type = "Game Type", menu = "Menu", settings = "Settings", - replays = "Replays", + ["replays"] = "Replays", logout = "Logout", login = "Login", login_to_chat = "Login required for chat", @@ -109,13 +109,14 @@ return { player = "Player", spectator = "Spectator", singleplayer = "Singleplayer", - multiplayer = "Multiplayer", + ["multiplayer"] = "Multiplayer", multiplayer_and_coop = "Multiplayer\n & Coop", singleplayercoop = "Singleplayer", play_singleplayer_game = "Play a singleplayer game", help = "Help", about = "About", links = "Links", + ["load_game"] = "Load Game", load_saved_game = "Load saved game", time_ingame = "Time ingame", missions = "Missions", @@ -138,7 +139,7 @@ return { freeForAll = "FFA", team = "Team", serverList = "Server List", - skirmish = "Skirmish", + ["skirmish"] = "Skirmish", play_custom_multiplayer_game = "Play a custom multiplayer game", queues = "Queues", custom_games = "Custom games", @@ -204,7 +205,7 @@ return { }, downloads_completed = "All downloads completed.", wip_challenges = "WiP Challenges", - scenarios = "Scenarios", + ["scenarios"] = "Scenarios", -- Settings autoLaunchAsSpectator = "Auto-launch when spectating", randomSkirmishSetup = "Random Skirmish AI and Map",