GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/move.cpp Lines: 50 50 100.0 %
Date: 2017-11-29 Branches: 190 380 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-2017  The ManaPlus Developers
7
 *
8
 *  This file is part of The ManaPlus Client.
9
 *
10
 *  This program is free software; you can redistribute it and/or modify
11
 *  it under the terms of the GNU General Public License as published by
12
 *  the Free Software Foundation; either version 2 of the License, or
13
 *  any later version.
14
 *
15
 *  This program is distributed in the hope that it will be useful,
16
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 *  GNU General Public License for more details.
19
 *
20
 *  You should have received a copy of the GNU General Public License
21
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
 */
23
24
#include "gui/setupactiondata.h"
25
26
#include "utils/gettext.h"
27
#include "utils/stringutils.h"
28
29
#include "debug.h"
30
31
4
SetupActionData setupActionDataMove[] =
32
{
33
    {
34
        // TRANSLATORS: input action name
35
        N_("Move Keys"),
36
        InputAction::NO_VALUE,
37
        "",
38
    },
39
    {
40
        // TRANSLATORS: input action name
41
        N_("Move player up"),
42
        InputAction::MOVE_UP,
43
        "",
44
    },
45
    {
46
        // TRANSLATORS: input action name
47
        N_("Move player down"),
48
        InputAction::MOVE_DOWN,
49
        "",
50
    },
51
    {
52
        // TRANSLATORS: input action name
53
        N_("Move player left"),
54
        InputAction::MOVE_LEFT,
55
        "",
56
    },
57
    {
58
        // TRANSLATORS: input action name
59
        N_("Move player right"),
60
        InputAction::MOVE_RIGHT,
61
        "",
62
    },
63
    {
64
        // TRANSLATORS: input action name
65
        N_("Move player forward"),
66
        InputAction::MOVE_FORWARD,
67
        "",
68
    },
69
    {
70
        // TRANSLATORS: input action name
71
        N_("Move pet up"),
72
        InputAction::PET_MOVE_UP,
73
        "",
74
    },
75
    {
76
        // TRANSLATORS: input action name
77
        N_("Move pet down"),
78
        InputAction::PET_MOVE_DOWN,
79
        "",
80
    },
81
    {
82
        // TRANSLATORS: input action name
83
        N_("Move pet left"),
84
        InputAction::PET_MOVE_LEFT,
85
        "",
86
    },
87
    {
88
        // TRANSLATORS: input action name
89
        N_("Move pet right"),
90
        InputAction::PET_MOVE_RIGHT,
91
        "",
92
    },
93
    {
94
        // TRANSLATORS: input action name
95
        N_("Move homunculus to master"),
96
        InputAction::HOMUNCULUS_TO_MASTER,
97
        "",
98
    },
99
    {
100
        // TRANSLATORS: input action name
101
        N_("Move mercenary to master"),
102
        InputAction::MERCENARY_TO_MASTER,
103
        "",
104
    },
105
    {
106
        // TRANSLATORS: input action name
107
        N_("Move to navigation point shortcuts"),
108
        InputAction::NO_VALUE,
109
        ""
110
    },
111
    {
112
        // TRANSLATORS: input action name
113
4
        strprintf(N_("Move to point Shortcut %d"), 1),
114
        InputAction::MOVE_TO_POINT_1,
115
        "",
116
    },
117
    {
118
        // TRANSLATORS: input action name
119
4
        strprintf(N_("Move to point Shortcut %d"), 2),
120
        InputAction::MOVE_TO_POINT_2,
121
        "",
122
    },
123
    {
124
        // TRANSLATORS: input action name
125
4
        strprintf(N_("Move to point Shortcut %d"), 3),
126
        InputAction::MOVE_TO_POINT_3,
127
        "",
128
    },
129
    {
130
        // TRANSLATORS: input action name
131
4
        strprintf(N_("Move to point Shortcut %d"), 4),
132
        InputAction::MOVE_TO_POINT_4,
133
        "",
134
    },
135
    {
136
        // TRANSLATORS: input action name
137
4
        strprintf(N_("Move to point Shortcut %d"), 5),
138
        InputAction::MOVE_TO_POINT_5,
139
        "",
140
    },
141
    {
142
        // TRANSLATORS: input action name
143
4
        strprintf(N_("Move to point Shortcut %d"), 6),
144
        InputAction::MOVE_TO_POINT_6,
145
        "",
146
    },
147
    {
148
        // TRANSLATORS: input action name
149
4
        strprintf(N_("Move to point Shortcut %d"), 7),
150
        InputAction::MOVE_TO_POINT_7,
151
        "",
152
    },
153
    {
154
        // TRANSLATORS: input action name
155
4
        strprintf(N_("Move to point Shortcut %d"), 8),
156
        InputAction::MOVE_TO_POINT_8,
157
        "",
158
    },
159
    {
160
        // TRANSLATORS: input action name
161
4
        strprintf(N_("Move to point Shortcut %d"), 9),
162
        InputAction::MOVE_TO_POINT_9,
163
        "",
164
    },
165
    {
166
        // TRANSLATORS: input action name
167
4
        strprintf(N_("Move to point Shortcut %d"), 10),
168
        InputAction::MOVE_TO_POINT_10,
169
        "",
170
    },
171
    {
172
        // TRANSLATORS: input action name
173
4
        strprintf(N_("Move to point Shortcut %d"), 11),
174
        InputAction::MOVE_TO_POINT_11,
175
        "",
176
    },
177
    {
178
        // TRANSLATORS: input action name
179
4
        strprintf(N_("Move to point Shortcut %d"), 12),
180
        InputAction::MOVE_TO_POINT_12,
181
        "",
182
    },
183
    {
184
        // TRANSLATORS: input action name
185
4
        strprintf(N_("Move to point Shortcut %d"), 13),
186
        InputAction::MOVE_TO_POINT_13,
187
        "",
188
    },
189
    {
190
        // TRANSLATORS: input action name
191
4
        strprintf(N_("Move to point Shortcut %d"), 14),
192
        InputAction::MOVE_TO_POINT_14,
193
        "",
194
    },
195
    {
196
        // TRANSLATORS: input action name
197
4
        strprintf(N_("Move to point Shortcut %d"), 15),
198
        InputAction::MOVE_TO_POINT_15,
199
        "",
200
    },
201
    {
202
        // TRANSLATORS: input action name
203
4
        strprintf(N_("Move to point Shortcut %d"), 16),
204
        InputAction::MOVE_TO_POINT_16,
205
        "",
206
    },
207
    {
208
        // TRANSLATORS: input action name
209
4
        strprintf(N_("Move to point Shortcut %d"), 17),
210
        InputAction::MOVE_TO_POINT_17,
211
        "",
212
    },
213
    {
214
        // TRANSLATORS: input action name
215
4
        strprintf(N_("Move to point Shortcut %d"), 18),
216
        InputAction::MOVE_TO_POINT_18,
217
        "",
218
    },
219
    {
220
        // TRANSLATORS: input action name
221
4
        strprintf(N_("Move to point Shortcut %d"), 19),
222
        InputAction::MOVE_TO_POINT_19,
223
        "",
224
    },
225
    {
226
        // TRANSLATORS: input action name
227
4
        strprintf(N_("Move to point Shortcut %d"), 20),
228
        InputAction::MOVE_TO_POINT_20,
229
        "",
230
    },
231
    {
232
        // TRANSLATORS: input action name
233
4
        strprintf(N_("Move to point Shortcut %d"), 21),
234
        InputAction::MOVE_TO_POINT_21,
235
        "",
236
    },
237
    {
238
        // TRANSLATORS: input action name
239
4
        strprintf(N_("Move to point Shortcut %d"), 22),
240
        InputAction::MOVE_TO_POINT_22,
241
        "",
242
    },
243
    {
244
        // TRANSLATORS: input action name
245
4
        strprintf(N_("Move to point Shortcut %d"), 23),
246
        InputAction::MOVE_TO_POINT_23,
247
        "",
248
    },
249
    {
250
        // TRANSLATORS: input action name
251
4
        strprintf(N_("Move to point Shortcut %d"), 24),
252
        InputAction::MOVE_TO_POINT_24,
253
        "",
254
    },
255
    {
256
        // TRANSLATORS: input action name
257
4
        strprintf(N_("Move to point Shortcut %d"), 25),
258
        InputAction::MOVE_TO_POINT_25,
259
        "",
260
    },
261
    {
262
        // TRANSLATORS: input action name
263
4
        strprintf(N_("Move to point Shortcut %d"), 26),
264
        InputAction::MOVE_TO_POINT_26,
265
        "",
266
    },
267
    {
268
        // TRANSLATORS: input action name
269
4
        strprintf(N_("Move to point Shortcut %d"), 27),
270
        InputAction::MOVE_TO_POINT_27,
271
        "",
272
    },
273
    {
274
        // TRANSLATORS: input action name
275
4
        strprintf(N_("Move to point Shortcut %d"), 28),
276
        InputAction::MOVE_TO_POINT_28,
277
        "",
278
    },
279
    {
280
        // TRANSLATORS: input action name
281
4
        strprintf(N_("Move to point Shortcut %d"), 29),
282
        InputAction::MOVE_TO_POINT_29,
283
        "",
284
    },
285
    {
286
        // TRANSLATORS: input action name
287
4
        strprintf(N_("Move to point Shortcut %d"), 30),
288
        InputAction::MOVE_TO_POINT_30,
289
        "",
290
    },
291
    {
292
        // TRANSLATORS: input action name
293
4
        strprintf(N_("Move to point Shortcut %d"), 31),
294
        InputAction::MOVE_TO_POINT_31,
295
        "",
296
    },
297
    {
298
        // TRANSLATORS: input action name
299
4
        strprintf(N_("Move to point Shortcut %d"), 32),
300
        InputAction::MOVE_TO_POINT_32,
301
        "",
302
    },
303
    {
304
        // TRANSLATORS: input action name
305
4
        strprintf(N_("Move to point Shortcut %d"), 33),
306
        InputAction::MOVE_TO_POINT_33,
307
        "",
308
    },
309
    {
310
        // TRANSLATORS: input action name
311
4
        strprintf(N_("Move to point Shortcut %d"), 34),
312
        InputAction::MOVE_TO_POINT_34,
313
        "",
314
    },
315
    {
316
        // TRANSLATORS: input action name
317
4
        strprintf(N_("Move to point Shortcut %d"), 35),
318
        InputAction::MOVE_TO_POINT_35,
319
        "",
320
    },
321
    {
322
        // TRANSLATORS: input action name
323
4
        strprintf(N_("Move to point Shortcut %d"), 36),
324
        InputAction::MOVE_TO_POINT_36,
325
        "",
326
    },
327
    {
328
        // TRANSLATORS: input action name
329
4
        strprintf(N_("Move to point Shortcut %d"), 37),
330
        InputAction::MOVE_TO_POINT_37,
331
        "",
332
    },
333
    {
334
        // TRANSLATORS: input action name
335
4
        strprintf(N_("Move to point Shortcut %d"), 38),
336
        InputAction::MOVE_TO_POINT_38,
337
        "",
338
    },
339
    {
340
        // TRANSLATORS: input action name
341
4
        strprintf(N_("Move to point Shortcut %d"), 39),
342
        InputAction::MOVE_TO_POINT_39,
343
        "",
344
    },
345
    {
346
        // TRANSLATORS: input action name
347
4
        strprintf(N_("Move to point Shortcut %d"), 40),
348
        InputAction::MOVE_TO_POINT_40,
349
        "",
350
    },
351
    {
352
        // TRANSLATORS: input action name
353
4
        strprintf(N_("Move to point Shortcut %d"), 41),
354
        InputAction::MOVE_TO_POINT_41,
355
        "",
356
    },
357
    {
358
        // TRANSLATORS: input action name
359
4
        strprintf(N_("Move to point Shortcut %d"), 42),
360
        InputAction::MOVE_TO_POINT_42,
361
        "",
362
    },
363
    {
364
        // TRANSLATORS: input action name
365
4
        strprintf(N_("Move to point Shortcut %d"), 43),
366
        InputAction::MOVE_TO_POINT_43,
367
        "",
368
    },
369
    {
370
        // TRANSLATORS: input action name
371
4
        strprintf(N_("Move to point Shortcut %d"), 44),
372
        InputAction::MOVE_TO_POINT_44,
373
        "",
374
    },
375
    {
376
        // TRANSLATORS: input action name
377
4
        strprintf(N_("Move to point Shortcut %d"), 45),
378
        InputAction::MOVE_TO_POINT_45,
379
        "",
380
    },
381
    {
382
        // TRANSLATORS: input action name
383
4
        strprintf(N_("Move to point Shortcut %d"), 46),
384
        InputAction::MOVE_TO_POINT_46,
385
        "",
386
    },
387
    {
388
        // TRANSLATORS: input action name
389
4
        strprintf(N_("Move to point Shortcut %d"), 47),
390
        InputAction::MOVE_TO_POINT_47,
391
        "",
392
    },
393
    {
394
        // TRANSLATORS: input action name
395
4
        strprintf(N_("Move to point Shortcut %d"), 48),
396
        InputAction::MOVE_TO_POINT_48,
397
        "",
398
    },
399
    {
400
        "",
401
        InputAction::NO_VALUE,
402
        ""
403
    }
404






































































560
};