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



























216
};