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

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




























































237
};