-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathTranslations.lua
More file actions
382 lines (369 loc) · 17.1 KB
/
Copy pathTranslations.lua
File metadata and controls
382 lines (369 loc) · 17.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
local addonName = ...
_G["MultiLanguageTranslations"] = {}
local translationsFrame = CreateFrame("Frame")
local function addonLoaded(self, event, addonLoadedName)
if addonLoadedName == addonName then
_G["MultiLanguageTranslations"]["en"] = {
description = "Description",
objectives = "Quest Objectives",
options = {
generalOptionsTitle = "General options",
languageDropdownLabel = "Select language:",
interactionDropdownLabel = "Select interaction:",
registerHotkeyDescriptionText = "Register Hotkey (right-click to unbind):",
registerHotkeyNotBoundText = "Not bound",
registerHotkeyPressButtonText = "Press button..",
questOptionsTitle = "Quest options",
questDisplayModeText = "Select quest display mode:",
itemOptionsTitle = "Item options",
spellOptionsTitle = "Spell options",
npcOptionsTitle = "Npc options",
enableText = "Enable",
onlyDisplayNameText = "Only display name",
languages = {
en = "English",
es = "Spanish",
fr = "French",
de = "German",
pt = "Portuguese",
ru = "Russian",
ko = "Korean",
cn = "Chinese (simplified)",
mx = "Spanish (Mexico)",
tw = 'Chinese (traditional)'
},
interactionModes = {
hover = "Hover",
["hover-hotkey"] = "Hover + hotkey",
always = "Always show"
}
}
}
_G["MultiLanguageTranslations"]["es"] = {
description = "Descripción",
objectives = "Objetivos de la misión",
options = {
generalOptionsTitle = "Opciones generales",
languageDropdownLabel = "Seleccionar idioma:",
interactionDropdownLabel = "Seleccionar interacción:",
registerHotkeyDescriptionText = "Registrar tecla de acceso rápido (clic derecho para desasignar):",
registerHotkeyNotBoundText = "No asignado",
registerHotkeyPressButtonText = "Presiona el botón...",
questOptionsTitle = "Opciones de misión",
questDisplayModeText = "Seleccionar modo de visualización de la misión:",
itemOptionsTitle = "Opciones de objeto",
spellOptionsTitle = "Opciones de hechizo",
npcOptionsTitle = "Opciones de NPC",
enableText = "Habilitar",
onlyDisplayNameText = "Mostrar solo el nombre",
languages = {
en = "Inglés",
es = "Español",
fr = "Francés",
de = "Alemán",
pt = "Portugués",
ru = "Ruso",
ko = "Coreano",
cn = "Chino (simplificado)",
mx = "Español (México)",
tw = "Chino (tradicional)"
},
interactionModes = {
hover = "Pasar el cursor",
["hover-hotkey"] = "Pasar el cursor + tecla de acceso rápido",
always = "Mostrar siempre"
}
}
}
_G["MultiLanguageTranslations"]["de"] = {
description = "Beschreibung",
objectives = "Quest-Ziele",
options = {
generalOptionsTitle = "Allgemeine Optionen",
languageDropdownLabel = "Sprache auswählen:",
interactionDropdownLabel = "Interaktion auswählen:",
registerHotkeyDescriptionText = "Hotkey registrieren (Rechtsklick zum Aufheben der Bindung):",
registerHotkeyNotBoundText = "Nicht zugewiesen",
registerHotkeyPressButtonText = "Taste drücken...",
questOptionsTitle = "Quest-Optionen",
questDisplayModeText = "Quest-Anzeigemodus auswählen:",
itemOptionsTitle = "Gegenstandsoptionen",
spellOptionsTitle = "Zauberoptionen",
npcOptionsTitle = "NPC-Optionen",
enableText = "Aktivieren",
onlyDisplayNameText = "Nur Anzeigename",
languages = {
en = "Englisch",
es = "Spanisch",
fr = "Französisch",
de = "Deutsch",
pt = "Portugiesisch",
ru = "Russisch",
ko = "Koreanisch",
cn = "Chinesisch (vereinfacht)",
mx = "Spanisch (Mexiko)",
tw = "Chinesisch (traditionell)"
},
interactionModes = {
hover = "Hover",
["hover-hotkey"] = "Hover + Hotkey",
always = "Immer anzeigen"
}
}
}
_G["MultiLanguageTranslations"]["fr"] = {
description = "Description",
objectives = "Objectifs de la quête",
options = {
generalOptionsTitle = "Options générales",
languageDropdownLabel = "Sélectionner la langue :",
interactionDropdownLabel = "Sélectionner l'interaction :",
registerHotkeyDescriptionText = "Enregistrer un raccourci clavier (clic droit pour dissocier) :",
registerHotkeyNotBoundText = "Non attribué",
registerHotkeyPressButtonText = "Appuyez sur un bouton...",
questOptionsTitle = "Options de quête",
questDisplayModeText = "Sélectionner le mode d'affichage de la quête :",
itemOptionsTitle = "Options des objets",
spellOptionsTitle = "Options des sorts",
npcOptionsTitle = "Options des PNJ",
enableText = "Activer",
onlyDisplayNameText = "Afficher uniquement le nom",
languages = {
en = "Anglais",
es = "Espagnol",
fr = "Français",
de = "Allemand",
pt = "Portugais",
ru = "Russe",
ko = "Coréen",
cn = "Chinois (simplifié)",
mx = "Espagnol (Mexique)",
tw = "Chinois (traditionnel)"
},
interactionModes = {
hover = "Survol",
["hover-hotkey"] = "Survol + raccourci clavier",
always = "Toujours afficher"
}
}
}
_G["MultiLanguageTranslations"]["pt"] = {
description = "Descrição",
objectives = "Objetivos da missão",
options = {
generalOptionsTitle = "Opções gerais",
languageDropdownLabel = "Selecionar idioma:",
interactionDropdownLabel = "Selecionar interação:",
registerHotkeyDescriptionText = "Registrar atalho de teclado (clique direito para desvincular):",
registerHotkeyNotBoundText = "Não atribuído",
registerHotkeyPressButtonText = "Pressione o botão...",
questOptionsTitle = "Opções de missão",
questDisplayModeText = "Selecionar modo de exibição da missão:",
itemOptionsTitle = "Opções de item",
spellOptionsTitle = "Opções de feitiço",
npcOptionsTitle = "Opções de NPC",
enableText = "Habilitar",
onlyDisplayNameText = "Exibir apenas o nome",
languages = {
en = "Inglês",
es = "Espanhol",
fr = "Francês",
de = "Alemão",
pt = "Português",
ru = "Russo",
ko = "Coreano",
cn = "Chinês (simplificado)",
mx = "Espanhol (México)",
tw = "Chinês (tradicional)"
},
interactionModes = {
hover = "Passar o mouse",
["hover-hotkey"] = "Passar o mouse + atalho",
always = "Mostrar sempre"
}
}
}
_G["MultiLanguageTranslations"]["ru"] = {
description = "Описание",
objectives = "Цели задания",
options = {
generalOptionsTitle = "Общие настройки",
languageDropdownLabel = "Выберите язык:",
interactionDropdownLabel = "Выберите взаимодействие:",
registerHotkeyDescriptionText = "Зарегистрировать горячую клавишу (щелкните правой кнопкой, чтобы отвязать):",
registerHotkeyNotBoundText = "Не назначено",
registerHotkeyPressButtonText = "Нажмите кнопку...",
questOptionsTitle = "Настройки заданий",
questDisplayModeText = "Выберите режим отображения задания:",
itemOptionsTitle = "Настройки предметов",
spellOptionsTitle = "Настройки заклинаний",
npcOptionsTitle = "Настройки NPC",
enableText = "Включить",
onlyDisplayNameText = "Показывать только имя",
languages = {
en = "Английский",
es = "Испанский",
fr = "Французский",
de = "Немецкий",
pt = "Португальский",
ru = "Русский",
ko = "Корейский",
cn = "Китайский (упрощённый)",
mx = "Испанский (Мексика)",
tw = "Китайский (традиционный)"
},
interactionModes = {
hover = "Наведение",
["hover-hotkey"] = "Наведение + горячая клавиша",
always = "Всегда показывать"
}
}
}
_G["MultiLanguageTranslations"]["cn"] = {
description = "描述",
objectives = "任务目标",
options = {
generalOptionsTitle = "常规选项",
languageDropdownLabel = "选择语言:",
interactionDropdownLabel = "选择交互方式:",
registerHotkeyDescriptionText = "注册快捷键(右键单击取消绑定):",
registerHotkeyNotBoundText = "未绑定",
registerHotkeyPressButtonText = "按下按钮...",
questOptionsTitle = "任务选项",
questDisplayModeText = "选择任务显示模式:",
itemOptionsTitle = "物品选项",
spellOptionsTitle = "法术选项",
npcOptionsTitle = "NPC 选项",
enableText = "启用",
onlyDisplayNameText = "仅显示名称",
languages = {
en = "英语",
es = "西班牙语",
fr = "法语",
de = "德语",
pt = "葡萄牙语",
ru = "俄语",
ko = "韩语",
cn = "中文(简体)",
mx = "西班牙语(墨西哥)",
tw = "中文(繁體)"
},
interactionModes = {
hover = "悬停",
["hover-hotkey"] = "悬停 + 快捷键",
always = "始终显示"
}
}
}
_G["MultiLanguageTranslations"]["ko"] = {
description = "설명",
objectives = "퀘스트 목표",
options = {
generalOptionsTitle = "일반 옵션",
languageDropdownLabel = "언어 선택:",
interactionDropdownLabel = "상호 작용 선택:",
registerHotkeyDescriptionText = "단축키 등록 (우클릭으로 해제):",
registerHotkeyNotBoundText = "미할당",
registerHotkeyPressButtonText = "버튼을 누르세요...",
questOptionsTitle = "퀘스트 옵션",
questDisplayModeText = "퀘스트 표시 모드 선택:",
itemOptionsTitle = "아이템 옵션",
spellOptionsTitle = "주문 옵션",
npcOptionsTitle = "NPC 옵션",
enableText = "활성화",
onlyDisplayNameText = "이름만 표시",
languages = {
en = "영어",
es = "스페인어",
fr = "프랑스어",
de = "독일어",
pt = "포르투갈어",
ru = "러시아어",
ko = "한국어",
cn = "중국어(간체)",
mx = "스페인어(멕시코)",
tw = "중국어(번체)"
},
interactionModes = {
hover = "마우스 오버",
["hover-hotkey"] = "마우스 오버 + 단축키",
always = "항상 표시"
}
}
}
_G["MultiLanguageTranslations"]["mx"] = {
description = "Descripción",
objectives = "Objetivos de la misión",
options = {
generalOptionsTitle = "Opciones generales",
languageDropdownLabel = "Seleccionar idioma:",
interactionDropdownLabel = "Seleccionar interacción:",
registerHotkeyDescriptionText = "Registrar tecla de acceso rápido (clic derecho para desvincular):",
registerHotkeyNotBoundText = "No vinculada",
registerHotkeyPressButtonText = "Presiona el botón..",
questOptionsTitle = "Opciones de misión",
questDisplayModeText = "Seleccionar modo de visualización de misión:",
itemOptionsTitle = "Opciones de objeto",
spellOptionsTitle = "Opciones de hechizo",
npcOptionsTitle = "Opciones de NPC",
enableText = "Habilitar",
onlyDisplayNameText = "Mostrar solo el nombre",
languages = {
en = "Inglés",
es = "Español",
fr = "Francés",
de = "Alemán",
pt = "Portugués",
ru = "Ruso",
ko = "Coreano",
cn = "Chino (simplificado)",
mx = "Español (México)",
tw = "Chino (tradicional)"
},
interactionModes = {
hover = "Sostener",
["hover-hotkey"] = "Sostener + tecla de acceso rápido",
always = "Mostrar siempre"
}
}
}
_G["MultiLanguageTranslations"]["tw"] = {
description = "描述",
objectives = "任務目標",
options = {
generalOptionsTitle = "一般選項",
languageDropdownLabel = "選擇語言:",
interactionDropdownLabel = "選擇互動方式:",
registerHotkeyDescriptionText = "註冊快捷鍵(右鍵取消綁定):",
registerHotkeyNotBoundText = "未綁定",
registerHotkeyPressButtonText = "按下按鈕..",
questOptionsTitle = "任務選項",
questDisplayModeText = "選擇任務顯示模式:",
itemOptionsTitle = "物品選項",
spellOptionsTitle = "法術選項",
npcOptionsTitle = "NPC選項",
enableText = "啟用",
onlyDisplayNameText = "僅顯示名稱",
languages = {
en = "英文",
es = "西班牙文",
fr = "法文",
de = "德文",
pt = "葡萄牙文",
ru = "俄文",
ko = "韓文",
cn = "中文(簡體)",
mx = "西班牙文(墨西哥)",
tw = "中文(繁體)"
},
interactionModes = {
hover = "懸停",
["hover-hotkey"] = "懸停 + 快捷鍵",
always = "始終顯示"
}
}
}
end
end
translationsFrame:RegisterEvent("ADDON_LOADED")
translationsFrame:SetScript("OnEvent", addonLoaded)