GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/outfits.cpp Lines: 50 50 100.0 %
Date: 2021-03-17 Branches: 175 350 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
#include "utils/stringutils.h"
29
30
#include "debug.h"
31
32
2
SetupActionData setupActionDataOutfits[] =
33
{
34
    {
35
        // TRANSLATORS: input action name
36
        N_("Outfits keys"),
37
        InputAction::NO_VALUE,
38
        ""
39
    },
40
    {
41
        // TRANSLATORS: input action name
42
        N_("Wear outfit"),
43
        InputAction::WEAR_OUTFIT,
44
        "",
45
    },
46
    {
47
        // TRANSLATORS: input action name
48
        N_("Clear outfit"),
49
        InputAction::CLEAR_OUTFIT,
50
        "",
51
    },
52
    {
53
        // TRANSLATORS: input action name
54
        N_("Copy Outfit to other outfit"),
55
        InputAction::COPY_OUTFIT,
56
        "",
57
    },
58
    {
59
        // TRANSLATORS: input action name
60
        N_("Copy outfit to chat"),
61
        InputAction::COPY_OUTFIT_TO_CHAT,
62
        "",
63
    },
64
    {
65
        // TRANSLATORS: input action name
66
        N_("Copy equipped to outfit"),
67
        InputAction::COPY_EQUIPED_OUTFIT,
68
        "",
69
    },
70
    {
71
        // TRANSLATORS: input action name
72
        N_("Show hat in chat"),
73
        InputAction::HAT,
74
        "",
75
    },
76
    {
77
        // TRANSLATORS: input action name
78
        N_("Outfits shortcuts"),
79
        InputAction::NO_VALUE,
80
        ""
81
    },
82
    {
83
        // TRANSLATORS: input action name
84
2
        strprintf(N_("Outfit Shortcut %d"), 1),
85
        InputAction::OUTFIT_1,
86
        "",
87
    },
88
    {
89
        // TRANSLATORS: input action name
90
2
        strprintf(N_("Outfit Shortcut %d"), 2),
91
        InputAction::OUTFIT_2,
92
        "",
93
    },
94
    {
95
        // TRANSLATORS: input action name
96
2
        strprintf(N_("Outfit Shortcut %d"), 3),
97
        InputAction::OUTFIT_3,
98
        "",
99
    },
100
    {
101
        // TRANSLATORS: input action name
102
2
        strprintf(N_("Outfit Shortcut %d"), 4),
103
        InputAction::OUTFIT_4,
104
        "",
105
    },
106
    {
107
        // TRANSLATORS: input action name
108
2
        strprintf(N_("Outfit Shortcut %d"), 5),
109
        InputAction::OUTFIT_5,
110
        "",
111
    },
112
    {
113
        // TRANSLATORS: input action name
114
2
        strprintf(N_("Outfit Shortcut %d"), 6),
115
        InputAction::OUTFIT_6,
116
        "",
117
    },
118
    {
119
        // TRANSLATORS: input action name
120
2
        strprintf(N_("Outfit Shortcut %d"), 7),
121
        InputAction::OUTFIT_7,
122
        "",
123
    },
124
    {
125
        // TRANSLATORS: input action name
126
2
        strprintf(N_("Outfit Shortcut %d"), 8),
127
        InputAction::OUTFIT_8,
128
        "",
129
    },
130
    {
131
        // TRANSLATORS: input action name
132
2
        strprintf(N_("Outfit Shortcut %d"), 9),
133
        InputAction::OUTFIT_9,
134
        "",
135
    },
136
    {
137
        // TRANSLATORS: input action name
138
2
        strprintf(N_("Outfit Shortcut %d"), 10),
139
        InputAction::OUTFIT_10,
140
        "",
141
    },
142
    {
143
        // TRANSLATORS: input action name
144
2
        strprintf(N_("Outfit Shortcut %d"), 11),
145
        InputAction::OUTFIT_11,
146
        "",
147
    },
148
    {
149
        // TRANSLATORS: input action name
150
2
        strprintf(N_("Outfit Shortcut %d"), 12),
151
        InputAction::OUTFIT_12,
152
        "",
153
    },
154
    {
155
        // TRANSLATORS: input action name
156
2
        strprintf(N_("Outfit Shortcut %d"), 13),
157
        InputAction::OUTFIT_13,
158
        "",
159
    },
160
    {
161
        // TRANSLATORS: input action name
162
2
        strprintf(N_("Outfit Shortcut %d"), 14),
163
        InputAction::OUTFIT_14,
164
        "",
165
    },
166
    {
167
        // TRANSLATORS: input action name
168
2
        strprintf(N_("Outfit Shortcut %d"), 15),
169
        InputAction::OUTFIT_15,
170
        "",
171
    },
172
    {
173
        // TRANSLATORS: input action name
174
2
        strprintf(N_("Outfit Shortcut %d"), 16),
175
        InputAction::OUTFIT_16,
176
        "",
177
    },
178
    {
179
        // TRANSLATORS: input action name
180
2
        strprintf(N_("Outfit Shortcut %d"), 17),
181
        InputAction::OUTFIT_17,
182
        "",
183
    },
184
    {
185
        // TRANSLATORS: input action name
186
2
        strprintf(N_("Outfit Shortcut %d"), 18),
187
        InputAction::OUTFIT_18,
188
        "",
189
    },
190
    {
191
        // TRANSLATORS: input action name
192
2
        strprintf(N_("Outfit Shortcut %d"), 19),
193
        InputAction::OUTFIT_19,
194
        "",
195
    },
196
    {
197
        // TRANSLATORS: input action name
198
2
        strprintf(N_("Outfit Shortcut %d"), 20),
199
        InputAction::OUTFIT_20,
200
        "",
201
    },
202
    {
203
        // TRANSLATORS: input action name
204
2
        strprintf(N_("Outfit Shortcut %d"), 21),
205
        InputAction::OUTFIT_21,
206
        "",
207
    },
208
    {
209
        // TRANSLATORS: input action name
210
2
        strprintf(N_("Outfit Shortcut %d"), 22),
211
        InputAction::OUTFIT_22,
212
        "",
213
    },
214
    {
215
        // TRANSLATORS: input action name
216
2
        strprintf(N_("Outfit Shortcut %d"), 23),
217
        InputAction::OUTFIT_23,
218
        "",
219
    },
220
    {
221
        // TRANSLATORS: input action name
222
2
        strprintf(N_("Outfit Shortcut %d"), 24),
223
        InputAction::OUTFIT_24,
224
        "",
225
    },
226
    {
227
        // TRANSLATORS: input action name
228
2
        strprintf(N_("Outfit Shortcut %d"), 25),
229
        InputAction::OUTFIT_25,
230
        "",
231
    },
232
    {
233
        // TRANSLATORS: input action name
234
2
        strprintf(N_("Outfit Shortcut %d"), 26),
235
        InputAction::OUTFIT_26,
236
        "",
237
    },
238
    {
239
        // TRANSLATORS: input action name
240
2
        strprintf(N_("Outfit Shortcut %d"), 27),
241
        InputAction::OUTFIT_27,
242
        "",
243
    },
244
    {
245
        // TRANSLATORS: input action name
246
2
        strprintf(N_("Outfit Shortcut %d"), 28),
247
        InputAction::OUTFIT_28,
248
        "",
249
    },
250
    {
251
        // TRANSLATORS: input action name
252
2
        strprintf(N_("Outfit Shortcut %d"), 29),
253
        InputAction::OUTFIT_29,
254
        "",
255
    },
256
    {
257
        // TRANSLATORS: input action name
258
2
        strprintf(N_("Outfit Shortcut %d"), 30),
259
        InputAction::OUTFIT_30,
260
        "",
261
    },
262
    {
263
        // TRANSLATORS: input action name
264
2
        strprintf(N_("Outfit Shortcut %d"), 31),
265
        InputAction::OUTFIT_31,
266
        "",
267
    },
268
    {
269
        // TRANSLATORS: input action name
270
2
        strprintf(N_("Outfit Shortcut %d"), 32),
271
        InputAction::OUTFIT_32,
272
        "",
273
    },
274
    {
275
        // TRANSLATORS: input action name
276
2
        strprintf(N_("Outfit Shortcut %d"), 33),
277
        InputAction::OUTFIT_33,
278
        "",
279
    },
280
    {
281
        // TRANSLATORS: input action name
282
2
        strprintf(N_("Outfit Shortcut %d"), 34),
283
        InputAction::OUTFIT_34,
284
        "",
285
    },
286
    {
287
        // TRANSLATORS: input action name
288
2
        strprintf(N_("Outfit Shortcut %d"), 35),
289
        InputAction::OUTFIT_35,
290
        "",
291
    },
292
    {
293
        // TRANSLATORS: input action name
294
2
        strprintf(N_("Outfit Shortcut %d"), 36),
295
        InputAction::OUTFIT_36,
296
        "",
297
    },
298
    {
299
        // TRANSLATORS: input action name
300
2
        strprintf(N_("Outfit Shortcut %d"), 37),
301
        InputAction::OUTFIT_37,
302
        "",
303
    },
304
    {
305
        // TRANSLATORS: input action name
306
2
        strprintf(N_("Outfit Shortcut %d"), 38),
307
        InputAction::OUTFIT_38,
308
        "",
309
    },
310
    {
311
        // TRANSLATORS: input action name
312
2
        strprintf(N_("Outfit Shortcut %d"), 39),
313
        InputAction::OUTFIT_39,
314
        "",
315
    },
316
    {
317
        // TRANSLATORS: input action name
318
2
        strprintf(N_("Outfit Shortcut %d"), 40),
319
        InputAction::OUTFIT_40,
320
        "",
321
    },
322
    {
323
        // TRANSLATORS: input action name
324
2
        strprintf(N_("Outfit Shortcut %d"), 41),
325
        InputAction::OUTFIT_41,
326
        "",
327
    },
328
    {
329
        // TRANSLATORS: input action name
330
2
        strprintf(N_("Outfit Shortcut %d"), 42),
331
        InputAction::OUTFIT_42,
332
        "",
333
    },
334
    {
335
        // TRANSLATORS: input action name
336
2
        strprintf(N_("Outfit Shortcut %d"), 43),
337
        InputAction::OUTFIT_43,
338
        "",
339
    },
340
    {
341
        // TRANSLATORS: input action name
342
2
        strprintf(N_("Outfit Shortcut %d"), 44),
343
        InputAction::OUTFIT_44,
344
        "",
345
    },
346
    {
347
        // TRANSLATORS: input action name
348
2
        strprintf(N_("Outfit Shortcut %d"), 45),
349
        InputAction::OUTFIT_45,
350
        "",
351
    },
352
    {
353
        // TRANSLATORS: input action name
354
2
        strprintf(N_("Outfit Shortcut %d"), 46),
355
        InputAction::OUTFIT_46,
356
        "",
357
    },
358
    {
359
        // TRANSLATORS: input action name
360
2
        strprintf(N_("Outfit Shortcut %d"), 47),
361
        InputAction::OUTFIT_47,
362
        "",
363
    },
364
    {
365
        // TRANSLATORS: input action name
366
2
        strprintf(N_("Outfit Shortcut %d"), 48),
367
        InputAction::OUTFIT_48,
368
        "",
369
    },
370
    {
371
        "",
372
        InputAction::NO_VALUE,
373
        ""
374
    }
375































































250
};