From 02f6190bfd37903a0ad95226587cf4473b88332f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Aug 2014 16:57:15 +0300 Subject: Move intformation about setup input pages into separate file. --- src/gui/setupinputpages.cpp | 66 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 src/gui/setupinputpages.cpp (limited to 'src/gui/setupinputpages.cpp') diff --git a/src/gui/setupinputpages.cpp b/src/gui/setupinputpages.cpp new file mode 100644 index 000000000..5e99c1384 --- /dev/null +++ b/src/gui/setupinputpages.cpp @@ -0,0 +1,66 @@ +/* + * 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/setupinputpages.h" + +#include "gui/setupactiondata.h" + +#include "utils/gettext.h" + +#include "debug.h" + +const char *const pages[] = +{ + // TRANSLATORS: input tab sub tab name + N_("Basic"), + // TRANSLATORS: input tab sub tab name + N_("Move"), + // TRANSLATORS: input tab sub tab name + N_("Shortcuts"), + // TRANSLATORS: input tab sub tab name + N_("Windows"), + // TRANSLATORS: input tab sub tab name + N_("Emotes"), + // TRANSLATORS: input tab sub tab name + N_("Outfits"), + // TRANSLATORS: input tab sub tab name + N_("Chat"), + // TRANSLATORS: input tab sub tab name + N_("Other"), + // TRANSLATORS: input tab sub tab name + N_("Gui"), + nullptr +}; + +SetupActionData *const setupActionData[] = +{ + setupActionData0, + setupActionData7, + setupActionData1, + setupActionData2, + setupActionData3, + setupActionData4, + setupActionData5, + setupActionData6, + setupActionData8 +}; -- cgit v1.2.3-60-g2f50