ManaPlus
src
input
pages
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
32
SetupActionData
setupActionDataShortcuts
[] =
33
{
34
{
35
// TRANSLATORS: input action name
36
N_
(
"Shortcuts modifiers keys"
),
37
InputAction::NO_VALUE
,
38
""
39
},
40
{
41
// TRANSLATORS: input action name
42
N_
(
"Item Shortcuts Key"
),
43
InputAction::SHORTCUTS_KEY
,
44
""
,
45
},
46
{
47
// TRANSLATORS: input action name
48
N_
(
"Shortcuts keys"
),
49
InputAction::NO_VALUE
,
50
""
51
},
52
{
53
// TRANSLATORS: input action name
54
strprintf
(
N_
(
"Item Shortcut %d"
), 1),
55
InputAction::SHORTCUT_1
,
56
""
,
57
},
58
{
59
// TRANSLATORS: input action name
60
strprintf
(
N_
(
"Item Shortcut %d"
), 2),
61
InputAction::SHORTCUT_2
,
62
""
,
63
},
64
{
65
// TRANSLATORS: input action name
66
strprintf
(
N_
(
"Item Shortcut %d"
), 3),
67
InputAction::SHORTCUT_3
,
68
""
,
69
},
70
{
71
// TRANSLATORS: input action name
72
strprintf
(
N_
(
"Item Shortcut %d"
), 4),
73
InputAction::SHORTCUT_4
,
74
""
,
75
},
76
{
77
// TRANSLATORS: input action name
78
strprintf
(
N_
(
"Item Shortcut %d"
), 5),
79
InputAction::SHORTCUT_5
,
80
""
,
81
},
82
{
83
// TRANSLATORS: input action name
84
strprintf
(
N_
(
"Item Shortcut %d"
), 6),
85
InputAction::SHORTCUT_6
,
86
""
,
87
},
88
{
89
// TRANSLATORS: input action name
90
strprintf
(
N_
(
"Item Shortcut %d"
), 7),
91
InputAction::SHORTCUT_7
,
92
""
,
93
},
94
{
95
// TRANSLATORS: input action name
96
strprintf
(
N_
(
"Item Shortcut %d"
), 8),
97
InputAction::SHORTCUT_8
,
98
""
,
99
},
100
{
101
// TRANSLATORS: input action name
102
strprintf
(
N_
(
"Item Shortcut %d"
), 9),
103
InputAction::SHORTCUT_9
,
104
""
,
105
},
106
{
107
// TRANSLATORS: input action name
108
strprintf
(
N_
(
"Item Shortcut %d"
), 10),
109
InputAction::SHORTCUT_10
,
110
""
,
111
},
112
{
113
// TRANSLATORS: input action name
114
strprintf
(
N_
(
"Item Shortcut %d"
), 11),
115
InputAction::SHORTCUT_11
,
116
""
,
117
},
118
{
119
// TRANSLATORS: input action name
120
strprintf
(
N_
(
"Item Shortcut %d"
), 12),
121
InputAction::SHORTCUT_12
,
122
""
,
123
},
124
{
125
// TRANSLATORS: input action name
126
strprintf
(
N_
(
"Item Shortcut %d"
), 13),
127
InputAction::SHORTCUT_13
,
128
""
,
129
},
130
{
131
// TRANSLATORS: input action name
132
strprintf
(
N_
(
"Item Shortcut %d"
), 14),
133
InputAction::SHORTCUT_14
,
134
""
,
135
},
136
{
137
// TRANSLATORS: input action name
138
strprintf
(
N_
(
"Item Shortcut %d"
), 15),
139
InputAction::SHORTCUT_15
,
140
""
,
141
},
142
{
143
// TRANSLATORS: input action name
144
strprintf
(
N_
(
"Item Shortcut %d"
), 16),
145
InputAction::SHORTCUT_16
,
146
""
,
147
},
148
{
149
// TRANSLATORS: input action name
150
strprintf
(
N_
(
"Item Shortcut %d"
), 17),
151
InputAction::SHORTCUT_17
,
152
""
,
153
},
154
{
155
// TRANSLATORS: input action name
156
strprintf
(
N_
(
"Item Shortcut %d"
), 18),
157
InputAction::SHORTCUT_18
,
158
""
,
159
},
160
{
161
// TRANSLATORS: input action name
162
strprintf
(
N_
(
"Item Shortcut %d"
), 19),
163
InputAction::SHORTCUT_19
,
164
""
,
165
},
166
{
167
// TRANSLATORS: input action name
168
strprintf
(
N_
(
"Item Shortcut %d"
), 20),
169
InputAction::SHORTCUT_20
,
170
""
,
171
},
172
{
173
""
,
174
InputAction::NO_VALUE
,
175
""
176
}
177
};
debug.h
gettext.h
N_
#define N_(s)
Definition:
gettext.h:36
InputAction::SHORTCUT_13
@ SHORTCUT_13
Definition:
inputaction.h:84
InputAction::SHORTCUT_19
@ SHORTCUT_19
Definition:
inputaction.h:90
InputAction::SHORTCUT_8
@ SHORTCUT_8
Definition:
inputaction.h:79
InputAction::SHORTCUT_20
@ SHORTCUT_20
Definition:
inputaction.h:91
InputAction::SHORTCUT_11
@ SHORTCUT_11
Definition:
inputaction.h:82
InputAction::SHORTCUT_5
@ SHORTCUT_5
Definition:
inputaction.h:76
InputAction::SHORTCUT_10
@ SHORTCUT_10
Definition:
inputaction.h:81
InputAction::SHORTCUTS_KEY
@ SHORTCUTS_KEY
Definition:
inputaction.h:71
InputAction::SHORTCUT_3
@ SHORTCUT_3
Definition:
inputaction.h:74
InputAction::SHORTCUT_6
@ SHORTCUT_6
Definition:
inputaction.h:77
InputAction::SHORTCUT_2
@ SHORTCUT_2
Definition:
inputaction.h:73
InputAction::SHORTCUT_16
@ SHORTCUT_16
Definition:
inputaction.h:87
InputAction::SHORTCUT_4
@ SHORTCUT_4
Definition:
inputaction.h:75
InputAction::SHORTCUT_15
@ SHORTCUT_15
Definition:
inputaction.h:86
InputAction::SHORTCUT_17
@ SHORTCUT_17
Definition:
inputaction.h:88
InputAction::SHORTCUT_18
@ SHORTCUT_18
Definition:
inputaction.h:89
InputAction::NO_VALUE
@ NO_VALUE
Definition:
inputaction.h:44
InputAction::SHORTCUT_1
@ SHORTCUT_1
Definition:
inputaction.h:72
InputAction::SHORTCUT_14
@ SHORTCUT_14
Definition:
inputaction.h:85
InputAction::SHORTCUT_12
@ SHORTCUT_12
Definition:
inputaction.h:83
InputAction::SHORTCUT_9
@ SHORTCUT_9
Definition:
inputaction.h:80
InputAction::SHORTCUT_7
@ SHORTCUT_7
Definition:
inputaction.h:78
setupactiondata.h
setupActionDataShortcuts
SetupActionData setupActionDataShortcuts[]
Definition:
shortcuts.cpp:32
strprintf
std::string strprintf(const char *const format,...)
Definition:
stringutils.cpp:100
stringutils.h
SetupActionData
Definition:
setupactiondata.h:35
Generated on Wed Mar 17 2021 19:19:08 for ManaPlus by
1.9.1