From fc2c8642cbe0ad34d27ca06f36f7a2f07fcc2c3f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 11 Jan 2015 17:39:55 +0300 Subject: Add chat tab selection actions into configurable actions. (allow set key to action) --- src/input/pages/chat.cpp | 78 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 75 insertions(+), 3 deletions(-) diff --git a/src/input/pages/chat.cpp b/src/input/pages/chat.cpp index a9db1cf4f..5764d9e3c 100644 --- a/src/input/pages/chat.cpp +++ b/src/input/pages/chat.cpp @@ -28,12 +28,24 @@ SetupActionData setupActionDataChat[] = { + { + // TRANSLATORS: input action group + N_("Main"), + InputAction::NO_VALUE, + "", + }, { // TRANSLATORS: input action name N_("Toggle Chat"), InputAction::TOGGLE_CHAT, "", }, + { + // TRANSLATORS: input action name + N_("Chat modifier key"), + InputAction::CHAT_MOD, + "", + }, { // TRANSLATORS: input action name N_("Scroll Chat Up"), @@ -46,6 +58,12 @@ SetupActionData setupActionDataChat[] = InputAction::SCROLL_CHAT_DOWN, "", }, + { + // TRANSLATORS: input action group + N_("Tabs"), + InputAction::NO_VALUE, + "", + }, { // TRANSLATORS: input action name N_("Previous Chat Tab"), @@ -76,6 +94,60 @@ SetupActionData setupActionDataChat[] = InputAction::CLOSE_ALL_CHAT_TABS, "", }, + { + // TRANSLATORS: input action name + N_("Select general tab"), + InputAction::CHAT_GENERAL_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Select debug tab"), + InputAction::CHAT_DEBUG_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Select trade tab"), + InputAction::CHAT_TRADE_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Select battle tab"), + InputAction::CHAT_BATTLE_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Select gm tab"), + InputAction::CHAT_GM_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Select lang tab"), + InputAction::CHAT_LANG_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Select party tab"), + InputAction::CHAT_PARTY_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Select guild tab"), + InputAction::CHAT_GUILD_TAB, + "", + }, + { + // TRANSLATORS: input action group + N_("Other"), + InputAction::NO_VALUE, + "", + }, { // TRANSLATORS: input action name N_("Ignore all whispers"), @@ -107,9 +179,9 @@ SetupActionData setupActionDataChat[] = "", }, { - // TRANSLATORS: input action name - N_("Chat modifier key"), - InputAction::CHAT_MOD, + // TRANSLATORS: input action group + N_("Smiles"), + InputAction::NO_VALUE, "", }, { -- cgit v1.2.3-70-g09d2