summaryrefslogtreecommitdiff
path: root/src/gui/setupinputpages.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-22 16:57:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-22 17:02:21 +0300
commit02f6190bfd37903a0ad95226587cf4473b88332f (patch)
tree3e5904240f9b7ee406aa58c7ed25e296328d75d8 /src/gui/setupinputpages.cpp
parentd08851e587ad9390a38bd5d6a28252714a71ae14 (diff)
downloadmanaplus-02f6190bfd37903a0ad95226587cf4473b88332f.tar.gz
manaplus-02f6190bfd37903a0ad95226587cf4473b88332f.tar.bz2
manaplus-02f6190bfd37903a0ad95226587cf4473b88332f.tar.xz
manaplus-02f6190bfd37903a0ad95226587cf4473b88332f.zip
Move intformation about setup input pages into separate file.
Diffstat (limited to 'src/gui/setupinputpages.cpp')
-rw-r--r--src/gui/setupinputpages.cpp66
1 files changed, 66 insertions, 0 deletions
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 <joshlangley@optusnet.com.au>
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+
+#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
+};