From 651cd062e671b97e9f8930860f31dbaa045e17fa Mon Sep 17 00:00:00 2001 From: Tom Adams Date: Mon, 31 May 2010 11:07:58 +0000 Subject: fixed english localisation bug --- src/game/client/components/menus_settings.cpp | 44 +++++++++++++-------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/game/client/components/menus_settings.cpp') diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index af1c8fcc..6d9bf5ef 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -286,28 +286,28 @@ typedef struct static CKeyInfo gs_aKeys[] = { // we need to do localize so the scripts can pickup the string - { Localize("Move left"), "+left", 0}, - { Localize("Move right"), "+right", 0 }, - { Localize("Jump"), "+jump", 0 }, - { Localize("Fire"), "+fire", 0 }, - { Localize("Hook"), "+hook", 0 }, - { Localize("Hammer"), "+weapon1", 0 }, - { Localize("Pistol"), "+weapon2", 0 }, - { Localize("Shotgun"), "+weapon3", 0 }, - { Localize("Grenade"), "+weapon4", 0 }, - { Localize("Rifle"), "+weapon5", 0 }, - { Localize("Next weapon"), "+nextweapon", 0 }, - { Localize("Prev. weapon"), "+prevweapon", 0 }, - { Localize("Vote yes"), "vote yes", 0 }, - { Localize("Vote no"), "vote no", 0 }, - { Localize("Chat"), "chat all", 0 }, - { Localize("Team chat"), "chat team", 0 }, - { Localize("Show chat"), "+show_chat", 0 }, - { Localize("Emoticon"), "+emote", 0 }, - { Localize("Console"), "toggle_local_console", 0 }, - { Localize("Remote console"), "toggle_remote_console", 0 }, - { Localize("Screenshot"), "screenshot", 0 }, - { Localize("Scoreboard"), "+scoreboard", 0 }, + { "Move left", "+left", 0}, // Localize - these strings are localized within CLocConstString + { "Move right", "+right", 0 }, + { "Jump", "+jump", 0 }, + { "Fire", "+fire", 0 }, + { "Hook", "+hook", 0 }, + { "Hammer", "+weapon1", 0 }, + { "Pistol", "+weapon2", 0 }, + { "Shotgun", "+weapon3", 0 }, + { "Grenade", "+weapon4", 0 }, + { "Rifle", "+weapon5", 0 }, + { "Next weapon", "+nextweapon", 0 }, + { "Prev. weapon", "+prevweapon", 0 }, + { "Vote yes", "vote yes", 0 }, + { "Vote no", "vote no", 0 }, + { "Chat", "chat all", 0 }, + { "Team chat", "chat team", 0 }, + { "Show chat", "+show_chat", 0 }, + { "Emoticon", "+emote", 0 }, + { "Console", "toggle_local_console", 0 }, + { "Remote console", "toggle_remote_console", 0 }, + { "Screenshot", "screenshot", 0 }, + { "Scoreboard", "+scoreboard", 0 }, }; const int g_KeyCount = sizeof(gs_aKeys) / sizeof(CKeyInfo); -- cgit 1.4.1