GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/other.cpp Lines: 2 2 100.0 %
Date: 2021-03-17 Branches: 217 434 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 setupActionDataOther[] =
32
{
33
    {
34
        // TRANSLATORS: input action name
35
        N_("Input ignore"),
36
        InputAction::NO_VALUE,
37
        "",
38
    },
39
    {
40
        // TRANSLATORS: input action name
41
        N_("Ignore input 1"),
42
        InputAction::IGNORE_INPUT_1,
43
        "",
44
    },
45
    {
46
        // TRANSLATORS: input action name
47
        N_("Ignore input 2"),
48
        InputAction::IGNORE_INPUT_2,
49
        "",
50
    },
51
    {
52
        // TRANSLATORS: input action name
53
        N_("Direction keys"),
54
        InputAction::NO_VALUE,
55
        "",
56
    },
57
    {
58
        // TRANSLATORS: input action name
59
        N_("Player direct up"),
60
        InputAction::DIRECT_UP,
61
        "",
62
    },
63
    {
64
        // TRANSLATORS: input action name
65
        N_("Player direct down"),
66
        InputAction::DIRECT_DOWN,
67
        "",
68
    },
69
    {
70
        // TRANSLATORS: input action name
71
        N_("Player direct left"),
72
        InputAction::DIRECT_LEFT,
73
        "",
74
    },
75
    {
76
        // TRANSLATORS: input action name
77
        N_("Player direct right"),
78
        InputAction::DIRECT_RIGHT,
79
        "",
80
    },
81
    {
82
        // TRANSLATORS: input action name
83
        N_("Pet direct up"),
84
        InputAction::PET_DIRECT_UP,
85
        "",
86
    },
87
    {
88
        // TRANSLATORS: input action name
89
        N_("Pet direct down"),
90
        InputAction::PET_DIRECT_DOWN,
91
        "",
92
    },
93
    {
94
        // TRANSLATORS: input action name
95
        N_("Pet direct left"),
96
        InputAction::PET_DIRECT_LEFT,
97
        "",
98
    },
99
    {
100
        // TRANSLATORS: input action name
101
        N_("Pet direct right"),
102
        InputAction::PET_DIRECT_RIGHT,
103
        "",
104
    },
105
    {
106
        // TRANSLATORS: input action name
107
        N_("Other"),
108
        InputAction::NO_VALUE,
109
        "",
110
    },
111
    {
112
        // TRANSLATORS: input action name
113
        N_("Crazy moves"),
114
        InputAction::CRAZY_MOVES,
115
        "",
116
    },
117
    {
118
        // TRANSLATORS: input action name
119
        N_("Change Crazy Move mode"),
120
        InputAction::CHANGE_CRAZY_MOVES_TYPE,
121
        "",
122
    },
123
    {
124
        // TRANSLATORS: input action name
125
        N_("Quick Drop N Items from 0 slot"),
126
        InputAction::QUICK_DROP,
127
        "",
128
    },
129
    {
130
        // TRANSLATORS: input action name
131
        N_("Quick Drop N Items"),
132
        InputAction::QUICK_DROPN,
133
        "",
134
    },
135
    {
136
        // TRANSLATORS: input action name
137
        N_("Switch Quick Drop Counter"),
138
        InputAction::SWITCH_QUICK_DROP,
139
        "",
140
    },
141
    {
142
        // TRANSLATORS: input action name
143
        N_("Quick heal target or self"),
144
        InputAction::MAGIC_INMA1,
145
        "",
146
    },
147
    {
148
        // TRANSLATORS: input action name
149
        N_("Heal the most injured player"),
150
        InputAction::HEAL_MOST_DAMAGED,
151
        "",
152
    },
153
    {
154
        // TRANSLATORS: input action name
155
        N_("Use #itenplz spell"),
156
        InputAction::MAGIC_ITENPLZ,
157
        "",
158
    },
159
    {
160
        // TRANSLATORS: input action name
161
        N_("Use magic attack"),
162
        InputAction::MAGIC_ATTACK,
163
        "",
164
    },
165
    {
166
        // TRANSLATORS: input action name
167
        N_("Switch magic attack"),
168
        InputAction::SWITCH_MAGIC_ATTACK,
169
        "",
170
    },
171
    {
172
        // TRANSLATORS: input action name
173
        N_("Switch pvp attack"),
174
        InputAction::SWITCH_PVP_ATTACK,
175
        "",
176
    },
177
    {
178
        // TRANSLATORS: input action name
179
        N_("Change move type"),
180
        InputAction::INVERT_DIRECTION,
181
        "",
182
    },
183
    {
184
        // TRANSLATORS: input action name
185
        N_("Change Attack Weapon Type"),
186
        InputAction::CHANGE_ATTACK_WEAPON_TYPE,
187
        "",
188
    },
189
    {
190
        // TRANSLATORS: input action name
191
        N_("Change Attack Type"),
192
        InputAction::CHANGE_ATTACK_TYPE,
193
        "",
194
    },
195
    {
196
        // TRANSLATORS: input action name
197
        N_("Change Follow mode"),
198
        InputAction::CHANGE_FOLLOW_MODE,
199
        "",
200
    },
201
    {
202
        // TRANSLATORS: input action name
203
        N_("Change Imitation mode"),
204
        InputAction::CHANGE_IMITATION_MODE,
205
        "",
206
    },
207
    {
208
        // TRANSLATORS: input action name
209
        N_("Disable / Enable Game modifier keys"),
210
        InputAction::DISABLE_GAME_MODIFIERS,
211
        "",
212
    },
213
    {
214
        // TRANSLATORS: input action name
215
        N_("On / Off audio"),
216
        InputAction::CHANGE_AUDIO,
217
        "",
218
    },
219
    {
220
        // TRANSLATORS: input action name
221
        N_("Enable / Disable away mode"),
222
        InputAction::AWAY,
223
        "",
224
    },
225
    {
226
        // TRANSLATORS: input action name
227
        N_("Emulate right click from keyboard"),
228
        InputAction::RIGHT_CLICK,
229
        "",
230
    },
231
    {
232
        // TRANSLATORS: input action name
233
        N_("Toggle camera mode"),
234
        InputAction::CAMERA,
235
        "",
236
    },
237
    {
238
        // TRANSLATORS: input action name
239
        N_("Toggle ipc mode"),
240
        InputAction::IPC_TOGGLE,
241
        "",
242
    },
243
    {
244
        // TRANSLATORS: input action name
245
        N_("Show information about position in chat"),
246
        InputAction::WHERE,
247
        "",
248
    },
249
    {
250
        // TRANSLATORS: input action name
251
        N_("Show online players number in chat"),
252
        InputAction::WHO,
253
        "",
254
    },
255
    {
256
        // TRANSLATORS: input action name
257
        N_("Show onscreen keyboard"),
258
        InputAction::SHOW_KEYBOARD,
259
        "",
260
    },
261
    {
262
        // TRANSLATORS: input action name
263
        N_("Clean cached graphics"),
264
        InputAction::CLEAN_GRAPHICS,
265
        "",
266
    },
267
    {
268
        // TRANSLATORS: input action name
269
        N_("Clean cached fonts"),
270
        InputAction::CLEAN_FONTS,
271
        "",
272
    },
273
    {
274
        // TRANSLATORS: input action name
275
        N_("Print visible players in chat"),
276
        InputAction::PRESENT,
277
        "",
278
    },
279
    {
280
        // TRANSLATORS: input action name
281
        N_("Print all visible beings in chat"),
282
        InputAction::PRINT_ALL,
283
        "",
284
    },
285
    {
286
        // TRANSLATORS: input action name
287
        N_("Load shop items list from disk"),
288
        InputAction::PRICE_LOAD,
289
        "",
290
    },
291
    {
292
        // TRANSLATORS: input action name
293
        N_("Save shop items list to disk"),
294
        InputAction::PRICE_SAVE,
295
        "",
296
    },
297
    {
298
        // TRANSLATORS: input action name
299
        N_("Print debug cache info"),
300
        InputAction::CACHE_INFO,
301
        "",
302
    },
303
    {
304
        // TRANSLATORS: input action name
305
        N_("Undress selected player"),
306
        InputAction::UNDRESS,
307
        "",
308
    },
309
    {
310
        // TRANSLATORS: input action name
311
        N_("Quick disconnect from server"),
312
        InputAction::DISCONNECT,
313
        "",
314
    },
315
    {
316
        // TRANSLATORS: input action name
317
        N_("Disable debug particle"),
318
        InputAction::TEST_PARTICLE,
319
        "",
320
    },
321
    {
322
        // TRANSLATORS: input action name
323
        N_("Create items (for gms)"),
324
        InputAction::CREATE_ITEMS,
325
        "",
326
    },
327
    {
328
        // TRANSLATORS: input action name
329
        N_("Print configured directories in chat"),
330
        InputAction::DIRS,
331
        "",
332
    },
333
    {
334
        // TRANSLATORS: input action name
335
        N_("Print client uptime in chat"),
336
        InputAction::UPTIME,
337
        "",
338
    },
339
    {
340
        // TRANSLATORS: input action name
341
        N_("Dump debug information"),
342
        InputAction::DUMP,
343
        "",
344
    },
345
    {
346
        // TRANSLATORS: input action name
347
        N_("Crash client"),
348
        InputAction::ERROR,
349
        "",
350
    },
351
    {
352
        // TRANSLATORS: input action name
353
        N_("Dump graphics info into chat"),
354
        InputAction::DUMP_GRAPHICS,
355
        "",
356
    },
357
    {
358
        // TRANSLATORS: input action name
359
        N_("Dump tests info into chat"),
360
        InputAction::DUMP_TESTS,
361
        "",
362
    },
363
    {
364
        // TRANSLATORS: input action name
365
        N_("Print OpenGL version in chat"),
366
        InputAction::DUMP_GL,
367
        "",
368
    },
369
    {
370
        // TRANSLATORS: input action name
371
        N_("Print enabled mods in chat"),
372
        InputAction::DUMP_MODS,
373
        "",
374
    },
375
    {
376
        // TRANSLATORS: input action name
377
        N_("Dump environments into log"),
378
        InputAction::DUMP_ENVIRONMENT,
379
        "",
380
    },
381
    {
382
        // TRANSLATORS: input action name
383
        N_("Dump OpenGL state into log"),
384
        InputAction::DUMP_OGL,
385
        "",
386
    },
387
#if defined USE_OPENGL && defined DEBUG_SDLFONT
388
    {
389
        // TRANSLATORS: input action name
390
        N_("Test SDL font speed"),
391
        InputAction::TEST_SDL_FONT,
392
        "",
393
    },
394
#endif  // defined USE_OPENGL && defined DEBUG_SDLFONT
395
    {
396
        // TRANSLATORS: input action name
397
        N_("Upload main config"),
398
        InputAction::UPLOAD_CONFIG,
399
        "",
400
    },
401
    {
402
        // TRANSLATORS: input action name
403
        N_("Upload server config"),
404
        InputAction::UPLOAD_SERVER_CONFIG,
405
        "",
406
    },
407
    {
408
        // TRANSLATORS: input action name
409
        N_("Upload log file"),
410
        InputAction::UPLOAD_LOG,
411
        "",
412
    },
413
    {
414
        // TRANSLATORS: input action name
415
        N_("Fire your mercenary"),
416
        InputAction::MERCENARY_FIRE,
417
        "",
418
    },
419
    {
420
        // TRANSLATORS: input action name
421
        N_("Pet ai start"),
422
        InputAction::PET_AI_START,
423
        "",
424
    },
425
    {
426
        // TRANSLATORS: input action name
427
        N_("Pet ai stop"),
428
        InputAction::PET_AI_STOP,
429
        "",
430
    },
431
    {
432
        // TRANSLATORS: input action name
433
        N_("Feed homunculus"),
434
        InputAction::HOMUNCULUS_FEED,
435
        "",
436
    },
437
    {
438
        // TRANSLATORS: input action name
439
        N_("Feed pet"),
440
        InputAction::PET_FEED,
441
        "",
442
    },
443
    {
444
        // TRANSLATORS: input action name
445
        N_("Drop pet's loot"),
446
        InputAction::PET_DROP_LOOT,
447
        "",
448
    },
449
    {
450
        // TRANSLATORS: input action name
451
        N_("Return pet to egg"),
452
        InputAction::PET_RETURN_TO_EGG,
453
        "",
454
    },
455
    {
456
        // TRANSLATORS: input action name
457
        N_("Unequip pet"),
458
        InputAction::PET_UNEQUIP,
459
        "",
460
    },
461
    {
462
        "",
463
        InputAction::NO_VALUE,
464
        ""
465
    }
466












































































































429
};