ManaPlus
craft.cpp
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2011-2019 The ManaPlus Developers
4  * Copyright (C) 2019-2021 Andrei Karas
5  *
6  * This file is part of The ManaPlus Client.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #include "gui/setupactiondata.h"
23 
24 #include "utils/gettext.h"
25 #include "utils/stringutils.h"
26 
27 #include "debug.h"
28 
30 {
31  {
32  // TRANSLATORS: input action name
33  strprintf(N_("Craft shortcut %d"), 1),
35  "",
36  },
37  {
38  // TRANSLATORS: input action name
39  strprintf(N_("Craft shortcut %d"), 2),
41  "",
42  },
43  {
44  // TRANSLATORS: input action name
45  strprintf(N_("Craft shortcut %d"), 3),
47  "",
48  },
49  {
50  // TRANSLATORS: input action name
51  strprintf(N_("Craft shortcut %d"), 4),
53  "",
54  },
55  {
56  // TRANSLATORS: input action name
57  strprintf(N_("Craft shortcut %d"), 5),
59  "",
60  },
61  {
62  // TRANSLATORS: input action name
63  strprintf(N_("Craft shortcut %d"), 6),
65  "",
66  },
67  {
68  // TRANSLATORS: input action name
69  strprintf(N_("Craft shortcut %d"), 7),
71  "",
72  },
73  {
74  // TRANSLATORS: input action name
75  strprintf(N_("Craft shortcut %d"), 8),
77  "",
78  },
79  {
80  // TRANSLATORS: input action name
81  strprintf(N_("Craft shortcut %d"), 9),
83  "",
84  },
85  {
86  "",
88  ""
89  },
90 };
SetupActionData setupActionDataCraft[]
Definition: craft.cpp:29
#define N_(s)
Definition: gettext.h:36
std::string strprintf(const char *const format,...)