GCC Code Coverage Report
Directory: src/ Exec Total Coverage
File: src/input/pages/chat.cpp Lines: 2 2 100.0 %
Date: 2017-11-29 Branches: 121 242 50.0 %

Line Branch Exec Source
1
/*
2
 *  The ManaPlus Client
3
 *  Copyright (C) 2011-2017  The ManaPlus Developers
4
 *
5
 *  This file is part of The ManaPlus Client.
6
 *
7
 *  This program is free software; you can redistribute it and/or modify
8
 *  it under the terms of the GNU General Public License as published by
9
 *  the Free Software Foundation; either version 2 of the License, or
10
 *  any later version.
11
 *
12
 *  This program is distributed in the hope that it will be useful,
13
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 *  GNU General Public License for more details.
16
 *
17
 *  You should have received a copy of the GNU General Public License
18
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 */
20
21
#include "gui/setupactiondata.h"
22
23
#include "utils/gettext.h"
24
25
#include "debug.h"
26
27
4
SetupActionData setupActionDataChat[] =
28
{
29
    {
30
        // TRANSLATORS: input action group
31
        N_("Main"),
32
        InputAction::NO_VALUE,
33
        "",
34
    },
35
    {
36
        // TRANSLATORS: input action name
37
        N_("Toggle Chat"),
38
        InputAction::TOGGLE_CHAT,
39
        "",
40
    },
41
    {
42
        // TRANSLATORS: input action name
43
        N_("Chat modifier key"),
44
        InputAction::CHAT_MOD,
45
        "",
46
    },
47
    {
48
        // TRANSLATORS: input action name
49
        N_("Scroll Chat Up"),
50
        InputAction::SCROLL_CHAT_UP,
51
        "",
52
    },
53
    {
54
        // TRANSLATORS: input action name
55
        N_("Scroll Chat Down"),
56
        InputAction::SCROLL_CHAT_DOWN,
57
        "",
58
    },
59
    {
60
        // TRANSLATORS: input action group
61
        N_("Tabs"),
62
        InputAction::NO_VALUE,
63
        "",
64
    },
65
    {
66
        // TRANSLATORS: input action name
67
        N_("Previous Chat Tab"),
68
        InputAction::PREV_CHAT_TAB,
69
        "",
70
    },
71
    {
72
        // TRANSLATORS: input action name
73
        N_("Next Chat Tab"),
74
        InputAction::NEXT_CHAT_TAB,
75
        "",
76
    },
77
    {
78
        // TRANSLATORS: input action name
79
        N_("Clear current chat tab"),
80
        InputAction::CLEAR_CHAT_TAB,
81
        "",
82
    },
83
    {
84
        // TRANSLATORS: input action name
85
        N_("Close current Chat Tab"),
86
        InputAction::CLOSE_CHAT_TAB,
87
        "",
88
    },
89
    {
90
        // TRANSLATORS: input action name
91
        N_("Close all chat tabs"),
92
        InputAction::CLOSE_ALL_CHAT_TABS,
93
        "",
94
    },
95
    {
96
        // TRANSLATORS: input action name
97
        N_("Select general tab"),
98
        InputAction::CHAT_GENERAL_TAB,
99
        "",
100
    },
101
    {
102
        // TRANSLATORS: input action name
103
        N_("Select debug tab"),
104
        InputAction::CHAT_DEBUG_TAB,
105
        "",
106
    },
107
    {
108
        // TRANSLATORS: input action name
109
        N_("Select trade tab"),
110
        InputAction::CHAT_TRADE_TAB,
111
        "",
112
    },
113
    {
114
        // TRANSLATORS: input action name
115
        N_("Select battle tab"),
116
        InputAction::CHAT_BATTLE_TAB,
117
        "",
118
    },
119
    {
120
        // TRANSLATORS: input action name
121
        N_("Select gm tab"),
122
        InputAction::CHAT_GM_TAB,
123
        "",
124
    },
125
    {
126
        // TRANSLATORS: input action name
127
        N_("Select lang tab"),
128
        InputAction::CHAT_LANG_TAB,
129
        "",
130
    },
131
    {
132
        // TRANSLATORS: input action name
133
        N_("Select party tab"),
134
        InputAction::CHAT_PARTY_TAB,
135
        "",
136
    },
137
    {
138
        // TRANSLATORS: input action name
139
        N_("Select guild tab"),
140
        InputAction::CHAT_GUILD_TAB,
141
        "",
142
    },
143
    {
144
        // TRANSLATORS: input action group
145
        N_("Other"),
146
        InputAction::NO_VALUE,
147
        "",
148
    },
149
    {
150
        // TRANSLATORS: input action name
151
        N_("Ignore all whispers"),
152
        InputAction::IGNORE_ALL_WHISPERS,
153
        "",
154
    },
155
    {
156
        // TRANSLATORS: input action name
157
        N_("Ignore all whispers on server side"),
158
        InputAction::SERVER_IGNORE_ALL,
159
        "",
160
    },
161
    {
162
        // TRANSLATORS: input action name
163
        N_("Unignore all whispers on server side"),
164
        InputAction::SERVER_UNIGNORE_ALL,
165
        "",
166
    },
167
    {
168
        // TRANSLATORS: input action name
169
        N_("Previous chat line"),
170
        InputAction::CHAT_PREV_HISTORY,
171
        "",
172
    },
173
    {
174
        // TRANSLATORS: input action name
175
        N_("Next chat line"),
176
        InputAction::CHAT_NEXT_HISTORY,
177
        "",
178
    },
179
    {
180
        // TRANSLATORS: input action group
181
        N_("Smiles"),
182
        InputAction::NO_VALUE,
183
        "",
184
    },
185
    {
186
        // TRANSLATORS: input action name
187
        N_("Show smiles"),
188
        InputAction::GUI_F1,
189
        "",
190
    },
191
    {
192
        "F2",
193
        InputAction::GUI_F2,
194
        "",
195
    },
196
    {
197
        "F3",
198
        InputAction::GUI_F3,
199
        "",
200
    },
201
    {
202
        "F4",
203
        InputAction::GUI_F4,
204
        "",
205
    },
206
    {
207
        "F5",
208
        InputAction::GUI_F5,
209
        "",
210
    },
211
    {
212
        "F6",
213
        InputAction::GUI_F6,
214
        "",
215
    },
216
    {
217
        "F7",
218
        InputAction::GUI_F7,
219
        "",
220
    },
221
    {
222
        "F8",
223
        InputAction::GUI_F8,
224
        "",
225
    },
226
    {
227
        "F9",
228
        InputAction::GUI_F9,
229
        "",
230
    },
231
    {
232
        "F10",
233
        InputAction::GUI_F10,
234
        "",
235
    },
236
    {
237
        "F11",
238
        InputAction::GUI_F11,
239
        "",
240
    },
241
    {
242
        "F12",
243
        InputAction::GUI_F12,
244
        "",
245
    },
246
    {
247
        "",
248
        InputAction::NO_VALUE,
249
        ""
250
    }
251




























































474
};