ManaPlus
shortcuts.cpp
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2007 Joshua Langley <[email protected]>
4  * Copyright (C) 2009 The Mana World Development Team
5  * Copyright (C) 2009-2010 The Mana Developers
6  * Copyright (C) 2011-2019 The ManaPlus Developers
7  * Copyright (C) 2019-2021 Andrei Karas
8  *
9  * This file is part of The ManaPlus Client.
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program. If not, see <http://www.gnu.org/licenses/>.
23  */
24 
25 #include "gui/setupactiondata.h"
26 
27 #include "utils/gettext.h"
28 #include "utils/stringutils.h"
29 
30 #include "debug.h"
31 
33 {
34  {
35  // TRANSLATORS: input action name
36  N_("Shortcuts modifiers keys"),
38  ""
39  },
40  {
41  // TRANSLATORS: input action name
42  N_("Item Shortcuts Key"),
44  "",
45  },
46  {
47  // TRANSLATORS: input action name
48  N_("Shortcuts keys"),
50  ""
51  },
52  {
53  // TRANSLATORS: input action name
54  strprintf(N_("Item Shortcut %d"), 1),
56  "",
57  },
58  {
59  // TRANSLATORS: input action name
60  strprintf(N_("Item Shortcut %d"), 2),
62  "",
63  },
64  {
65  // TRANSLATORS: input action name
66  strprintf(N_("Item Shortcut %d"), 3),
68  "",
69  },
70  {
71  // TRANSLATORS: input action name
72  strprintf(N_("Item Shortcut %d"), 4),
74  "",
75  },
76  {
77  // TRANSLATORS: input action name
78  strprintf(N_("Item Shortcut %d"), 5),
80  "",
81  },
82  {
83  // TRANSLATORS: input action name
84  strprintf(N_("Item Shortcut %d"), 6),
86  "",
87  },
88  {
89  // TRANSLATORS: input action name
90  strprintf(N_("Item Shortcut %d"), 7),
92  "",
93  },
94  {
95  // TRANSLATORS: input action name
96  strprintf(N_("Item Shortcut %d"), 8),
98  "",
99  },
100  {
101  // TRANSLATORS: input action name
102  strprintf(N_("Item Shortcut %d"), 9),
104  "",
105  },
106  {
107  // TRANSLATORS: input action name
108  strprintf(N_("Item Shortcut %d"), 10),
110  "",
111  },
112  {
113  // TRANSLATORS: input action name
114  strprintf(N_("Item Shortcut %d"), 11),
116  "",
117  },
118  {
119  // TRANSLATORS: input action name
120  strprintf(N_("Item Shortcut %d"), 12),
122  "",
123  },
124  {
125  // TRANSLATORS: input action name
126  strprintf(N_("Item Shortcut %d"), 13),
128  "",
129  },
130  {
131  // TRANSLATORS: input action name
132  strprintf(N_("Item Shortcut %d"), 14),
134  "",
135  },
136  {
137  // TRANSLATORS: input action name
138  strprintf(N_("Item Shortcut %d"), 15),
140  "",
141  },
142  {
143  // TRANSLATORS: input action name
144  strprintf(N_("Item Shortcut %d"), 16),
146  "",
147  },
148  {
149  // TRANSLATORS: input action name
150  strprintf(N_("Item Shortcut %d"), 17),
152  "",
153  },
154  {
155  // TRANSLATORS: input action name
156  strprintf(N_("Item Shortcut %d"), 18),
158  "",
159  },
160  {
161  // TRANSLATORS: input action name
162  strprintf(N_("Item Shortcut %d"), 19),
164  "",
165  },
166  {
167  // TRANSLATORS: input action name
168  strprintf(N_("Item Shortcut %d"), 20),
170  "",
171  },
172  {
173  "",
175  ""
176  }
177 };
#define N_(s)
Definition: gettext.h:36
SetupActionData setupActionDataShortcuts[]
Definition: shortcuts.cpp:32
std::string strprintf(const char *const format,...)