ManaPlus
src
input
pages
chat.cpp
Go to the documentation of this file.
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
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
};
debug.h
gettext.h
N_
#define N_(s)
Definition:
gettext.h:36
setupActionDataChat
SetupActionData setupActionDataChat[]
Definition:
chat.cpp:28
InputAction::CHAT_GUILD_TAB
@ CHAT_GUILD_TAB
Definition:
inputaction.h:539
InputAction::CHAT_GM_TAB
@ CHAT_GM_TAB
Definition:
inputaction.h:537
InputAction::SERVER_UNIGNORE_ALL
@ SERVER_UNIGNORE_ALL
Definition:
inputaction.h:405
InputAction::SCROLL_CHAT_UP
@ SCROLL_CHAT_UP
Definition:
inputaction.h:264
InputAction::CHAT_LANG_TAB
@ CHAT_LANG_TAB
Definition:
inputaction.h:536
InputAction::GUI_F5
@ GUI_F5
Definition:
inputaction.h:340
InputAction::TOGGLE_CHAT
@ TOGGLE_CHAT
Definition:
inputaction.h:263
InputAction::CHAT_DEBUG_TAB
@ CHAT_DEBUG_TAB
Definition:
inputaction.h:533
InputAction::PREV_CHAT_TAB
@ PREV_CHAT_TAB
Definition:
inputaction.h:266
InputAction::CHAT_NEXT_HISTORY
@ CHAT_NEXT_HISTORY
Definition:
inputaction.h:270
InputAction::SERVER_IGNORE_ALL
@ SERVER_IGNORE_ALL
Definition:
inputaction.h:404
InputAction::CHAT_TRADE_TAB
@ CHAT_TRADE_TAB
Definition:
inputaction.h:535
InputAction::CLOSE_CHAT_TAB
@ CLOSE_CHAT_TAB
Definition:
inputaction.h:268
InputAction::CHAT_PREV_HISTORY
@ CHAT_PREV_HISTORY
Definition:
inputaction.h:269
InputAction::SCROLL_CHAT_DOWN
@ SCROLL_CHAT_DOWN
Definition:
inputaction.h:265
InputAction::GUI_F9
@ GUI_F9
Definition:
inputaction.h:344
InputAction::GUI_F7
@ GUI_F7
Definition:
inputaction.h:342
InputAction::CLEAR_CHAT_TAB
@ CLEAR_CHAT_TAB
Definition:
inputaction.h:359
InputAction::CHAT_MOD
@ CHAT_MOD
Definition:
inputaction.h:318
InputAction::IGNORE_ALL_WHISPERS
@ IGNORE_ALL_WHISPERS
Definition:
inputaction.h:352
InputAction::CHAT_BATTLE_TAB
@ CHAT_BATTLE_TAB
Definition:
inputaction.h:534
InputAction::GUI_F3
@ GUI_F3
Definition:
inputaction.h:338
InputAction::GUI_F6
@ GUI_F6
Definition:
inputaction.h:341
InputAction::CHAT_GENERAL_TAB
@ CHAT_GENERAL_TAB
Definition:
inputaction.h:532
InputAction::CLOSE_ALL_CHAT_TABS
@ CLOSE_ALL_CHAT_TABS
Definition:
inputaction.h:351
InputAction::GUI_F4
@ GUI_F4
Definition:
inputaction.h:339
InputAction::CHAT_PARTY_TAB
@ CHAT_PARTY_TAB
Definition:
inputaction.h:538
InputAction::GUI_F12
@ GUI_F12
Definition:
inputaction.h:347
InputAction::GUI_F10
@ GUI_F10
Definition:
inputaction.h:345
InputAction::GUI_F1
@ GUI_F1
Definition:
inputaction.h:336
InputAction::GUI_F11
@ GUI_F11
Definition:
inputaction.h:346
InputAction::GUI_F2
@ GUI_F2
Definition:
inputaction.h:337
InputAction::GUI_F8
@ GUI_F8
Definition:
inputaction.h:343
InputAction::NO_VALUE
@ NO_VALUE
Definition:
inputaction.h:44
InputAction::NEXT_CHAT_TAB
@ NEXT_CHAT_TAB
Definition:
inputaction.h:267
setupactiondata.h
SetupActionData
Definition:
setupactiondata.h:35
Generated on Wed Mar 17 2021 19:19:08 for ManaPlus by
1.9.1