From 859b5eea1557debd49f3c82a0a302216812a3b27 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Aug 2014 23:54:10 +0300 Subject: Move options for move input settings page into separate file. --- src/input/pages/move.cpp | 371 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 371 insertions(+) create mode 100644 src/input/pages/move.cpp (limited to 'src/input/pages/move.cpp') diff --git a/src/input/pages/move.cpp b/src/input/pages/move.cpp new file mode 100644 index 000000000..5a8c157fa --- /dev/null +++ b/src/input/pages/move.cpp @@ -0,0 +1,371 @@ +/* + * 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 setupActionDataMove[] = +{ + { + // TRANSLATORS: input action name + N_("Move Keys"), + InputAction::NO_VALUE, + "", + }, + { + // TRANSLATORS: input action name + N_("Move Up"), + InputAction::MOVE_UP, + "", + }, + { + // TRANSLATORS: input action name + N_("Move Down"), + InputAction::MOVE_DOWN, + "", + }, + { + // TRANSLATORS: input action name + N_("Move Left"), + InputAction::MOVE_LEFT, + "", + }, + { + // TRANSLATORS: input action name + N_("Move Right"), + InputAction::MOVE_RIGHT, + "", + }, + { + // TRANSLATORS: input action name + N_("Move Forward"), + InputAction::MOVE_FORWARD, + "", + }, + { + // TRANSLATORS: input action name + N_("Move to navigation point shortcuts"), + InputAction::NO_VALUE, + "" + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 1), + InputAction::MOVE_TO_POINT_1, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 2), + InputAction::MOVE_TO_POINT_2, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 3), + InputAction::MOVE_TO_POINT_3, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 4), + InputAction::MOVE_TO_POINT_4, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 5), + InputAction::MOVE_TO_POINT_5, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 6), + InputAction::MOVE_TO_POINT_6, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 7), + InputAction::MOVE_TO_POINT_7, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 8), + InputAction::MOVE_TO_POINT_8, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 9), + InputAction::MOVE_TO_POINT_9, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 10), + InputAction::MOVE_TO_POINT_10, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 11), + InputAction::MOVE_TO_POINT_11, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 12), + InputAction::MOVE_TO_POINT_12, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 13), + InputAction::MOVE_TO_POINT_13, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 14), + InputAction::MOVE_TO_POINT_14, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 15), + InputAction::MOVE_TO_POINT_15, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 16), + InputAction::MOVE_TO_POINT_16, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 17), + InputAction::MOVE_TO_POINT_17, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 18), + InputAction::MOVE_TO_POINT_18, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 19), + InputAction::MOVE_TO_POINT_19, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 20), + InputAction::MOVE_TO_POINT_20, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 21), + InputAction::MOVE_TO_POINT_21, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 22), + InputAction::MOVE_TO_POINT_22, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 23), + InputAction::MOVE_TO_POINT_23, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 24), + InputAction::MOVE_TO_POINT_24, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 25), + InputAction::MOVE_TO_POINT_25, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 26), + InputAction::MOVE_TO_POINT_26, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 27), + InputAction::MOVE_TO_POINT_27, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 28), + InputAction::MOVE_TO_POINT_28, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 29), + InputAction::MOVE_TO_POINT_29, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 30), + InputAction::MOVE_TO_POINT_30, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 31), + InputAction::MOVE_TO_POINT_31, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 32), + InputAction::MOVE_TO_POINT_32, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 33), + InputAction::MOVE_TO_POINT_33, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 34), + InputAction::MOVE_TO_POINT_34, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 35), + InputAction::MOVE_TO_POINT_35, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 36), + InputAction::MOVE_TO_POINT_36, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 37), + InputAction::MOVE_TO_POINT_37, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 38), + InputAction::MOVE_TO_POINT_38, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 39), + InputAction::MOVE_TO_POINT_39, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 40), + InputAction::MOVE_TO_POINT_40, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 41), + InputAction::MOVE_TO_POINT_41, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 42), + InputAction::MOVE_TO_POINT_42, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 43), + InputAction::MOVE_TO_POINT_43, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 44), + InputAction::MOVE_TO_POINT_44, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 45), + InputAction::MOVE_TO_POINT_45, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 46), + InputAction::MOVE_TO_POINT_46, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 47), + InputAction::MOVE_TO_POINT_47, + "", + }, + { + // TRANSLATORS: input action name + strprintf(N_("Move to point Shortcut %d"), 48), + InputAction::MOVE_TO_POINT_48, + "", + }, + { + "", + InputAction::NO_VALUE, + "" + } +}; -- cgit v1.2.3-60-g2f50