diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 17:39:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 17:39:55 +0300 |
commit | fc2c8642cbe0ad34d27ca06f36f7a2f07fcc2c3f (patch) | |
tree | 35dcebe4d331a69d57fa46eb83ac18a48844c135 | |
parent | a3c5d6cc7d6f821b31342de3a429996f2775d15e (diff) | |
download | manaplus-fc2c8642cbe0ad34d27ca06f36f7a2f07fcc2c3f.tar.gz manaplus-fc2c8642cbe0ad34d27ca06f36f7a2f07fcc2c3f.tar.bz2 manaplus-fc2c8642cbe0ad34d27ca06f36f7a2f07fcc2c3f.tar.xz manaplus-fc2c8642cbe0ad34d27ca06f36f7a2f07fcc2c3f.zip |
Add chat tab selection actions into configurable actions. (allow set key to action)
-rw-r--r-- | src/input/pages/chat.cpp | 78 |
1 files 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 @@ -29,6 +29,12 @@ SetupActionData setupActionDataChat[] = { { + // TRANSLATORS: input action group + N_("Main"), + InputAction::NO_VALUE, + "", + }, + { // TRANSLATORS: input action name N_("Toggle Chat"), InputAction::TOGGLE_CHAT, @@ -36,6 +42,12 @@ SetupActionData setupActionDataChat[] = }, { // TRANSLATORS: input action name + N_("Chat modifier key"), + InputAction::CHAT_MOD, + "", + }, + { + // TRANSLATORS: input action name N_("Scroll Chat Up"), InputAction::SCROLL_CHAT_UP, "", @@ -47,6 +59,12 @@ SetupActionData setupActionDataChat[] = "", }, { + // TRANSLATORS: input action group + N_("Tabs"), + InputAction::NO_VALUE, + "", + }, + { // TRANSLATORS: input action name N_("Previous Chat Tab"), InputAction::PREV_CHAT_TAB, @@ -78,6 +96,60 @@ SetupActionData setupActionDataChat[] = }, { // 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"), InputAction::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, "", }, { |