From ca49d54605d272f43b235c86fe788783cf22537a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Aug 2014 19:45:54 +0300 Subject: Move options for basic input settings page into separate file. --- src/input/pages/basic.cpp | 203 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 src/input/pages/basic.cpp (limited to 'src/input/pages/basic.cpp') diff --git a/src/input/pages/basic.cpp b/src/input/pages/basic.cpp new file mode 100644 index 000000000..302cd495d --- /dev/null +++ b/src/input/pages/basic.cpp @@ -0,0 +1,203 @@ +/* + * 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 setupActionDataBasic[] = +{ + { + // TRANSLATORS: input action name + N_("Target and attack keys"), + InputAction::NO_VALUE, + "", + }, + { + // TRANSLATORS: input action name + N_("Attack"), + InputAction::ATTACK, + "", + }, + { + // TRANSLATORS: input action name + N_("Target & Attack"), + InputAction::TARGET_ATTACK, + "", + }, + { + // TRANSLATORS: input action name + N_("Move to Target"), + InputAction::MOVE_TO_TARGET, + "", + }, + { + // TRANSLATORS: input action name + N_("Change Move to Target type"), + InputAction::CHANGE_MOVE_TO_TARGET, + "", + }, + { + // TRANSLATORS: input action name + N_("Move to Home location"), + InputAction::MOVE_TO_HOME, + "", + }, + { + // TRANSLATORS: input action name + N_("Set home location"), + InputAction::SET_HOME, + "", + }, + { + // TRANSLATORS: input action name + N_("Move to navigation point"), + InputAction::MOVE_TO_POINT, + "", + }, + { + // TRANSLATORS: input action name + N_("Talk"), + InputAction::TALK, + "", + }, + { + // TRANSLATORS: input action name + N_("Stop Attack / Modifier key"), + InputAction::STOP_ATTACK, + "", + }, + { + // TRANSLATORS: input action name + N_("Untarget"), + InputAction::UNTARGET, + "", + }, + { + // TRANSLATORS: input action name + N_("Target monster"), + InputAction::TARGET_MONSTER, + "", + }, + { + // TRANSLATORS: input action name + N_("Target closest monster (without filters)"), + InputAction::TARGET_CLOSEST_MONSTER, + "", + }, + { + // TRANSLATORS: input action name + N_("Target NPC"), + InputAction::TARGET_NPC, + "", + }, + { + // TRANSLATORS: input action name + N_("Target Player"), + InputAction::TARGET_PLAYER, + "", + }, + { + // TRANSLATORS: input action name + N_("Other Keys"), + InputAction::NO_VALUE, + "", + }, + { + // TRANSLATORS: input action name + N_("Pickup"), + InputAction::PICKUP, + "", + }, + { + // TRANSLATORS: input action name + N_("Change Pickup Type"), + InputAction::CHANGE_PICKUP_TYPE, + "", + }, + { + // TRANSLATORS: input action name + N_("Sit"), + InputAction::SIT, + "", + }, + { + // TRANSLATORS: input action name + N_("Screenshot"), + InputAction::SCREENSHOT, + "", + }, + { + // TRANSLATORS: input action name + N_("Enable/Disable Trading"), + InputAction::TRADE, + "", + }, + { + // TRANSLATORS: input action name + N_("Open trade window"), + InputAction::OPEN_TRADE, + "", + }, + { + // TRANSLATORS: input action name + N_("Change Map View Mode"), + InputAction::PATHFIND, + "", + }, + { + // TRANSLATORS: input action name + N_("Select OK"), + InputAction::OK, + "", + }, + { + // TRANSLATORS: input action name + N_("Quit"), + InputAction::QUIT, + "", + }, + { + // TRANSLATORS: input action name + N_("Stop or sit"), + InputAction::STOP_SIT, + "", + }, + { + // TRANSLATORS: input action name + N_("Return to safe video mode"), + InputAction::SAFE_VIDEO, + "", + }, + { + "", + InputAction::NO_VALUE, + "" + } +}; -- cgit v1.2.3-60-g2f50