From 7324c88120aa4ff146b9c7eb2b666b0bf0f2c31d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Aug 2014 22:28:11 +0300 Subject: Move options for windows input settings page into separate file. --- src/input/pages/windows.cpp | 227 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 227 insertions(+) create mode 100644 src/input/pages/windows.cpp (limited to 'src/input/pages/windows.cpp') diff --git a/src/input/pages/windows.cpp b/src/input/pages/windows.cpp new file mode 100644 index 000000000..e8318cbfa --- /dev/null +++ b/src/input/pages/windows.cpp @@ -0,0 +1,227 @@ +/* + * The ManaPlus Client + * Copyright (C) 2007 Joshua Langley + * Copyright (C) 2009 The Mana World Development Team + * Copyright (C) 2009-2010 The Mana Developers + * Copyright (C) 2011-2014 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include "gui/setupactiondata.h" + +#include "input/inputaction.h" +#include "input/inputactiondata.h" + +#include "utils/gettext.h" +#include "utils/stringutils.h" + +#include "debug.h" + +SetupActionData setupActionDataWindows[] = +{ + { + // TRANSLATORS: input action name + N_("Show Windows Menu"), + InputAction::SHOW_WINDOWS, + "", + }, + { + // TRANSLATORS: input action name + N_("Hide Windows"), + InputAction::HIDE_WINDOWS, + "", + }, + { + // TRANSLATORS: input action name + N_("About Window"), + InputAction::WINDOW_ABOUT, + "", + }, + { + // TRANSLATORS: input action name + N_("Help Window"), + InputAction::WINDOW_HELP, + "", + }, + { + // TRANSLATORS: input action name + N_("Status Window"), + InputAction::WINDOW_STATUS, + "", + }, + { + // TRANSLATORS: input action name + N_("Inventory Window"), + InputAction::WINDOW_INVENTORY, + "", + }, + { + // TRANSLATORS: input action name + N_("Equipment Window"), + InputAction::WINDOW_EQUIPMENT, + "", + }, + { + // TRANSLATORS: input action name + N_("Skill Window"), + InputAction::WINDOW_SKILL, + "", + }, + { + // TRANSLATORS: input action name + N_("Minimap Window"), + InputAction::WINDOW_MINIMAP, + "", + }, + { + // TRANSLATORS: input action name + N_("Chat Window"), + InputAction::WINDOW_CHAT, + "", + }, + { + // TRANSLATORS: input action name + N_("Item Shortcut Window"), + InputAction::WINDOW_SHORTCUT, + "", + }, + { + // TRANSLATORS: input action name + N_("Setup Window"), + InputAction::WINDOW_SETUP, + "", + }, + { + // TRANSLATORS: input action name + N_("Debug Window"), + InputAction::WINDOW_DEBUG, + "", + }, + { + // TRANSLATORS: input action name + N_("Social Window"), + InputAction::WINDOW_SOCIAL, + "", + }, + { + // TRANSLATORS: input action name + N_("Emote Shortcut Window"), + InputAction::WINDOW_EMOTE_SHORTCUT, + "", + }, + { + // TRANSLATORS: input action name + N_("Outfits Window"), + InputAction::WINDOW_OUTFIT, + "", + }, + { + // TRANSLATORS: input action name + N_("Shop Window"), + InputAction::WINDOW_SHOP, + "", + }, + { + // TRANSLATORS: input action name + N_("Quick drop Window"), + InputAction::WINDOW_DROP, + "", + }, + { + // TRANSLATORS: input action name + N_("Kill Stats Window"), + InputAction::WINDOW_KILLS, + "", + }, + { + // TRANSLATORS: input action name + N_("Commands Window"), + InputAction::WINDOW_SPELLS, + "", + }, + { + // TRANSLATORS: input action name + N_("Bot Checker Window"), + InputAction::WINDOW_BOT_CHECKER, + "", + }, + { + // TRANSLATORS: input action name + N_("Who Is Online Window"), + InputAction::WINDOW_ONLINE, + "", + }, + { + // TRANSLATORS: input action name + N_("Did you know Window"), + InputAction::WINDOW_DIDYOUKNOW, + "", + }, + { + // TRANSLATORS: input action name + N_("Quests Window"), + InputAction::WINDOW_QUESTS, + "", + }, + { + // TRANSLATORS: input action name + N_("Updates Window"), + InputAction::WINDOW_UPDATER, + "", + }, + { + // TRANSLATORS: input action name + N_("Previous Social Tab"), + InputAction::PREV_SOCIAL_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Next Social Tab"), + InputAction::NEXT_SOCIAL_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Previous Shortcuts tab"), + InputAction::PREV_SHORTCUTS_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Next Shortcuts tab"), + InputAction::NEXT_SHORTCUTS_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Previous Commands tab"), + InputAction::PREV_COMMANDS_TAB, + "", + }, + { + // TRANSLATORS: input action name + N_("Next Commands tab"), + InputAction::NEXT_COMMANDS_TAB, + "", + }, + { + "", + InputAction::NO_VALUE, + "" + } +}; -- cgit v1.2.3-70-g09d2