GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/emotes.cpp Lines: 98 98 100.0 %
Date: 2017-11-29 Branches: 316 632 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 setupActionDataEmotes[] =
32
{
33
    {
34
        // TRANSLATORS: input action name
35
        N_("Emote modifiers keys"),
36
        InputAction::NO_VALUE,
37
        ""
38
    },
39
    {
40
        // TRANSLATORS: input action name
41
        N_("Emote modifier key"),
42
        InputAction::EMOTE,
43
        "",
44
    },
45
    {
46
        // TRANSLATORS: input action name
47
        N_("Pet emote modifier key"),
48
        InputAction::PET_EMOTE,
49
        "",
50
    },
51
    {
52
        // TRANSLATORS: input action name
53
        N_("Homunculus / mercenary emote modifier key"),
54
        InputAction::HOMUN_EMOTE,
55
        "",
56
    },
57
    {
58
        // TRANSLATORS: input action name
59
        N_("Emote shortcuts"),
60
        InputAction::NO_VALUE,
61
        ""
62
    },
63
    {
64
        // TRANSLATORS: input action name
65
4
        strprintf(N_("Emote Shortcut %d"), 1),
66
        InputAction::EMOTE_1,
67
        "",
68
    },
69
    {
70
        // TRANSLATORS: input action name
71
4
        strprintf(N_("Emote Shortcut %d"), 2),
72
        InputAction::EMOTE_2,
73
        "",
74
    },
75
    {
76
        // TRANSLATORS: input action name
77
4
        strprintf(N_("Emote Shortcut %d"), 3),
78
        InputAction::EMOTE_3,
79
        "",
80
    },
81
    {
82
        // TRANSLATORS: input action name
83
4
        strprintf(N_("Emote Shortcut %d"), 4),
84
        InputAction::EMOTE_4,
85
        "",
86
    },
87
    {
88
        // TRANSLATORS: input action name
89
4
        strprintf(N_("Emote Shortcut %d"), 5),
90
        InputAction::EMOTE_5,
91
        "",
92
    },
93
    {
94
        // TRANSLATORS: input action name
95
4
        strprintf(N_("Emote Shortcut %d"), 6),
96
        InputAction::EMOTE_6,
97
        "",
98
    },
99
    {
100
        // TRANSLATORS: input action name
101
4
        strprintf(N_("Emote Shortcut %d"), 7),
102
        InputAction::EMOTE_7,
103
        "",
104
    },
105
    {
106
        // TRANSLATORS: input action name
107
4
        strprintf(N_("Emote Shortcut %d"), 8),
108
        InputAction::EMOTE_8,
109
        "",
110
    },
111
    {
112
        // TRANSLATORS: input action name
113
4
        strprintf(N_("Emote Shortcut %d"), 9),
114
        InputAction::EMOTE_9,
115
        "",
116
    },
117
    {
118
        // TRANSLATORS: input action name
119
4
        strprintf(N_("Emote Shortcut %d"), 10),
120
        InputAction::EMOTE_10,
121
        "",
122
    },
123
    {
124
        // TRANSLATORS: input action name
125
4
        strprintf(N_("Emote Shortcut %d"), 11),
126
        InputAction::EMOTE_11,
127
        "",
128
    },
129
    {
130
        // TRANSLATORS: input action name
131
4
        strprintf(N_("Emote Shortcut %d"), 12),
132
        InputAction::EMOTE_12,
133
        "",
134
    },
135
    {
136
        // TRANSLATORS: input action name
137
4
        strprintf(N_("Emote Shortcut %d"), 13),
138
        InputAction::EMOTE_13,
139
        "",
140
    },
141
    {
142
        // TRANSLATORS: input action name
143
4
        strprintf(N_("Emote Shortcut %d"), 14),
144
        InputAction::EMOTE_14,
145
        "",
146
    },
147
    {
148
        // TRANSLATORS: input action name
149
4
        strprintf(N_("Emote Shortcut %d"), 15),
150
        InputAction::EMOTE_15,
151
        "",
152
    },
153
    {
154
        // TRANSLATORS: input action name
155
4
        strprintf(N_("Emote Shortcut %d"), 16),
156
        InputAction::EMOTE_16,
157
        "",
158
    },
159
    {
160
        // TRANSLATORS: input action name
161
4
        strprintf(N_("Emote Shortcut %d"), 17),
162
        InputAction::EMOTE_17,
163
        "",
164
    },
165
    {
166
        // TRANSLATORS: input action name
167
4
        strprintf(N_("Emote Shortcut %d"), 18),
168
        InputAction::EMOTE_18,
169
        "",
170
    },
171
    {
172
        // TRANSLATORS: input action name
173
4
        strprintf(N_("Emote Shortcut %d"), 19),
174
        InputAction::EMOTE_19,
175
        "",
176
    },
177
    {
178
        // TRANSLATORS: input action name
179
4
        strprintf(N_("Emote Shortcut %d"), 20),
180
        InputAction::EMOTE_20,
181
        "",
182
    },
183
    {
184
        // TRANSLATORS: input action name
185
4
        strprintf(N_("Emote Shortcut %d"), 21),
186
        InputAction::EMOTE_21,
187
        "",
188
    },
189
    {
190
        // TRANSLATORS: input action name
191
4
        strprintf(N_("Emote Shortcut %d"), 22),
192
        InputAction::EMOTE_22,
193
        "",
194
    },
195
    {
196
        // TRANSLATORS: input action name
197
4
        strprintf(N_("Emote Shortcut %d"), 23),
198
        InputAction::EMOTE_23,
199
        "",
200
    },
201
    {
202
        // TRANSLATORS: input action name
203
4
        strprintf(N_("Emote Shortcut %d"), 24),
204
        InputAction::EMOTE_24,
205
        "",
206
    },
207
    {
208
        // TRANSLATORS: input action name
209
4
        strprintf(N_("Emote Shortcut %d"), 25),
210
        InputAction::EMOTE_25,
211
        "",
212
    },
213
    {
214
        // TRANSLATORS: input action name
215
4
        strprintf(N_("Emote Shortcut %d"), 26),
216
        InputAction::EMOTE_26,
217
        "",
218
    },
219
    {
220
        // TRANSLATORS: input action name
221
4
        strprintf(N_("Emote Shortcut %d"), 27),
222
        InputAction::EMOTE_27,
223
        "",
224
    },
225
    {
226
        // TRANSLATORS: input action name
227
4
        strprintf(N_("Emote Shortcut %d"), 28),
228
        InputAction::EMOTE_28,
229
        "",
230
    },
231
    {
232
        // TRANSLATORS: input action name
233
4
        strprintf(N_("Emote Shortcut %d"), 29),
234
        InputAction::EMOTE_29,
235
        "",
236
    },
237
    {
238
        // TRANSLATORS: input action name
239
4
        strprintf(N_("Emote Shortcut %d"), 30),
240
        InputAction::EMOTE_30,
241
        "",
242
    },
243
    {
244
        // TRANSLATORS: input action name
245
4
        strprintf(N_("Emote Shortcut %d"), 31),
246
        InputAction::EMOTE_31,
247
        "",
248
    },
249
    {
250
        // TRANSLATORS: input action name
251
4
        strprintf(N_("Emote Shortcut %d"), 32),
252
        InputAction::EMOTE_32,
253
        "",
254
    },
255
    {
256
        // TRANSLATORS: input action name
257
4
        strprintf(N_("Emote Shortcut %d"), 33),
258
        InputAction::EMOTE_33,
259
        "",
260
    },
261
    {
262
        // TRANSLATORS: input action name
263
4
        strprintf(N_("Emote Shortcut %d"), 34),
264
        InputAction::EMOTE_34,
265
        "",
266
    },
267
    {
268
        // TRANSLATORS: input action name
269
4
        strprintf(N_("Emote Shortcut %d"), 35),
270
        InputAction::EMOTE_35,
271
        "",
272
    },
273
    {
274
        // TRANSLATORS: input action name
275
4
        strprintf(N_("Emote Shortcut %d"), 36),
276
        InputAction::EMOTE_36,
277
        "",
278
    },
279
    {
280
        // TRANSLATORS: input action name
281
4
        strprintf(N_("Emote Shortcut %d"), 37),
282
        InputAction::EMOTE_37,
283
        "",
284
    },
285
    {
286
        // TRANSLATORS: input action name
287
4
        strprintf(N_("Emote Shortcut %d"), 38),
288
        InputAction::EMOTE_38,
289
        "",
290
    },
291
    {
292
        // TRANSLATORS: input action name
293
4
        strprintf(N_("Emote Shortcut %d"), 39),
294
        InputAction::EMOTE_39,
295
        "",
296
    },
297
    {
298
        // TRANSLATORS: input action name
299
4
        strprintf(N_("Emote Shortcut %d"), 40),
300
        InputAction::EMOTE_40,
301
        "",
302
    },
303
    {
304
        // TRANSLATORS: input action name
305
4
        strprintf(N_("Emote Shortcut %d"), 41),
306
        InputAction::EMOTE_41,
307
        "",
308
    },
309
    {
310
        // TRANSLATORS: input action name
311
4
        strprintf(N_("Emote Shortcut %d"), 42),
312
        InputAction::EMOTE_42,
313
        "",
314
    },
315
    {
316
        // TRANSLATORS: input action name
317
4
        strprintf(N_("Emote Shortcut %d"), 43),
318
        InputAction::EMOTE_43,
319
        "",
320
    },
321
    {
322
        // TRANSLATORS: input action name
323
4
        strprintf(N_("Emote Shortcut %d"), 44),
324
        InputAction::EMOTE_44,
325
        "",
326
    },
327
    {
328
        // TRANSLATORS: input action name
329
4
        strprintf(N_("Emote Shortcut %d"), 45),
330
        InputAction::EMOTE_45,
331
        "",
332
    },
333
    {
334
        // TRANSLATORS: input action name
335
4
        strprintf(N_("Emote Shortcut %d"), 46),
336
        InputAction::EMOTE_46,
337
        "",
338
    },
339
    {
340
        // TRANSLATORS: input action name
341
4
        strprintf(N_("Emote Shortcut %d"), 47),
342
        InputAction::EMOTE_47,
343
        "",
344
    },
345
    {
346
        // TRANSLATORS: input action name
347
4
        strprintf(N_("Emote Shortcut %d"), 48),
348
        InputAction::EMOTE_48,
349
        "",
350
    },
351
    {
352
        "",
353
        InputAction::NO_VALUE,
354
        ""
355
    },
356
    {
357
        // TRANSLATORS: input action name
358
        N_("Pet emote shortcuts"),
359
        InputAction::NO_VALUE,
360
        ""
361
    },
362
    {
363
        // TRANSLATORS: input action name
364
4
        strprintf(N_("Pet emote shortcut %d"), 1),
365
        InputAction::PET_EMOTE_1,
366
        "",
367
    },
368
    {
369
        // TRANSLATORS: input action name
370
4
        strprintf(N_("Pet emote shortcut %d"), 2),
371
        InputAction::PET_EMOTE_2,
372
        "",
373
    },
374
    {
375
        // TRANSLATORS: input action name
376
4
        strprintf(N_("Pet emote shortcut %d"), 3),
377
        InputAction::PET_EMOTE_3,
378
        "",
379
    },
380
    {
381
        // TRANSLATORS: input action name
382
4
        strprintf(N_("Pet emote shortcut %d"), 4),
383
        InputAction::PET_EMOTE_4,
384
        "",
385
    },
386
    {
387
        // TRANSLATORS: input action name
388
4
        strprintf(N_("Pet emote shortcut %d"), 5),
389
        InputAction::PET_EMOTE_5,
390
        "",
391
    },
392
    {
393
        // TRANSLATORS: input action name
394
4
        strprintf(N_("Pet emote shortcut %d"), 6),
395
        InputAction::PET_EMOTE_6,
396
        "",
397
    },
398
    {
399
        // TRANSLATORS: input action name
400
4
        strprintf(N_("Pet emote shortcut %d"), 7),
401
        InputAction::PET_EMOTE_7,
402
        "",
403
    },
404
    {
405
        // TRANSLATORS: input action name
406
4
        strprintf(N_("Pet emote shortcut %d"), 8),
407
        InputAction::PET_EMOTE_8,
408
        "",
409
    },
410
    {
411
        // TRANSLATORS: input action name
412
4
        strprintf(N_("Pet emote shortcut %d"), 9),
413
        InputAction::PET_EMOTE_9,
414
        "",
415
    },
416
    {
417
        // TRANSLATORS: input action name
418
4
        strprintf(N_("Pet emote shortcut %d"), 10),
419
        InputAction::PET_EMOTE_10,
420
        "",
421
    },
422
    {
423
        // TRANSLATORS: input action name
424
4
        strprintf(N_("Pet emote shortcut %d"), 11),
425
        InputAction::PET_EMOTE_11,
426
        "",
427
    },
428
    {
429
        // TRANSLATORS: input action name
430
4
        strprintf(N_("Pet emote shortcut %d"), 12),
431
        InputAction::PET_EMOTE_12,
432
        "",
433
    },
434
    {
435
        // TRANSLATORS: input action name
436
4
        strprintf(N_("Pet emote shortcut %d"), 13),
437
        InputAction::PET_EMOTE_13,
438
        "",
439
    },
440
    {
441
        // TRANSLATORS: input action name
442
4
        strprintf(N_("Pet emote shortcut %d"), 14),
443
        InputAction::PET_EMOTE_14,
444
        "",
445
    },
446
    {
447
        // TRANSLATORS: input action name
448
4
        strprintf(N_("Pet emote shortcut %d"), 15),
449
        InputAction::PET_EMOTE_15,
450
        "",
451
    },
452
    {
453
        // TRANSLATORS: input action name
454
4
        strprintf(N_("Pet emote shortcut %d"), 16),
455
        InputAction::PET_EMOTE_16,
456
        "",
457
    },
458
    {
459
        // TRANSLATORS: input action name
460
4
        strprintf(N_("Pet emote shortcut %d"), 17),
461
        InputAction::PET_EMOTE_17,
462
        "",
463
    },
464
    {
465
        // TRANSLATORS: input action name
466
4
        strprintf(N_("Pet emote shortcut %d"), 18),
467
        InputAction::PET_EMOTE_18,
468
        "",
469
    },
470
    {
471
        // TRANSLATORS: input action name
472
4
        strprintf(N_("Pet emote shortcut %d"), 19),
473
        InputAction::PET_EMOTE_19,
474
        "",
475
    },
476
    {
477
        // TRANSLATORS: input action name
478
4
        strprintf(N_("Pet emote shortcut %d"), 20),
479
        InputAction::PET_EMOTE_20,
480
        "",
481
    },
482
    {
483
        // TRANSLATORS: input action name
484
4
        strprintf(N_("Pet emote shortcut %d"), 21),
485
        InputAction::PET_EMOTE_21,
486
        "",
487
    },
488
    {
489
        // TRANSLATORS: input action name
490
4
        strprintf(N_("Pet emote shortcut %d"), 22),
491
        InputAction::PET_EMOTE_22,
492
        "",
493
    },
494
    {
495
        // TRANSLATORS: input action name
496
4
        strprintf(N_("Pet emote shortcut %d"), 23),
497
        InputAction::PET_EMOTE_23,
498
        "",
499
    },
500
    {
501
        // TRANSLATORS: input action name
502
4
        strprintf(N_("Pet emote shortcut %d"), 24),
503
        InputAction::PET_EMOTE_24,
504
        "",
505
    },
506
    {
507
        // TRANSLATORS: input action name
508
4
        strprintf(N_("Pet emote shortcut %d"), 25),
509
        InputAction::PET_EMOTE_25,
510
        "",
511
    },
512
    {
513
        // TRANSLATORS: input action name
514
4
        strprintf(N_("Pet emote shortcut %d"), 26),
515
        InputAction::PET_EMOTE_26,
516
        "",
517
    },
518
    {
519
        // TRANSLATORS: input action name
520
4
        strprintf(N_("Pet emote shortcut %d"), 27),
521
        InputAction::PET_EMOTE_27,
522
        "",
523
    },
524
    {
525
        // TRANSLATORS: input action name
526
4
        strprintf(N_("Pet emote shortcut %d"), 28),
527
        InputAction::PET_EMOTE_28,
528
        "",
529
    },
530
    {
531
        // TRANSLATORS: input action name
532
4
        strprintf(N_("Pet emote shortcut %d"), 29),
533
        InputAction::PET_EMOTE_29,
534
        "",
535
    },
536
    {
537
        // TRANSLATORS: input action name
538
4
        strprintf(N_("Pet emote shortcut %d"), 30),
539
        InputAction::PET_EMOTE_30,
540
        "",
541
    },
542
    {
543
        // TRANSLATORS: input action name
544
4
        strprintf(N_("Pet emote shortcut %d"), 31),
545
        InputAction::PET_EMOTE_31,
546
        "",
547
    },
548
    {
549
        // TRANSLATORS: input action name
550
4
        strprintf(N_("Pet emote shortcut %d"), 32),
551
        InputAction::PET_EMOTE_32,
552
        "",
553
    },
554
    {
555
        // TRANSLATORS: input action name
556
4
        strprintf(N_("Pet emote shortcut %d"), 33),
557
        InputAction::PET_EMOTE_33,
558
        "",
559
    },
560
    {
561
        // TRANSLATORS: input action name
562
4
        strprintf(N_("Pet emote shortcut %d"), 34),
563
        InputAction::PET_EMOTE_34,
564
        "",
565
    },
566
    {
567
        // TRANSLATORS: input action name
568
4
        strprintf(N_("Pet emote shortcut %d"), 35),
569
        InputAction::PET_EMOTE_35,
570
        "",
571
    },
572
    {
573
        // TRANSLATORS: input action name
574
4
        strprintf(N_("Pet emote shortcut %d"), 36),
575
        InputAction::PET_EMOTE_36,
576
        "",
577
    },
578
    {
579
        // TRANSLATORS: input action name
580
4
        strprintf(N_("Pet emote shortcut %d"), 37),
581
        InputAction::PET_EMOTE_37,
582
        "",
583
    },
584
    {
585
        // TRANSLATORS: input action name
586
4
        strprintf(N_("Pet emote shortcut %d"), 38),
587
        InputAction::PET_EMOTE_38,
588
        "",
589
    },
590
    {
591
        // TRANSLATORS: input action name
592
4
        strprintf(N_("Pet emote shortcut %d"), 39),
593
        InputAction::PET_EMOTE_39,
594
        "",
595
    },
596
    {
597
        // TRANSLATORS: input action name
598
4
        strprintf(N_("Pet emote shortcut %d"), 40),
599
        InputAction::PET_EMOTE_40,
600
        "",
601
    },
602
    {
603
        // TRANSLATORS: input action name
604
4
        strprintf(N_("Pet emote shortcut %d"), 41),
605
        InputAction::PET_EMOTE_41,
606
        "",
607
    },
608
    {
609
        // TRANSLATORS: input action name
610
4
        strprintf(N_("Pet emote shortcut %d"), 42),
611
        InputAction::PET_EMOTE_42,
612
        "",
613
    },
614
    {
615
        // TRANSLATORS: input action name
616
4
        strprintf(N_("Pet emote shortcut %d"), 43),
617
        InputAction::PET_EMOTE_43,
618
        "",
619
    },
620
    {
621
        // TRANSLATORS: input action name
622
4
        strprintf(N_("Pet emote shortcut %d"), 44),
623
        InputAction::PET_EMOTE_44,
624
        "",
625
    },
626
    {
627
        // TRANSLATORS: input action name
628
4
        strprintf(N_("Pet emote shortcut %d"), 45),
629
        InputAction::PET_EMOTE_45,
630
        "",
631
    },
632
    {
633
        // TRANSLATORS: input action name
634
4
        strprintf(N_("Pet emote shortcut %d"), 46),
635
        InputAction::PET_EMOTE_46,
636
        "",
637
    },
638
    {
639
        // TRANSLATORS: input action name
640
4
        strprintf(N_("Pet emote shortcut %d"), 47),
641
        InputAction::PET_EMOTE_47,
642
        "",
643
    },
644
    {
645
        // TRANSLATORS: input action name
646
4
        strprintf(N_("Pet emote shortcut %d"), 48),
647
        InputAction::PET_EMOTE_48,
648
        "",
649
    },
650
    {
651
        "",
652
        InputAction::NO_VALUE,
653
        ""
654
    },
655













































































































874
};