GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/shortcuts.cpp Lines: 22 22 100.0 %
Date: 2021-03-17 Branches: 76 152 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 setupActionDataShortcuts[] =
33
{
34
    {
35
        // TRANSLATORS: input action name
36
        N_("Shortcuts modifiers keys"),
37
        InputAction::NO_VALUE,
38
        ""
39
    },
40
    {
41
        // TRANSLATORS: input action name
42
        N_("Item Shortcuts Key"),
43
        InputAction::SHORTCUTS_KEY,
44
        "",
45
    },
46
    {
47
        // TRANSLATORS: input action name
48
        N_("Shortcuts keys"),
49
        InputAction::NO_VALUE,
50
        ""
51
    },
52
    {
53
        // TRANSLATORS: input action name
54
2
        strprintf(N_("Item Shortcut %d"), 1),
55
        InputAction::SHORTCUT_1,
56
        "",
57
    },
58
    {
59
        // TRANSLATORS: input action name
60
2
        strprintf(N_("Item Shortcut %d"), 2),
61
        InputAction::SHORTCUT_2,
62
        "",
63
    },
64
    {
65
        // TRANSLATORS: input action name
66
2
        strprintf(N_("Item Shortcut %d"), 3),
67
        InputAction::SHORTCUT_3,
68
        "",
69
    },
70
    {
71
        // TRANSLATORS: input action name
72
2
        strprintf(N_("Item Shortcut %d"), 4),
73
        InputAction::SHORTCUT_4,
74
        "",
75
    },
76
    {
77
        // TRANSLATORS: input action name
78
2
        strprintf(N_("Item Shortcut %d"), 5),
79
        InputAction::SHORTCUT_5,
80
        "",
81
    },
82
    {
83
        // TRANSLATORS: input action name
84
2
        strprintf(N_("Item Shortcut %d"), 6),
85
        InputAction::SHORTCUT_6,
86
        "",
87
    },
88
    {
89
        // TRANSLATORS: input action name
90
2
        strprintf(N_("Item Shortcut %d"), 7),
91
        InputAction::SHORTCUT_7,
92
        "",
93
    },
94
    {
95
        // TRANSLATORS: input action name
96
2
        strprintf(N_("Item Shortcut %d"), 8),
97
        InputAction::SHORTCUT_8,
98
        "",
99
    },
100
    {
101
        // TRANSLATORS: input action name
102
2
        strprintf(N_("Item Shortcut %d"), 9),
103
        InputAction::SHORTCUT_9,
104
        "",
105
    },
106
    {
107
        // TRANSLATORS: input action name
108
2
        strprintf(N_("Item Shortcut %d"), 10),
109
        InputAction::SHORTCUT_10,
110
        "",
111
    },
112
    {
113
        // TRANSLATORS: input action name
114
2
        strprintf(N_("Item Shortcut %d"), 11),
115
        InputAction::SHORTCUT_11,
116
        "",
117
    },
118
    {
119
        // TRANSLATORS: input action name
120
2
        strprintf(N_("Item Shortcut %d"), 12),
121
        InputAction::SHORTCUT_12,
122
        "",
123
    },
124
    {
125
        // TRANSLATORS: input action name
126
2
        strprintf(N_("Item Shortcut %d"), 13),
127
        InputAction::SHORTCUT_13,
128
        "",
129
    },
130
    {
131
        // TRANSLATORS: input action name
132
2
        strprintf(N_("Item Shortcut %d"), 14),
133
        InputAction::SHORTCUT_14,
134
        "",
135
    },
136
    {
137
        // TRANSLATORS: input action name
138
2
        strprintf(N_("Item Shortcut %d"), 15),
139
        InputAction::SHORTCUT_15,
140
        "",
141
    },
142
    {
143
        // TRANSLATORS: input action name
144
2
        strprintf(N_("Item Shortcut %d"), 16),
145
        InputAction::SHORTCUT_16,
146
        "",
147
    },
148
    {
149
        // TRANSLATORS: input action name
150
2
        strprintf(N_("Item Shortcut %d"), 17),
151
        InputAction::SHORTCUT_17,
152
        "",
153
    },
154
    {
155
        // TRANSLATORS: input action name
156
2
        strprintf(N_("Item Shortcut %d"), 18),
157
        InputAction::SHORTCUT_18,
158
        "",
159
    },
160
    {
161
        // TRANSLATORS: input action name
162
2
        strprintf(N_("Item Shortcut %d"), 19),
163
        InputAction::SHORTCUT_19,
164
        "",
165
    },
166
    {
167
        // TRANSLATORS: input action name
168
2
        strprintf(N_("Item Shortcut %d"), 20),
169
        InputAction::SHORTCUT_20,
170
        "",
171
    },
172
    {
173
        "",
174
        InputAction::NO_VALUE,
175
        ""
176
    }
177



























108
};