GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/basic.cpp Lines: 2 2 100.0 %
Date: 2021-03-17 Branches: 124 248 50.0 %

Line Branch Exec Source
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
29
#include "debug.h"
30
31
2
SetupActionData setupActionDataBasic[] =
32
{
33
    {
34
        // TRANSLATORS: input action name
35
        N_("Target and attack keys"),
36
        InputAction::NO_VALUE,
37
        "",
38
    },
39
    {
40
        // TRANSLATORS: input action name
41
        N_("Attack"),
42
        InputAction::ATTACK,
43
        "",
44
    },
45
    {
46
        // TRANSLATORS: input action name
47
        N_("Target & attack closest monster"),
48
        InputAction::TARGET_ATTACK,
49
        "",
50
    },
51
    {
52
        // TRANSLATORS: input action name
53
        N_("Target & attack closest player"),
54
        InputAction::ATTACK_HUMAN,
55
        "",
56
    },
57
    {
58
        // TRANSLATORS: input action name
59
        N_("Move to Target"),
60
        InputAction::MOVE_TO_TARGET,
61
        "",
62
    },
63
    {
64
        // TRANSLATORS: input action name
65
        N_("Change Move to Target type"),
66
        InputAction::CHANGE_MOVE_TO_TARGET,
67
        "",
68
    },
69
    {
70
        // TRANSLATORS: input action name
71
        N_("Move to Home location"),
72
        InputAction::MOVE_TO_HOME,
73
        "",
74
    },
75
    {
76
        // TRANSLATORS: input action name
77
        N_("Set home location"),
78
        InputAction::SET_HOME,
79
        "",
80
    },
81
    {
82
        // TRANSLATORS: input action name
83
        N_("Move to navigation point"),
84
        InputAction::MOVE_TO_POINT,
85
        "",
86
    },
87
    {
88
        // TRANSLATORS: input action name
89
        N_("Talk"),
90
        InputAction::TALK,
91
        "",
92
    },
93
    {
94
        // TRANSLATORS: input action name
95
        N_("Stop Attack / Modifier key"),
96
        InputAction::STOP_ATTACK,
97
        "",
98
    },
99
    {
100
        // TRANSLATORS: input action name
101
        N_("Untarget"),
102
        InputAction::UNTARGET,
103
        "",
104
    },
105
    {
106
        // TRANSLATORS: input action name
107
        N_("Target monster"),
108
        InputAction::TARGET_MONSTER,
109
        "",
110
    },
111
    {
112
        // TRANSLATORS: input action name
113
        N_("Target closest monster (without filters)"),
114
        InputAction::TARGET_CLOSEST_MONSTER,
115
        "",
116
    },
117
    {
118
        // TRANSLATORS: input action name
119
        N_("Target NPC"),
120
        InputAction::TARGET_NPC,
121
        "",
122
    },
123
    {
124
        // TRANSLATORS: input action name
125
        N_("Target Player"),
126
        InputAction::TARGET_PLAYER,
127
        "",
128
    },
129
    {
130
        // TRANSLATORS: input action name
131
        N_("Target mercenary"),
132
        InputAction::TARGET_MERCENARY,
133
        "",
134
    },
135
    {
136
        // TRANSLATORS: input action name
137
        N_("Target skill unit"),
138
        InputAction::TARGET_SKILL_UNIT,
139
        "",
140
    },
141
    {
142
        // TRANSLATORS: input action name
143
        N_("Change targeting type"),
144
        InputAction::CHANGE_TARGETING_TYPE,
145
        "",
146
    },
147
    {
148
        // TRANSLATORS: input action name
149
        N_("Target pet"),
150
        InputAction::TARGET_PET,
151
        "",
152
    },
153
    {
154
        // TRANSLATORS: input action name
155
        N_("Catch pet"),
156
        InputAction::CATCH_PET,
157
        "",
158
    },
159
    {
160
        // TRANSLATORS: input action name
161
        N_("Other Keys"),
162
        InputAction::NO_VALUE,
163
        "",
164
    },
165
    {
166
        // TRANSLATORS: input action name
167
        N_("Pickup"),
168
        InputAction::PICKUP,
169
        "",
170
    },
171
    {
172
        // TRANSLATORS: input action name
173
        N_("Change Pickup Type"),
174
        InputAction::CHANGE_PICKUP_TYPE,
175
        "",
176
    },
177
    {
178
        // TRANSLATORS: input action name
179
        N_("Sit"),
180
        InputAction::SIT,
181
        "",
182
    },
183
    {
184
        // TRANSLATORS: input action name
185
        N_("Screenshot"),
186
        InputAction::SCREENSHOT,
187
        "",
188
    },
189
    {
190
        // TRANSLATORS: input action name
191
        N_("Enable/Disable Trading"),
192
        InputAction::CHANGE_TRADE,
193
        "",
194
    },
195
    {
196
        // TRANSLATORS: input action name
197
        N_("Open trade window"),
198
        InputAction::OPEN_TRADE,
199
        "",
200
    },
201
    {
202
        // TRANSLATORS: input action name
203
        N_("Start trade with target"),
204
        InputAction::TRADE,
205
        "",
206
    },
207
    {
208
        // TRANSLATORS: input action name
209
        N_("Follow selected player"),
210
        InputAction::FOLLOW,
211
        "",
212
    },
213
    {
214
        // TRANSLATORS: input action name
215
        N_("Change Map View Mode"),
216
        InputAction::PATHFIND,
217
        "",
218
    },
219
    {
220
        // TRANSLATORS: input action name
221
        N_("Select OK"),
222
        InputAction::OK,
223
        "",
224
    },
225
    {
226
        // TRANSLATORS: input action name
227
        N_("Quit"),
228
        InputAction::QUIT,
229
        "",
230
    },
231
    {
232
        // TRANSLATORS: input action name
233
        N_("Stop or sit"),
234
        InputAction::STOP_SIT,
235
        "",
236
    },
237
    {
238
        // TRANSLATORS: input action name
239
        N_("Return to safe video mode"),
240
        InputAction::SAFE_VIDEO,
241
        "",
242
    },
243
    {
244
        // TRANSLATORS: input action name
245
        N_("Fire your homunculus"),
246
        InputAction::HOMUNCULUS_FIRE,
247
        "",
248
    },
249
    {
250
        // TRANSLATORS: input action name
251
        N_("Buy"),
252
        InputAction::BUY,
253
        "",
254
    },
255
    {
256
        // TRANSLATORS: input action name
257
        N_("Sell"),
258
        InputAction::SELL,
259
        "",
260
    },
261
    {
262
        // TRANSLATORS: input action name
263
        N_("Open context menu"),
264
        InputAction::CONTEXT_MENU,
265
        "",
266
    },
267
    {
268
        "",
269
        InputAction::NO_VALUE,
270
        ""
271
    }
272





























































243
};