DEADSOFTWARE

rewritten dyntree visitor; seems to fix segfaults (but i don't know why)
[d2df-sdl.git] / src / game / g_language.pas
1 (* Copyright (C) DooM 2D:Forever Developers
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *)
16 {$INCLUDE ../shared/a_modes.inc}
17 unit g_language;
19 interface
21 uses
22 MAPDEF;
24 type
25 TStrings_Locale = (
26 I_CONSOLE_EXEC,
27 I_CONSOLE_DUMPED,
28 I_CONSOLE_ERROR_CALL,
29 I_CONSOLE_ERROR_READ,
30 I_CONSOLE_ERROR_WRITE,
31 I_CONSOLE_SCREENSHOT,
32 I_CONSOLE_UNKNOWN,
33 I_CONSOLE_WELCOME,
35 I_GAME_ERROR_GET_SPAWN,
36 I_GAME_ERROR_CTF,
37 I_GAME_ERROR_MAP_WAD,
38 I_GAME_ERROR_MAP_RES,
39 I_GAME_ERROR_MAP_LOAD,
40 I_GAME_ERROR_MAP_SELECT,
41 I_GAME_ERROR_PLAYER_CREATE,
42 I_GAME_ERROR_TEXTURE_ANIM,
43 I_GAME_ERROR_TEXTURE_SIMPLE,
44 I_GAME_ERROR_MODEL_FALLBACK,
45 I_GAME_ERROR_MODEL,
46 I_GAME_ERROR_SKY,
47 I_GAME_ERROR_MUSIC,
48 I_GAME_ERROR_SAVE,
49 I_GAME_ERROR_LOAD,
50 I_GAME_ERROR_SOUND,
51 I_GAME_ERROR_FRAMES,
52 I_GAME_ERROR_TR_SOUND,
53 I_GAME_ERROR_SWITCH_TEXTURE,
55 I_GAME_PLAYER_NAME,
56 I_GAME_GAME_TIME,
57 I_GAME_PING,
58 I_GAME_PING_MS,
59 I_GAME_PING_HUD,
60 I_GAME_FRAGS,
61 I_GAME_DEATHS,
62 I_GAME_DM,
63 I_GAME_CTF,
64 I_GAME_TDM,
65 I_GAME_COOP,
66 I_GAME_LMS,
67 I_GAME_TLMS,
68 I_GAME_SURV,
69 I_GAME_FRAG_LIMIT,
70 I_GAME_SCORE_LIMIT,
71 I_GAME_TIME_LIMIT,
72 I_GAME_TEAM_SCORE_RED,
73 I_GAME_TEAM_SCORE_BLUE,
74 I_GAME_TEAM_RED,
75 I_GAME_TEAM_BLUE,
76 I_GAME_WIN_RED,
77 I_GAME_WIN_BLUE,
78 I_GAME_WIN_DRAW,
79 I_GAME_MONSTERS,
80 I_GAME_SECRETS,
81 I_GAME_MONSTERS_TOTAL,
82 I_GAME_SECRETS_TOTAL,
84 I_GAME_CHEAT_GODMODE,
85 I_GAME_CHEAT_WEAPONS,
86 I_GAME_CHEAT_HEALTH,
87 I_GAME_CHEAT_DEATH,
88 I_GAME_CHEAT_DOORS,
89 I_GAME_CHEAT_NEXTMAP,
90 I_GAME_CHEAT_CHANGEMAP,
91 I_GAME_CHEAT_FLY,
92 I_GAME_CHEAT_JUMPS,
93 I_GAME_CHEAT_SPEED,
94 I_GAME_CHEAT_SUIT,
95 I_GAME_CHEAT_AIR,
96 I_GAME_CHEAT_BERSERK,
97 I_GAME_CHEAT_JETPACK,
98 I_GAME_CHEAT_NOCLIP,
99 I_GAME_CHEAT_NOTARGET,
100 I_GAME_CHEAT_NORELOAD,
101 I_GAME_CHEAT_AIMLINE,
102 I_GAME_CHEAT_AUTOMAP,
104 I_GAME_WEAPON0,
105 I_GAME_WEAPON1,
106 I_GAME_WEAPON2,
107 I_GAME_WEAPON3,
108 I_GAME_WEAPON4,
109 I_GAME_WEAPON5,
110 I_GAME_WEAPON6,
111 I_GAME_WEAPON7,
112 I_GAME_WEAPON8,
113 I_GAME_WEAPON9,
114 I_GAME_WEAPON10,
116 I_MENU_START_GAME,
117 I_MENU_MAIN_MENU,
118 I_MENU_NEW_GAME,
119 I_MENU_MULTIPLAYER,
120 I_MENU_OPTIONS,
121 I_MENU_AUTHORS,
122 I_MENU_EXIT,
123 I_MENU_1_PLAYER,
124 I_MENU_2_PLAYERS,
125 I_MENU_CUSTOM_GAME,
126 I_MENU_CAMPAIGN,
127 I_MENU_START_SERVER,
128 I_MENU_START_CLIENT,
129 I_MENU_CLIENT_CONNECT,
130 I_MENU_SELECT_MAP,
131 I_MENU_VIDEO_OPTIONS,
132 I_MENU_SOUND_OPTIONS,
133 I_MENU_SAVED_OPTIONS,
134 I_MENU_DEFAULT_OPTIONS,
135 I_MENU_GAME_OPTIONS,
136 I_MENU_CONTROLS_OPTIONS,
137 I_MENU_PLAYER_OPTIONS,
138 I_MENU_LANGUAGE_OPTIONS,
139 I_MENU_CHANGE_PLAYERS,
140 I_MENU_LOAD_GAME,
141 I_MENU_SAVE_GAME,
142 I_MENU_END_GAME,
143 I_MENU_RESTART,
144 I_MENU_SET_GAME,
146 I_MENU_JOIN_RED,
147 I_MENU_JOIN_BLUE,
148 I_MENU_JOIN_GAME,
149 I_MENU_ADD_PLAYER_2,
150 I_MENU_REM_PLAYER_2,
151 I_MENU_SPECTATE,
153 I_MENU_STATISTICS,
154 I_MENU_MAP,
155 I_MENU_GAME_TYPE,
156 I_MENU_GAME_TYPE_DM,
157 I_MENU_GAME_TYPE_CTF,
158 I_MENU_GAME_TYPE_TDM,
159 I_MENU_GAME_TYPE_COOP,
160 I_MENU_GAME_TYPE_SINGLE,
161 I_MENU_TIME_LIMIT,
162 I_MENU_GOAL_LIMIT,
163 I_MENU_MAX_LIVES,
164 I_MENU_TEAM_DAMAGE,
165 I_MENU_ENABLE_EXITS,
166 I_MENU_WEAPONS_STAY,
167 I_MENU_ENABLE_MONSTERS,
168 I_MENU_BOTS_VS,
169 I_MENU_BOTS_VS_PLAYERS,
170 I_MENU_BOTS_VS_MONSTERS,
171 I_MENU_BOTS_VS_ALL,
173 I_MENU_MAP_WAD,
174 I_MENU_MAP_RESOURCE,
175 I_MENU_MAP_NAME,
176 I_MENU_MAP_AUTHOR,
177 I_MENU_MAP_DESCRIPTION,
178 I_MENU_MAP_SIZE,
179 I_MENU_PLAYERS,
180 I_MENU_PLAYERS_ONE,
181 I_MENU_PLAYERS_TWO,
182 I_MENU_SERVER_PLAYERS,
184 I_MENU_INTER_MISSION_FAIL,
185 I_MENU_INTER_ROUND_OVER,
186 I_MENU_INTER_LEVEL_COMPLETE,
187 I_MENU_INTER_TIME,
188 I_MENU_INTER_KILLS,
189 I_MENU_INTER_KPM,
190 I_MENU_INTER_SECRETS,
191 I_MENU_INTER_NOTICE_TAB,
192 I_MENU_INTER_NOTICE_MAP,
193 I_MENU_INTER_NOTICE_SPACE,
194 I_MENU_INTER_NOTICE_TIME,
195 I_MENU_LOADING,
196 I_MENU_PLAYER_1,
197 I_MENU_PLAYER_2,
198 I_MENU_PLAYER_1_KBD,
199 I_MENU_PLAYER_2_KBD,
200 I_MENU_PLAYER_1_ALT,
201 I_MENU_PLAYER_2_ALT,
202 I_MENU_PLAYER_1_WEAPONS,
203 I_MENU_PLAYER_2_WEAPONS,
205 I_MENU_CONTROL_JOYSTICKS,
206 I_MENU_CONTROL_DEADZONE,
208 I_MENU_CONTROL_GLOBAL,
209 I_MENU_CONTROL_SCREENSHOT,
210 I_MENU_CONTROL_STAT,
211 I_MENU_CONTROL_CHAT,
212 I_MENU_CONTROL_TEAMCHAT,
213 I_MENU_CONTROL_LEFT,
214 I_MENU_CONTROL_RIGHT,
215 I_MENU_CONTROL_UP,
216 I_MENU_CONTROL_DOWN,
217 I_MENU_CONTROL_JUMP,
218 I_MENU_CONTROL_FIRE,
219 I_MENU_CONTROL_USE,
220 I_MENU_CONTROL_NEXT_WEAPON,
221 I_MENU_CONTROL_PREV_WEAPON,
222 I_MENU_CONTROL_STRAFE,
224 I_MENU_COUNT_NONE,
225 I_MENU_COUNT_SMALL,
226 I_MENU_COUNT_NORMAL,
227 I_MENU_COUNT_BIG,
228 I_MENU_COUNT_VERYBIG,
230 I_MENU_GAME_BLOOD_COUNT,
231 I_MENU_GAME_MAX_GIBS,
232 I_MENU_GAME_MAX_CORPSES,
233 I_MENU_GAME_GIBS_COUNT,
234 I_MENU_GAME_MAX_SHELLS,
235 I_MENU_GAME_BLOOD_TYPE,
236 I_MENU_GAME_BLOOD_TYPE_SIMPLE,
237 I_MENU_GAME_BLOOD_TYPE_ADV,
238 I_MENU_GAME_CORPSE_TYPE,
239 I_MENU_GAME_CORPSE_TYPE_SIMPLE,
240 I_MENU_GAME_CORPSE_TYPE_ADV,
241 I_MENU_GAME_GIBS_TYPE,
242 I_MENU_GAME_GIBS_TYPE_SIMPLE,
243 I_MENU_GAME_GIBS_TYPE_ADV,
244 I_MENU_GAME_PARTICLES_COUNT,
245 I_MENU_GAME_SCREEN_FLASH,
246 I_MENU_GAME_BACKGROUND,
247 I_MENU_GAME_MESSAGES,
248 I_MENU_GAME_REVERT_PLAYERS,
249 I_MENU_GAME_CHAT_BUBBLE,
250 I_MENU_GAME_CHAT_TYPE_NONE,
251 I_MENU_GAME_CHAT_TYPE_SIMPLE,
252 I_MENU_GAME_CHAT_TYPE_ADV,
253 I_MENU_GAME_CHAT_TYPE_COLOR,
254 I_MENU_GAME_CHAT_TYPE_TEXTURE,
256 I_MENU_VIDEO_RESOLUTION,
257 I_MENU_VIDEO_BPP,
258 I_MENU_VIDEO_VSYNC,
259 I_MENU_VIDEO_FILTER_SKY,
260 I_MENU_VIDEO_LEGACY_COMPATIBLE,
261 I_MENU_VIDEO_NEED_RESTART,
263 I_MENU_RESOLUTION_SELECT,
264 I_MENU_RESOLUTION_CURRENT,
265 I_MENU_RESOLUTION_LIST,
266 I_MENU_RESOLUTION_FULLSCREEN,
267 I_MENU_RESOLUTION_APPLY,
269 I_MENU_SOUND_MUSIC_LEVEL,
270 I_MENU_SOUND_SOUND_LEVEL,
271 I_MENU_SOUND_MAX_SIM_SOUNDS,
272 I_MENU_SOUND_INACTIVE_SOUNDS,
273 I_MENU_SOUND_INACTIVE_SOUNDS_ON,
274 I_MENU_SOUND_INACTIVE_SOUNDS_OFF,
275 I_MENU_SOUND_ANNOUNCE,
276 I_MENU_SOUND_COMPAT,
277 I_MENU_ANNOUNCE_NONE,
278 I_MENU_ANNOUNCE_ME,
279 I_MENU_ANNOUNCE_MEPLUS,
280 I_MENU_ANNOUNCE_ALL,
281 I_MENU_COMPAT_DF,
282 I_MENU_COMPAT_DOOM2,
284 I_MENU_PLAYER_NAME,
285 I_MENU_PLAYER_TEAM,
286 I_MENU_PLAYER_TEAM_RED,
287 I_MENU_PLAYER_TEAM_BLUE,
288 I_MENU_PLAYER_MODEL,
289 I_MENU_PLAYER_RED,
290 I_MENU_PLAYER_GREEN,
291 I_MENU_PLAYER_BLUE,
293 I_MENU_MODEL_INFO,
294 I_MENU_MODEL_ANIMATION,
295 I_MENU_MODEL_CHANGE_WEAPON,
296 I_MENU_MODEL_ROTATE,
297 I_MENU_MODEL_NAME,
298 I_MENU_MODEL_AUTHOR,
299 I_MENU_MODEL_COMMENT,
300 I_MENU_MODEL_OPTIONS,
301 I_MENU_MODEL_WEAPON,
303 I_MENU_LANGUAGE_RUSSIAN,
304 I_MENU_LANGUAGE_ENGLISH,
306 I_MENU_PAUSE,
307 I_MENU_YES,
308 I_MENU_NO,
309 I_MENU_OK,
310 I_MENU_FINISH,
312 I_MENU_END_GAME_PROMT,
313 I_MENU_RESTART_GAME_PROMT,
314 I_MENU_EXIT_PROMT,
315 I_MENU_SET_DEFAULT_PROMT,
316 I_MENU_LOAD_SAVED_PROMT,
317 I_MENU_ENTERPASSWORD,
319 I_NET_SERVER,
320 I_NET_CLIENT,
321 I_NET_ADDRESS,
322 I_NET_PORT,
323 I_NET_SERVER_NAME,
324 I_NET_SERVER_PASSWORD,
325 I_NET_MAX_CLIENTS,
326 I_NET_USE_MASTER,
328 I_NET_MSG,
329 I_NET_MSG_ERROR,
330 I_NET_MSG_FERROR,
332 I_NET_MSG_HOST,
333 I_NET_MSG_HOST_DISCALL,
334 I_NET_MSG_HOST_DIE,
335 I_NET_MSG_HOST_CONN,
336 I_NET_MSG_HOST_REJECT,
337 I_NET_MSG_HOST_ADD,
338 I_NET_MSG_HOST_DISC,
339 I_NET_MSG_CLIENT_CONN,
340 I_NET_MSG_CLIENT_DONE,
341 I_NET_MSG_CLIENT_DISC,
342 I_NET_MSG_KICK,
344 I_NET_MAP_DL,
345 I_NET_WAD_DL,
347 I_NET_ERR_ENET,
348 I_NET_ERR_HOST,
349 I_NET_ERR_INGAME,
350 I_NET_ERR_CLIENT,
351 I_NET_ERR_CONN,
352 I_NET_ERR_TIMEOUT,
353 I_NET_ERR_HASH,
354 I_NET_ERR_NAME404,
356 I_NET_DISC_NONE,
357 I_NET_DISC_PROTOCOL,
358 I_NET_DISC_VERSION,
359 I_NET_DISC_FULL,
360 I_NET_DISC_KICK,
361 I_NET_DISC_DOWN,
362 I_NET_DISC_PASSWORD,
363 I_NET_DISC_TEMPBAN,
364 I_NET_DISC_BAN,
366 I_NET_SLIST,
367 I_NET_SLIST_NOSERVERS,
368 I_NET_SLIST_SERVERS,
369 I_NET_SLIST_HELP,
370 I_NET_SLIST_WAIT,
371 I_NET_SLIST_PING_MS,
372 I_NET_SLIST_NO_ACCESS,
374 I_NET_SLIST_FETCH,
375 I_NET_SLIST_RETRIEVED,
376 I_NET_SLIST_CONN,
377 I_NET_SLIST_DISC,
378 I_NET_SLIST_LOST,
379 I_NET_SLIST_ERROR,
381 I_NET_RCON_PWD_VALID,
382 I_NET_RCON_PWD_INVALID,
383 I_NET_RCON_NOAUTH,
385 I_PLAYER_DIED,
386 I_PLAYER_KILL,
387 I_PLAYER_KILL_EXTRAHARD_1,
388 I_PLAYER_KILL_EXTRAHARD_2,
389 I_PLAYER_KILL_ACID,
390 I_PLAYER_KILL_TRAP,
391 I_PLAYER_KILL_FALL,
392 I_PLAYER_KILL_SELF,
393 I_PLAYER_KILL_WATER,
395 I_PLAYER_KILL_2X,
396 I_PLAYER_KILL_3X,
397 I_PLAYER_KILL_4X,
398 I_PLAYER_KILL_MX,
400 I_PLAYER_JOIN,
401 I_PLAYER_LEAVE,
402 I_PLAYER_KICK,
403 I_PLAYER_BAN,
404 I_PLAYER_NAME,
405 I_PLAYER_CHTEAM_RED,
406 I_PLAYER_CHTEAM_BLUE,
408 I_PLAYER_SPECT,
409 I_PLAYER_SPECT1,
410 I_PLAYER_SPECT1S,
411 I_PLAYER_SPECT2,
412 I_PLAYER_SPECT3,
413 I_PLAYER_SPECT4,
415 I_PLAYER_FLAG_GET,
416 I_PLAYER_FLAG_RETURN,
417 I_PLAYER_FLAG_CAPTURE,
418 I_PLAYER_FLAG_DROP,
419 I_PLAYER_FLAG_RED,
420 I_PLAYER_FLAG_BLUE,
422 I_PLAYER_SCORE_RED,
423 I_PLAYER_SCORE_BLUE,
424 I_PLAYER_SCORE_TO_RED,
425 I_PLAYER_SCORE_TO_BLUE,
426 I_PLAYER_SCORE_ADD_OWN,
427 I_PLAYER_SCORE_SUB_OWN,
428 I_PLAYER_SCORE_ADD_ENEMY,
429 I_PLAYER_SCORE_SUB_ENEMY,
430 I_PLAYER_SCORE_WIN_OWN,
431 I_PLAYER_SCORE_WIN_ENEMY,
432 I_PLAYER_SCORE_ADD_TEAM,
433 I_PLAYER_SCORE_SUB_TEAM,
435 I_MESSAGE_FLAG_GET,
436 I_MESSAGE_FLAG_RETURN,
437 I_MESSAGE_FLAG_CAPTURE,
438 I_MESSAGE_FLAG_DROP,
440 I_MESSAGE_LMS_LOSE,
441 I_MESSAGE_LMS_WIN,
442 I_MESSAGE_LMS_START,
443 I_MESSAGE_TLMS_WIN,
444 I_MESSAGE_LMS_SURVIVOR,
446 I_MESSAGE_SCORE_ADD,
447 I_MESSAGE_SCORE_SUB,
449 I_MESSAGE_VOTE_INPROGRESS,
450 I_MESSAGE_VOTE_STARTED,
451 I_MESSAGE_VOTE_PASSED,
452 I_MESSAGE_VOTE_FAILED,
453 I_MESSAGE_VOTE_VOTE,
454 I_MESSAGE_VOTE_REVOKED,
456 I_KEY_UP,
457 I_KEY_DOWN,
458 I_KEY_LEFT,
459 I_KEY_RIGHT,
461 I_MONSTER_DEMON,
462 I_MONSTER_IMP,
463 I_MONSTER_ZOMBIE,
464 I_MONSTER_SERGEANT,
465 I_MONSTER_CYBER,
466 I_MONSTER_CGUN,
467 I_MONSTER_BARON,
468 I_MONSTER_KNIGHT,
469 I_MONSTER_CACODEMON,
470 I_MONSTER_SOUL,
471 I_MONSTER_PAIN,
472 I_MONSTER_MASTERMIND,
473 I_MONSTER_SPIDER,
474 I_MONSTER_MANCUBUS,
475 I_MONSTER_REVENANT,
476 I_MONSTER_ARCHVILE,
477 I_MONSTER_FISH,
478 I_MONSTER_BARREL,
479 I_MONSTER_ROBOT,
480 I_MONSTER_PRIKOLIST,
482 I_LOAD_MUSIC,
483 I_LOAD_MODELS,
484 I_LOAD_MENUS,
485 I_LOAD_CONSOLE,
486 I_LOAD_ITEMS_DATA,
487 I_LOAD_WEAPONS_DATA,
488 I_LOAD_GAME_DATA,
489 I_LOAD_COLLIDE_MAP,
490 I_LOAD_DOOR_MAP,
491 I_LOAD_LIFT_MAP,
492 I_LOAD_WATER_MAP,
493 I_LOAD_WAD_FILE,
494 I_LOAD_MAP,
495 I_LOAD_TEXTURES,
496 I_LOAD_TRIGGERS,
497 I_LOAD_PANELS,
498 I_LOAD_TRIGGERS_TABLE,
499 I_LOAD_LINK_TRIGGERS,
500 I_LOAD_CREATE_TRIGGERS,
501 I_LOAD_ITEMS,
502 I_LOAD_CREATE_ITEMS,
503 I_LOAD_AREAS,
504 I_LOAD_CREATE_AREAS,
505 I_LOAD_MONSTERS,
506 I_LOAD_CREATE_MONSTERS,
507 I_LOAD_MAP_HEADER,
508 I_LOAD_SKY,
509 I_LOAD_MONSTER_TEXTURES,
510 I_LOAD_MONSTER_SOUNDS,
511 I_LOAD_SAVE_FILE,
512 I_LOAD_MAP_STATE,
513 I_LOAD_ITEMS_STATE,
514 I_LOAD_TRIGGERS_STATE,
515 I_LOAD_WEAPONS_STATE,
516 I_LOAD_MONSTERS_STATE,
517 I_LOAD_CONNECT,
518 I_LOAD_SEND_INFO,
519 I_LOAD_WAIT_INFO,
520 I_LOAD_DL_RES,
522 I_CREDITS_CAP_1,
523 I_CREDITS_CAP_2,
524 I_CREDITS_A_1,
525 I_CREDITS_A_1_1,
526 I_CREDITS_A_2,
527 I_CREDITS_A_2_1,
528 I_CREDITS_A_2_2,
529 I_CREDITS_A_3,
530 I_CREDITS_A_3_1,
531 I_CREDITS_A_4,
532 I_CREDITS_A_4_1,
533 I_CREDITS_CAP_3,
534 I_CREDITS_CLO_1,
535 I_CREDITS_CLO_2,
536 I_CREDITS_CLO_3,
537 I_CREDITS_CLO_4,
539 I_MSG_SHOW_FPS_ON,
540 I_MSG_SHOW_FPS_OFF,
541 I_MSG_GAMEMODE_CURRENT,
542 I_MSG_GAMEMODE_CHANGE,
543 I_MSG_FRIENDLY_FIRE_ON,
544 I_MSG_FRIENDLY_FIRE_OFF,
545 I_MSG_WEAPONSTAY_ON,
546 I_MSG_WEAPONSTAY_OFF,
547 I_MSG_ALLOWEXIT_ON,
548 I_MSG_ALLOWEXIT_OFF,
549 I_MSG_ALLOWMON_ON,
550 I_MSG_ALLOWMON_OFF,
551 I_MSG_BOTSVSPLAYERS_ON,
552 I_MSG_BOTSVSPLAYERS_OFF,
553 I_MSG_BOTSVSMONSTERS_ON,
554 I_MSG_BOTSVSMONSTERS_OFF,
555 I_MSG_TIME_ON,
556 I_MSG_TIME_OFF,
557 I_MSG_SCORE_ON,
558 I_MSG_SCORE_OFF,
559 I_MSG_STATS_ON,
560 I_MSG_STATS_OFF,
561 I_MSG_KILL_MSGS_ON,
562 I_MSG_KILL_MSGS_OFF,
563 I_MSG_LIVES_ON,
564 I_MSG_LIVES_OFF,
565 I_MSG_SPECT_HUD_ON,
566 I_MSG_SPECT_HUD_OFF,
567 I_MSG_PING_ON,
568 I_MSG_PING_OFF,
569 I_MSG_NO_WAD,
570 I_MSG_NO_MAPS,
571 I_MSG_NO_MAP,
572 I_MSG_NO_MONSTER,
573 I_MSG_SCORE_LIMIT,
574 I_MSG_TIME_LIMIT,
575 I_MSG_LIVES,
576 I_MSG_WARMUP,
577 I_MSG_WARMUP_START,
578 I_MSG_NEXTMAP_SET,
579 I_MSG_NEXTMAP_UNSET,
580 I_MSG_ONMAPCHANGE,
581 I_MSG_NOT_GAME,
582 I_MSG_NOT_DEBUG,
583 I_MSG_GM_UNAVAIL,
584 I_MSG_SERVERONLY,
585 I_MSG_NOCLIENTS,
586 I_MSG_UNBAN_OK,
587 I_MSG_UNBAN_FAIL,
589 I_TEXTURE_ENDPIC,
591 I_VERSION,
593 I_FATAL_ERROR,
594 I_SIMPLE_ERROR,
595 I_SYSTEM_ERROR_UNKNOWN,
596 I_SYSTEM_ERROR_MSG,
598 I_LAST );
600 const
601 LANGUAGE_RUSSIAN = 'Russian';
602 LANGUAGE_ENGLISH = 'English';
603 LANGUAGE_RUSSIAN_N = 3;
604 LANGUAGE_ENGLISH_N = 2;
606 var
607 _lc: Array [TStrings_Locale] of String;
608 KilledByMonster: Array [MONSTER_DEMON..MONSTER_MAN] of String;
609 CheatEng: Array [I_GAME_CHEAT_GODMODE..I_GAME_CHEAT_AUTOMAP] of String;
610 CheatRus: Array [I_GAME_CHEAT_GODMODE..I_GAME_CHEAT_AUTOMAP] of String;
612 procedure g_Language_Load(fileName: String);
613 procedure g_Language_Set(lang: String);
614 procedure g_Language_Dump(fileName: String);
616 implementation
618 uses
619 SysUtils, g_gui, g_basic, e_log, e_input;
621 const
622 g_lang_default: Array [TStrings_Locale] of Array [1..3] of String = (
623 ('CONSOLE EXEC', 'Executing script: "%s"',
624 'Âûïîëíÿåòñÿ ñêðèïò: "%s"'),
625 ('CONSOLE DUMPED', 'Saved to "%s"',
626 'Ñîõðàíåíî â "%s"'),
627 ('CONSOLE ERROR CALL', 'Console loop detected. Execution terminated.',
628 'Îáíàðóæåí áåñêîíå÷íûé öèêë. Ñêðèïò îñòàíîâëåí.'),
629 ('CONSOLE ERROR READ', 'Error reading file "%s"',
630 'Îøèáêà ïðè ÷òåíèè ôàéëà "%s"'),
631 ('CONSOLE ERROR WRITE', 'Error writing file "%s"',
632 'Îøèáêà ïðè çàïèñè â ôàéë "%s"'),
633 ('CONSOLE SCREENSHOT', 'Screenshot saved to "%s"',
634 'Ñêðèíøîò ñîõðàí¸í â "%s"'),
635 ('CONSOLE UNKNOWN', 'Unknown command "%s"',
636 'Íåèçâåñòíàÿ êîìàíäà "%s"'),
637 ('CONSOLE WELCOME', 'Welcome to Doom 2D: Forever %s',
638 'Äîáðî ïîæàëîâàòü â Doom 2D: Forever %s'),
640 ('GAME ERROR GET SPAWN', 'Can''t find a spawn point!',
641 'Íå óäàëîñü ïîëó÷èòü òî÷êó âîçðîæäåíèÿ!'),
642 ('GAME ERROR CTF', 'There are no flags on this map!',
643 'Íà êàðòå íåò ôëàãîâ!'),
644 ('GAME ERROR MAP WAD', 'Can''t read map WAD "%s"',
645 'Íå óäàëîñü çàãðóçèòü WAD êàðòû: "%s"'),
646 ('GAME ERROR MAP RES', 'Can''t load map resource "%s"',
647 'Íå óäàëîñü çàãðóçèòü ðåñóðñ êàðòû èç WAD: "%s"'),
648 ('GAME ERROR MAP LOAD', 'Can''t load map "%s"',
649 'Íå óäàëîñü çàãðóçèòü êàðòó "%s"'),
650 ('GAME ERROR MAP SELECT', 'Map reading error!',
651 'Êàðòà íå ÷èòàåòñÿ!'),
652 ('GAME ERROR PLAYER CREATE', 'Can''t create player #%d',
653 'Íå óäàëîñü ñîçäàòü Èãðîêà #%d'),
654 ('GAME ERROR TEXTURE ANIM', 'Can''t create animated texture "%s"',
655 'Íå ïîëó÷èëîñü ñîçäàòü àíèìèðîâàííóþ òåêñòóðó "%s"'),
656 ('GAME ERROR TEXTURE SIMPLE', 'Can''t create ordinary Texture "%s"',
657 'Íå ïîëó÷èëîñü ñîçäàòü îáû÷íóþ òåêñòóðó "%s"'),
658 ('GAME ERROR MODEL FALLBACK', 'Model "%s" not found, using default model instead',
659 'Ìîäåëü "%s" íå íàéäåíà, èñïîëüçóåòñÿ ìîäåëü ïî óìîë÷àíèþ'),
660 ('GAME ERROR MODEL', 'Model "%s" not found',
661 'Ìîäåëü "%s" íå íàéäåíà'),
662 ('GAME ERROR SKY', 'Can''t load sky "%s"',
663 'Íå óäàëîñü çàãðóçèòü íåáî "%s"'),
664 ('GAME ERROR MUSIC', 'Can''t load music "%s"',
665 'Íå óäàëîñü çàãðóçèòü ìóçûêó "%s"'),
666 ('GAME ERROR SAVE', 'Saving state error!',
667 'Îøèáêà âî âðåìÿ ñîõðàíåíèÿ!'),
668 ('GAME ERROR LOAD', 'Loading state error!',
669 'Îøèáêà âî âðåìÿ çàãðóçêè!'),
670 ('GAME ERROR SOUND', 'Can''t load sound "%s"',
671 'Íå óäàëîñü çàãðóçèòü çâóê "%s"'),
672 ('GAME ERROR FRAMES', 'Can''t load animation''s frame list "%s"',
673 'Íå óäàëîñü çàãðóçèòü ñïèñîê êàäðîâ àíèìàöèè: "%s"'),
674 ('GAME ERROR TR SOUND', 'Can''t load sound "%s:%s" for trigger',
675 'Íå óäàëîñü çàãðóçèòü çâóê "%s:%s" äëÿ òðèããåðà'),
676 ('GAME ERROR SWITCH TEXTURE', 'Texture switching error: no animation',
677 'Îøèáêà ïðè ïåðåêëþ÷åíèè òåêñòóðû: íåò àíèìàöèè'),
679 ('GAME PLAYER NAME', 'Player name',
680 'Èãðîê'),
681 ('GAME GAME TIME', 'Game time:',
682 'Âðåìÿ èãðû:'),
683 ('GAME PING', 'Ping (Loss)',
684 'Ïèíã (Ïîòåðè)'),
685 ('GAME PING MS', '%d ms (%d%%)',
686 '%d ìñ (%d%%)'),
687 ('GAME PING HUD', 'Ping: ',
688 'Ïèíã: '),
689 ('GAME FRAGS', 'Frags',
690 'Ôðàãîâ'),
691 ('GAME DEATHS', 'Deaths',
692 'Ñìåðòåé'),
693 ('GAME DM', 'Deathmatch',
694 'Deathmatch'),
695 ('GAME CTF', 'Capture the Flag',
696 'Capture the Flag'),
697 ('GAME TDM', 'Team Deathmatch',
698 'Team Deathmatch'),
699 ('GAME COOP', 'Cooperative',
700 'Cooperative'),
701 ('GAME LMS', 'Last Man Standing',
702 'Last Man Standing'),
703 ('GAME TLMS', 'Team LMS',
704 'Team LMS'),
705 ('GAME SURV', 'Survival',
706 'Survival'),
707 ('GAME FRAG LIMIT', 'Frag Limit: %d',
708 'ËÈÌÈÒ ÔÐÀÃÎÂ: %d'),
709 ('GAME SCORE LIMIT', 'Score Limit: %d',
710 'ËÈÌÈÒ Î×ÊÎÂ: %d'),
711 ('GAME TIME LIMIT', 'Time Limit: %d:%.2d:%.2d',
712 'ËÈÌÈÒ ÂÐÅÌÅÍÈ: %d:%.2d:%.2d'),
713 ('GAME TEAM SCORE RED', 'Red Team (%d)',
714 'ÊÐÀÑÍÀß ÊÎÌÀÍÄÀ (%d)'),
715 ('GAME TEAM SCORE BLUE', 'Blue Team (%d)',
716 'ÑÈÍßß ÊÎÌÀÍÄÀ (%d)'),
717 ('GAME TEAM RED', 'Red',
718 'ÊÐÀÑÍÀß'),
719 ('GAME TEAM BLUE', 'Blue',
720 'ÑÈÍßß'),
721 ('GAME WIN RED', 'Red Team Wins!',
722 'ÏÎÁÅÄÈËÀ ÊÐÀÑÍÀß ÊÎÌÀÍÄÀ!'),
723 ('GAME WIN BLUE', 'Blue Team Wins!',
724 'ÏÎÁÅÄÈËÀ ÑÈÍßß ÊÎÌÀÍÄÀ!'),
725 ('GAME WIN DRAW', 'Draw!',
726 'ÍÈ×Üß!'),
727 ('GAME MONSTERS', 'Monsters killed:',
728 'Ìîíñòðîâ óáèòî:'),
729 ('GAME SECRETS', 'Secrets found:',
730 'Ñåêðåòîâ íàéäåíî:'),
731 ('GAME MONSTERS TOTAL', 'Total monsters killed:',
732 'Âñåãî ìîíñòðîâ óáèòî:'),
733 ('GAME SECRETS TOTAL', 'Total secrets found:',
734 'Âñåãî ñåêðåòîâ íàéäåíî:'),
736 ('GAME CHEAT GODMODE', 'MACLEOD',
737 'ÃÎÐÅÖ'),
738 ('GAME CHEAT WEAPONS', 'RAMBO',
739 'RAMBO'),
740 ('GAME CHEAT HEALTH', 'TANK',
741 'TANK'),
742 ('GAME CHEAT DEATH', 'IDDQD',
743 'IDDQD'),
744 ('GAME CHEAT DOORS', 'SESAME',
745 'ÑÈÌÑÈÌ'),
746 ('GAME CHEAT NEXTMAP', 'GOODBYE',
747 'GOODBYE'),
748 ('GAME CHEAT CHANGEMAP', 'GOTO',
749 'ÏÎØÅËÍÀ'),
750 ('GAME CHEAT FLY', 'WHITEEAGLE',
751 'ÁÅËÛÉÎÐÅË'),
752 ('GAME CHEAT JUMPS', 'BULLFROG',
753 'BULLFROG'),
754 ('GAME CHEAT SPEED', 'FORMULA1',
755 'FORMULA1'),
756 ('GAME CHEAT SUIT', 'CONDOM',
757 'CONDOM'),
758 ('GAME CHEAT AIR', 'AQUAMAN',
759 '×ÅÐÍÎÌÎÐ'),
760 ('GAME CHEAT BERSERK', 'PURELOVE',
761 'PURELOVE'),
762 ('GAME CHEAT JETPACK', 'LUCYINTHESKY',
763 'ßÑÂÎÁÎÄÅÍ'),
764 ('GAME CHEAT NOCLIP', 'CASPER',
765 'CASPER'),
766 ('GAME CHEAT NOTARGET', 'JAMESBOND',
767 'ØÒÈÐËÈÖ'),
768 ('GAME CHEAT NORELOAD', 'INFERNO',
769 'INFERNO'),
770 ('GAME CHEAT AIMLINE', 'SNIPER',
771 'ÑÍÀÉÏÅÐ'),
772 ('GAME CHEAT AUTOMAP', 'ID2DT',
773 'ID2DT'),
775 ('GAME WEAPON0', 'Fist',
776 'Êàñòåò'),
777 ('GAME WEAPON1', 'Chainsaw',
778 'Áåíçîïèëà'),
779 ('GAME WEAPON2', 'Pistol',
780 'Ïèñòîëåò'),
781 ('GAME WEAPON3', 'Shotgun',
782 'Äðîáîâèê'),
783 ('GAME WEAPON4', 'Super Shotgun',
784 'Äâóñòâîëêà'),
785 ('GAME WEAPON5', 'Chaingun',
786 'Ïóëåì¸ò'),
787 ('GAME WEAPON6', 'Rocket Launcher',
788 'Ðàêåòíèöà'),
789 ('GAME WEAPON7', 'Plasma Gun',
790 'Ïëàçìàãàí'),
791 ('GAME WEAPON8', 'BFG9000',
792 'BFG9000'),
793 ('GAME WEAPON9', 'Super Chaingun',
794 'Ñóïåðïóëåì¸ò'),
795 ('GAME WEAPON10', 'Flamethrower',
796 'Îãíåì¸ò'),
798 ('MENU START GAME', 'Start Game',
799 'ÍÀ×ÀÒÜ ÈÃÐÓ'),
800 ('MENU MAIN MENU', 'Menu',
801 'ÌÅÍÞ'),
802 ('MENU NEW GAME', 'New Game',
803 'ÍÎÂÀß ÈÃÐÀ'),
804 ('MENU MULTIPLAYER', 'Multiplayer',
805 'ÌÓËÜÒÈÏËÅÅÐ'),
806 ('MENU OPTIONS', 'Options',
807 'ÍÀÑÒÐÎÉÊÈ'),
808 ('MENU AUTHORS', 'Credits',
809 'ÀÂÒÎÐÛ'),
810 ('MENU EXIT', 'Exit',
811 'ÂÛÕÎÄ'),
812 ('MENU 1 PLAYER', 'Single player',
813 'ÎÄÈÍ ÈÃÐÎÊ'),
814 ('MENU 2 PLAYERS', 'Two players',
815 'ÄÂÀ ÈÃÐÎÊÀ'),
816 ('MENU CUSTOM GAME', 'Custom game',
817 'ÑÂÎß ÈÃÐÀ'),
818 ('MENU CAMPAIGN', 'Campaign select',
819 'ÂÛÁÎÐ ÊÀÌÏÀÍÈÈ'),
820 ('MENU START SERVER', 'Start server',
821 'ÑÎÇÄÀÒÜ ÑÅÐÂÅÐ'),
822 ('MENU START CLIENT', 'Join game',
823 'ÂÑÒÓÏÈÒÜ Â ÈÃÐÓ'),
824 ('MENU CLIENT CONNECT', 'Connect',
825 'Ïðèñîåäèíèòüñÿ'),
826 ('MENU SELECT MAP', 'Map',
827 'ÊÀÐÒÀ'),
828 ('MENU VIDEO OPTIONS', 'Video',
829 'ÂÈÄÅÎ'),
830 ('MENU SOUND OPTIONS', 'Sound',
831 'ÇÂÓÊ'),
832 ('MENU SAVED OPTIONS', 'Saved options',
833 'ÑÎÕÐÀͨÍÍÛÅ'),
834 ('MENU DEFAULT OPTIONS', 'Default options',
835 'ÑÒÀÍÄÀÐÒÍÛÅ'),
836 ('MENU GAME OPTIONS', 'Gameplay',
837 'ÈÃÐÀ'),
838 ('MENU CONTROLS OPTIONS', 'Controls',
839 'ÓÏÐÀÂËÅÍÈÅ'),
840 ('MENU PLAYER OPTIONS', 'Players',
841 'ÈÃÐÎÊÈ'),
842 ('MENU LANGUAGE OPTIONS', 'Language',
843 'ßÇÛÊ'),
844 ('MENU CHANGE PLAYERS', 'Change players',
845 'ÑÌÅÍÀ ÑÎÑÒÀÂÀ'),
846 ('MENU LOAD GAME', 'Load game',
847 'ÑÒÀÐÀß ÈÃÐÀ'),
848 ('MENU SAVE GAME', 'Save game',
849 'ÑÎÕÐÀÍÈÒÜ ÈÃÐÓ'),
850 ('MENU END GAME', 'End game',
851 'ÇÀÊÎÍ×ÈÒÜ ÈÃÐÓ'),
852 ('MENU RESTART', 'Restart game',
853 'ÍÀ×ÀÒÜ ÇÀÍÎÂÎ'),
854 ('MENU SET GAME', 'Setup game',
855 'ÐÀÇÍÎÅ'),
857 ('MENU JOIN RED', 'Join Red',
858 'ÂÎÉÒÈ ÇÀ ÊÐÀÑÍÛÕ'),
859 ('MENU JOIN BLUE', 'Join Blue',
860 'ÂÎÉÒÈ ÇÀ ÑÈÍÈÕ'),
861 ('MENU JOIN GAME', 'Join Game',
862 'ÂÎÉÒÈ Â ÈÃÐÓ'),
863 ('MENU ADD PLAYER 2', 'Add Player 2',
864 'ÄÎÁÀÂÈÒÜ ÂÒÎÐÎÃÎ ÈÃÐÎÊÀ'),
865 ('MENU REM PLAYER 2', 'Remove Player 2',
866 'ÓÁÐÀÒÜ ÂÒÎÐÎÃÎ ÈÃÐÎÊÀ'),
867 ('MENU SPECTATE', 'Spectate',
868 'ÍÀÁËÞÄÀÒÜ'),
870 ('MENU STATISTICS', 'Statistics',
871 'ÑÒÀÒÈÑÒÈÊÀ ÈÃÐÛ'),
872 ('MENU MAP', 'Map:',
873 'Êàðòà:'),
874 ('MENU GAME TYPE', 'Game type:',
875 'Ðåæèì èãðû:'),
876 ('MENU GAME TYPE DM', 'DM',
877 'DM'),
878 ('MENU GAME TYPE CTF', 'CTF',
879 'CTF'),
880 ('MENU GAME TYPE TDM', 'TDM',
881 'TDM'),
882 ('MENU GAME TYPE COOP', 'COOP',
883 'COOP'),
884 ('MENU GAME TYPE SINGLE', 'SINGLE',
885 'SINGLE'),
886 ('MENU TIME LIMIT', 'Time Limit:',
887 'Ëèìèò âðåìåíè:'),
888 ('MENU GOAL LIMIT', 'Score Limit:',
889 'Ëèìèò î÷êîâ:'),
890 ('MENU MAX LIVES', 'Lives:',
891 'Æèçíè:'),
892 ('MENU TEAM DAMAGE', 'Friendly Fire:',
893 'Óðîí ñâîèõ:'),
894 ('MENU ENABLE EXITS', 'Enable Exit:',
895 'Âêëþ÷èòü âûõîä:'),
896 ('MENU WEAPONS STAY', 'Weapons stay:',
897 'Îðóæèå îñòà¸òñÿ:'),
898 ('MENU ENABLE MONSTERS', 'Enable monsters:',
899 'Ìîíñòðû:'),
900 ('MENU BOTS VS', 'Bots fight with:',
901 'Áîòû ïðîòèâ:'),
902 ('MENU BOTS VS PLAYERS', 'Players',
903 'Èãðîêîâ'),
904 ('MENU BOTS VS MONSTERS', 'Monsters',
905 'Ìîíñòðîâ'),
906 ('MENU BOTS VS ALL', 'Everybody',
907 'Âñåõ'),
909 ('MENU MAP WAD', 'Select WAD:',
910 'Âûáîð WAD''à:'),
911 ('MENU MAP RESOURCE', 'Select Map:',
912 'Âûáîð êàðòû:'),
913 ('MENU MAP NAME', 'Name:',
914 'Íàçâàíèå:'),
915 ('MENU MAP AUTHOR', 'Author:',
916 'Àâòîð:'),
917 ('MENU MAP DESCRIPTION', 'Description:',
918 'Îïèñàíèå:'),
919 ('MENU MAP SIZE', 'Size:',
920 'Ðàçìåð:'),
921 ('MENU PLAYERS', 'Players:',
922 '×èñëî èãðîêîâ:'),
923 ('MENU PLAYERS ONE', 'One',
924 'Îäèí'),
925 ('MENU PLAYERS TWO', 'Two',
926 'Äâà'),
927 ('MENU SERVER PLAYERS', 'Local Players:',
928 'Ëîêàëüíûå èãðîêè:'),
930 ('MENU INTER MISSION FAIL', 'Mission Failed',
931 'ÌÈÑÑÈß ÏÐÎÂÀËÅÍÀ'),
932 ('MENU INTER ROUND OVER', 'Round Over',
933 'ÐÀÓÍÄ ÎÊÎÍ×ÅÍ'),
934 ('MENU INTER LEVEL COMPLETE', 'Level Complete',
935 'ÓÐÎÂÅÍÜ ÏÐÎÉÄÅÍ'),
936 ('MENU INTER TIME', 'Time:',
937 'ÂÐÅÌß:'),
938 ('MENU INTER KILLS', 'Kills:',
939 'ÓÁÈË:'),
940 ('MENU INTER KPM', 'Kills-per-minute:',
941 'ÓÁÈÉÑÒÂ Â ÌÈÍÓÒÓ:'),
942 ('MENU INTER SECRETS', 'Secrets found:',
943 'ÍÀØ¨Ë ÑÅÊÐÅÒÎÂ:'),
944 ('MENU INTER NOTICE TAB', 'Press [TAB] to view stats',
945 'Íàæìèòå [TAB] äëÿ ïðîñìîòðà ñòàòèñòèêè'),
946 ('MENU INTER NOTICE MAP', 'Please wait until map change',
947 'Ïîäîæäèòå, ïîêà ñìåíèòñÿ êàðòà íà ñåðâåðå'),
948 ('MENU INTER NOTICE SPACE', 'Press [SPACE] to continue',
949 'Íàæìèòå [ÏÐÎÁÅË], ÷òîáû ïðîäîëæèòü'),
950 ('MENU INTER NOTICE TIME', '%d seconds till the next round',
951 'Îñòàëîñü %d ñåêóíä äî ñëåäóþùåãî ðàóíäà'),
952 ('MENU LOADING', 'Loading...',
953 'Çàãðóçêà...'),
954 ('MENU PLAYER 1', 'Player 1',
955 'Ïåðâûé èãðîê'),
956 ('MENU PLAYER 2', 'Player 2',
957 'Âòîðîé èãðîê'),
958 ('MENU PLAYER 1 KBD', 'Player 1 Keys',
959 'Ïåðâûé èãðîê, êëàâèàòóðà'),
960 ('MENU PLAYER 2 KBD', 'Player 2 Keys',
961 'Âòîðîé èãðîê, êëàâèàòóðà'),
962 ('MENU PLAYER 1 ALT', 'Player 1 GAMEPAD',
963 'Ïåðâûé èãðîê, GAMEPAD'),
964 ('MENU PLAYER 2 ALT', 'Player 2 GAMEPAD',
965 'Âòîðîé èãðîê, GAMEPAD'),
966 ('MENU PLAYER 1 WEAPONS', 'Player 1 Weapons',
967 'Ïåðâûé èãðîê, îðóæèå'),
968 ('MENU PLAYER 2 WEAPONS', 'Player 2 Weapons',
969 'Âòîðîé èãðîê, îðóæèå'),
971 ('MENU CONTROL JOYSTICKS', 'Joystick Settings',
972 'Íàñòðîéêè äæîéñòèêîâ'),
973 ('MENU CONTROL DEADZONE', 'Joystick %d Deadzone',
974 '̸ðòâàÿ çîíà äæîéñòèêà %d'),
976 ('MENU CONTROL GLOBAL', 'Global Controls',
977 'ÎÁÙÅÅ ÓÏÐÀÂËÅÍÈÅ'),
978 ('MENU CONTROL SCREENSHOT', 'Screenshot:',
979 'Ñêðèíøîò:'),
980 ('MENU CONTROL STAT', 'Statistics:',
981 'Ñòàòèñòèêà:'),
982 ('MENU CONTROL CHAT', 'Chat:',
983 '×àò:'),
984 ('MENU CONTROL TEAMCHAT', 'Team chat:',
985 'Êîìàíäíûé ÷àò:'),
986 ('MENU CONTROL LEFT', 'Left:',
987 'Âëåâî:'),
988 ('MENU CONTROL RIGHT', 'Right:',
989 'Âïðàâî:'),
990 ('MENU CONTROL UP', 'Up:',
991 'Ââåðõ:'),
992 ('MENU CONTROL DOWN', 'Down:',
993 'Âíèç:'),
994 ('MENU CONTROL JUMP', 'Jump:',
995 'Ïðûæîê:'),
996 ('MENU CONTROL FIRE', 'Fire:',
997 'Îãîíü:'),
998 ('MENU CONTROL USE', 'Use / Open:',
999 'Èñïîëüçîâàòü:'),
1000 ('MENU CONTROL NEXT WEAPON', 'Next weapon:',
1001 'Ñëåä. îðóæèå:'),
1002 ('MENU CONTROL PREV WEAPON', 'Prev weapon:',
1003 'Ïðåä. îðóæèå:'),
1004 ('MENU CONTROL STRAFE', 'Strafe:',
1005 'Ëóííàÿ ïîõîäêà:'),
1007 ('MENU COUNT NONE', 'None',
1008 'Íåò'),
1009 ('MENU COUNT SMALL', 'Little bit',
1010 'Ìàëî'),
1011 ('MENU COUNT NORMAL', 'Normal',
1012 'Ñðåäíå'),
1013 ('MENU COUNT BIG', 'Lots',
1014 'Ìíîãî'),
1015 ('MENU COUNT VERYBIG', 'Lots and lots',
1016 'Î÷åíü ìíîãî'),
1018 ('MENU GAME BLOOD COUNT', 'Blood amount:',
1019 'Êîëè÷åñòâî êðîâè:'),
1020 ('MENU GAME MAX GIBS', 'Gib limit:',
1021 'Ëèìèò êóñêîâ:'),
1022 ('MENU GAME MAX CORPSES', 'Corpse limit:',
1023 'Ëèìèò òðóïîâ:'),
1024 ('MENU GAME GIBS COUNT', 'Gibs count:',
1025 'Êóñêîâ çà ðàç:'),
1026 ('MENU GAME MAX SHELLS', 'Shells limit:',
1027 'Ëèìèò ãèëüç:'),
1028 ('MENU GAME BLOOD TYPE', 'Blood type:',
1029 'Òèï êðîâè:'),
1030 ('MENU GAME BLOOD TYPE SIMPLE', 'Simple',
1031 'Ïðîñòàÿ'),
1032 ('MENU GAME BLOOD TYPE ADV', 'Dripping',
1033 'Êàïàþùàÿ'),
1034 ('MENU GAME CORPSE TYPE', 'Corpse type:',
1035 'Òèï òðóïîâ:'),
1036 ('MENU GAME CORPSE TYPE SIMPLE', 'Simple',
1037 'Íåïîäâèæíûå'),
1038 ('MENU GAME CORPSE TYPE ADV', 'Interactive',
1039 'Ñ ôèçèêîé'),
1040 ('MENU GAME GIBS TYPE', 'Gibs type:',
1041 'Òèï êóñêîâ:'),
1042 ('MENU GAME GIBS TYPE SIMPLE', 'Simple',
1043 'Íåïîäâèæíûå'),
1044 ('MENU GAME GIBS TYPE ADV', 'Interactive',
1045 'Ñ ôèçèêîé'),
1046 ('MENU GAME PARTICLES COUNT', 'Particle limit:',
1047 'Ëèìèò ÷àñòèö:'),
1048 ('MENU GAME SCREEN FLASH', 'Screen flash:',
1049 'Âñïûøêè ýêðàíà:'),
1050 ('MENU GAME BACKGROUND', 'Draw background:',
1051 'Ðèñîâàòü ôîí:'),
1052 ('MENU GAME MESSAGES', 'Show messages:',
1053 'Âûâîäèòü ñîîáùåíèÿ:'),
1054 ('MENU GAME REVERT PLAYERS', 'Revert players:',
1055 'Âòîðîé èãðîê ñâåðõó:'),
1056 ('MENU GAME CHAT BUBBLE', 'Chat bubbles:',
1057 'Èêîíêà ÷àòà:'),
1058 ('MENU GAME CHAT TYPE NONE', 'None',
1059 'Íåò'),
1060 ('MENU GAME CHAT TYPE SIMPLE', 'Simple',
1061 'Ïðîñòàÿ'),
1062 ('MENU GAME CHAT TYPE ADV', 'Advanced',
1063 'Ïðîäâèíóòàÿ'),
1064 ('MENU GAME CHAT TYPE COLOR', 'Colored',
1065 'Öâåòíàÿ'),
1066 ('MENU GAME CHAT TYPE TEXTURE', 'Textured',
1067 'Òåêñòóðà'),
1069 ('MENU VIDEO RESOLUTION', 'Set video mode',
1070 'Óñòàíîâêà âèäåîðåæèìà'),
1071 ('MENU VIDEO BPP', 'Color depth:',
1072 'Ãëóáèíà öâåòà:'),
1073 ('MENU VIDEO VSYNC', 'Vertical sync',
1074 'Âåðòèêàëüíàÿ ñèíõðîíèçàöèÿ:'),
1075 ('MENU VIDEO FILTER SKY', 'Anisotropic sky',
1076 'Ôèëüòðàöèÿ íåáà:'),
1077 ('MENU VIDEO LEGACY COMPATIBLE', 'Compatibility with NPOT textures:',
1078 'Ñîâìåñòèìîñòü ñ NPOT-òåêñòóðàìè:'),
1079 ('MENU VIDEO NEED RESTART', 'Video settings will be changed after game restart.',
1080 'Äàííûå íàñòðîéêè âèäåî âñòóïÿò â ñèëó ïîñëå ïåðåçàïóñêà èãðû.'),
1082 ('MENU RESOLUTION SELECT', 'SET VIDEO MODE',
1083 'ÓÑÒÀÍÎÂÊÀ ÂÈÄÅÎÐÅÆÈÌÀ'),
1084 ('MENU RESOLUTION CURRENT', 'Current:',
1085 'Òåêóùèé:'),
1086 ('MENU RESOLUTION LIST', 'New:',
1087 'Íîâûé:'),
1088 ('MENU RESOLUTION FULLSCREEN', 'Fullscreen:',
1089 'Ïîëíûé ýêðàí:'),
1090 ('MENU RESOLUTION APPLY', 'Apply',
1091 'Ïðèìåíèòü'),
1093 ('MENU SOUND MUSIC LEVEL', 'Music volume:',
1094 'Ãðîìêîñòü ìóçûêè:'),
1095 ('MENU SOUND SOUND LEVEL', 'Sound volume:',
1096 'Ãðîìêîñòü çâóêà:'),
1097 ('MENU SOUND MAX SIM SOUNDS', 'Similar sounds limit:',
1098 'Ëèìèò îäíîãî çâóêà:'),
1099 ('MENU SOUND INACTIVE SOUNDS', 'Window inactive:',
1100 'Îêíî íåàêòèâíî:'),
1101 ('MENU SOUND INACTIVE SOUNDS ON', 'Play sounds',
1102 'Çâóêè åñòü'),
1103 ('MENU SOUND INACTIVE SOUNDS OFF', 'Mute sounds',
1104 'Çâóêîâ íåò'),
1105 ('MENU SOUND ANNOUNCE', 'Announcements:',
1106 'Îáúÿâëåíèÿ:'),
1107 ('MENU SOUND COMPAT', 'Sound FX set:',
1108 'Íàáîð çâóêîâ:'),
1109 ('MENU ANNOUNCE NONE', 'None',
1110 'Íåò'),
1111 ('MENU ANNOUNCE ME', 'Only own announcers',
1112 'Òîëüêî ìîè'),
1113 ('MENU ANNOUNCE MEPLUS', 'Own + multikills',
1114 'Ìîè + ìóëüòèêèëëû'),
1115 ('MENU ANNOUNCE ALL', 'All announcers',
1116 'Âñå'),
1117 ('MENU COMPAT DF', 'Doom 2D',
1118 'Doom 2D'),
1119 ('MENU COMPAT DOOM2', 'Doom II',
1120 'Doom II'),
1122 ('MENU PLAYER NAME', 'Name:',
1123 'Èìÿ:'),
1124 ('MENU PLAYER TEAM', 'Team:',
1125 'Êîìàíäà:'),
1126 ('MENU PLAYER TEAM RED', 'Red',
1127 'Êðàñíàÿ'),
1128 ('MENU PLAYER TEAM BLUE', 'Blue',
1129 'Ñèíÿÿ'),
1130 ('MENU PLAYER MODEL', 'Model:',
1131 'Ìîäåëü:'),
1132 ('MENU PLAYER RED', 'Red:',
1133 'Êðàñíûé:'),
1134 ('MENU PLAYER GREEN', 'Green:',
1135 'Çåë¸íûé:'),
1136 ('MENU PLAYER BLUE', 'Blue:',
1137 'Ñèíèé:'),
1139 ('MENU MODEL INFO', 'Model info',
1140 'Èíôîðìàöèÿ î ìîäåëè'),
1141 ('MENU MODEL ANIMATION', 'Change animation',
1142 'Ñìåíèòü àíèìàöèþ'),
1143 ('MENU MODEL CHANGE WEAPON', 'Change weapon',
1144 'Ñìåíèòü îðóæèå'),
1145 ('MENU MODEL ROTATE', 'Reflect model',
1146 'Ðàçâåðíóòü ìîäåëü'),
1147 ('MENU MODEL NAME', 'Name:',
1148 'Èìÿ:'),
1149 ('MENU MODEL AUTHOR', 'Author:',
1150 'Àâòîð:'),
1151 ('MENU MODEL COMMENT', 'Description:',
1152 'Êîììåíòàðèé:'),
1153 ('MENU MODEL OPTIONS', 'Model Options:',
1154 'Îïöèè ìîäåëè:'),
1155 ('MENU MODEL WEAPON', 'Weapon:',
1156 'Îðóæèå:'),
1158 ('MENU LANGUAGE RUSSIAN', 'Ðóññêèé',
1159 'Ðóññêèé'),
1160 ('MENU LANGUAGE ENGLISH', 'English',
1161 'English'),
1163 ('MENU PAUSE', 'Pause',
1164 'ÏÀÓÇÀ'),
1165 ('MENU YES', 'Yes',
1166 'Äà'),
1167 ('MENU NO', 'No',
1168 'Íåò'),
1169 ('MENU OK', 'OK',
1170 'OK'),
1171 ('MENU FINISH', 'Done',
1172 'Ãîòîâî'),
1174 ('MENU END GAME PROMT', 'Do you want to end the game?',
1175 'Âû äåéñòâèòåëüíî õîòèòå çàêîí÷èòü èãðó?'),
1176 ('MENU RESTART GAME PROMT', 'Do you want to restart level?',
1177 'Âû äåéñòâèòåëüíî õîòèòå íà÷àòü óðîâåíü çàíîâî?'),
1178 ('MENU EXIT PROMT', 'Chickening out already?',
1179 'Âû äåéñòâèòåëüíî õîòèòå âûéòè èç Doom 2D: Forever?'),
1180 ('MENU SET DEFAULT PROMT', 'Load default settings?',
1181 'Èçìåíèòü âñå íàñòðîéêè íà ñòàíäàðòíûå?'),
1182 ('MENU LOAD SAVED PROMT', 'Load saved settings?',
1183 'Âåðíóòü âñå íàñòðîéêè íà ñîõðàí¸ííûå?'),
1184 ('MENU ENTER PASSWORD', 'This server requires a password to join.',
1185 'Ýòîò ñåðâåð òðåáóåò ïàðîëü.'),
1187 ('NET SERVER', 'Server',
1188 'Ñåðâåð'),
1189 ('NET CLIENT', 'Client',
1190 'Êëèåíò'),
1191 ('NET ADDRESS', 'Address:',
1192 'Àäðåñ:'),
1193 ('NET PORT', 'Port:',
1194 'Ïîðò:'),
1195 ('NET SERVER NAME', 'Server name:',
1196 'Íàçâàíèå:'),
1197 ('NET SERVER PASSWORD', 'Password:',
1198 'Ïàðîëü:'),
1199 ('NET MAX CLIENTS', 'Player limit:',
1200 'Ëèìèò èãðîêîâ:'),
1201 ('NET USE MASTER', 'Public server:',
1202 'Ïóáëè÷íûé ñåðâåð:'),
1204 ('NET MSG', 'NET: ',
1205 'NET: '),
1206 ('NET MSG ERROR', 'NET: ERROR: ',
1207 'NET: ÎØÈÁÊÀ: '),
1208 ('NET MSG FERROR', 'NET: FATAL ERROR: ',
1209 'NET: ÊÐÈÒÈ×ÅÑÊÀß ÎØÈÁÊÀ: '),
1211 ('NET MSG HOST', 'Starting server on the port %d...',
1212 'Âêëþ÷àåì ñåðâåð íà ïîðòó %d...'),
1213 ('NET MSG HOST DISCALL', 'Disconnecting clients...',
1214 'Îòêëþ÷àåì èãðîêîâ...'),
1215 ('NET MSG HOST DIE', 'Shutting down server...',
1216 'Âûêëþ÷àåì ñåðâåð...'),
1217 ('NET MSG HOST CONN', 'Somebody is trying to connect from %s:%d.',
1218 'Ïîïûòêà ñîåäèíåíèÿ ñ àäðåñà %s:%d.'),
1219 ('NET MSG HOST REJECT', 'Connection rejected. Reason: ',
1220 ' ñîåäèíåíèè îòêàçàíî. Ïðè÷èíà: '),
1221 ('NET MSG HOST ADD', 'Client #%d added. Awaiting info...',
1222 'Äîáàâëåí êëèåíò ¹%d. Æäåì îòâåòà...'),
1223 ('NET MSG HOST DISC', 'Client #%d disconnected.',
1224 'Êëèåíò ¹%d îòêëþ÷¸í.'),
1225 ('NET MSG CLIENT CONN', 'Trying to connect to %s:%d...',
1226 'Ïûòàåìñÿ ñîåäèíèòüñÿ ñ %s:%d...'),
1227 ('NET MSG CLIENT DONE', 'Connected!',
1228 'Ñîåäèíåíèå âûïîëíåíî.'),
1229 ('NET MSG CLIENT DISC', 'Disconnected.',
1230 'Îòêëþ÷åíèå âûïîëíåíî.'),
1231 ('NET MSG KICK', 'You were dropped from the game! Reason: ',
1232 'Âàñ âûáðîñèëî ñ ñåðâåðà! Ïðè÷èíà: '),
1234 ('NET MAP DL', 'Map %s not found. Downloading from the server...',
1235 'Êàðòà %s íå íàéäåíà. Ñêà÷èâàåì ñ ñåðâåðà...'),
1236 ('NET WAD DL', 'WAD %s not found. Downloading from the server...',
1237 'WAD %s íå íàéäåí. Ñêà÷èâàåì ñ ñåðâåðà...'),
1239 ('NET ERR ENET', 'Failed to init ENet!',
1240 'Íå ïîëó÷èëîñü ïîäêëþ÷èòü ENet!'),
1241 ('NET ERR HOST', 'Could not start server on port %d!',
1242 'Íå ïîëó÷èëîñü âêëþ÷èòü ñåðâåð íà ïîðòó %d!'),
1243 ('NET ERR INGAME', 'You are already in the net game!',
1244 'Âû óæå â ñåòåâîé èãðå!'),
1245 ('NET ERR CLIENT', 'Could not create client!',
1246 'Íå ïîëó÷èëîñü ñîçäàòü êëèåíò!'),
1247 ('NET ERR CONN', 'Connection failed!',
1248 'Íå âûøëî ñîåäèíèòüñÿ!'),
1249 ('NET ERR TIMEOUT', 'Connection timed out!',
1250 'Ñåðâåð íå îòâå÷àåò!'),
1251 ('NET ERR HASH', 'Your WAD is different from server''s!',
1252 'Âàø WAD îòëè÷àåòñÿ îò ñåðâåðíîãî!'),
1253 ('NET ERR NAME404', 'Player or client %s not found!',
1254 'Èãðîê èëè êëèåíò %s íå íàéäåí!'),
1256 ('NET DISC NONE', 'Server is down.',
1257 'Ñåðâåð íå îòâå÷àåò.'),
1258 ('NET DISC PROTOCOL', 'Net protocol version mismatch.',
1259 'Âåðñèè ñåòåâûõ ïðîòîêîëîâ íå ñîâïàäàþò.'),
1260 ('NET DISC VERSION', 'Game version mismatch.',
1261 'Âåðñèÿ èãðû íå ñîâïàäàåò ñ âåðñèåé ñåðâåðà.'),
1262 ('NET DISC FULL', 'Server is full.',
1263 'Ñåðâåð ïîëîí.'),
1264 ('NET DISC KICK', 'Kicked by server admin.',
1265 'Âû áûëè îòêëþ÷åíû àäìèíèñòðàòîðîì.'),
1266 ('NET DISC DOWN', 'Server is shutting down.',
1267 'Ñåðâåð âûêëþ÷àåòñÿ.'),
1268 ('NET DISC PASSWORD', 'Invalid password.',
1269 'Íåâåðíûé ïàðîëü.'),
1270 ('NET DISC TEMPBAN', 'You are banned until the round end.',
1271 'Âû çàáàíåíû äî êîíöà ðàóíäà.'),
1272 ('NET DISC BAN', 'You are banned. Contact the server administrator.',
1273 'Âû çàáàíåíû. Ñâÿæèòåñü ñ àäìèíèñòðàòîðîì ñåðâåðà.'),
1275 ('NET SLIST', 'Server list',
1276 'Ñïèñîê ñåðâåðîâ'),
1277 ('NET SLIST NOSERVERS', 'No active servers.',
1278 'Íåò àêòèâíûõ ñåðâåðîâ.'),
1279 ('NET SLIST SERVERS', ' server(s)',
1280 ' ñåðâåð(à, îâ)'),
1281 ('NET SLIST HELP', '[ENTER] - join [SPACE] - refresh [ESC] - quit',
1282 '[ENTER] - ïðèñîåäèíèòüñÿ [SPACE] - îáíîâèòü [ESC] - ìåíþ'),
1283 ('NET SLIST WAIT', 'Please wait...',
1284 'Ïîäîæäèòå...'),
1285 ('NET SLIST PING MS', ' ms',
1286 ' ìñ'),
1287 ('NET SLIST NO ACCESS', 'N/A',
1288 'Í/Ä'),
1290 ('NET SLIST FETCH', 'Fetching server list...',
1291 'Ïîëó÷àåì ñïèñîê ñåðâåðîâ...'),
1292 ('NET SLIST RETRIEVED', '%d servers retrieved.',
1293 'Ïîëó÷åíî ñåðâåðîâ: %d'),
1294 ('NET SLIST CONN', 'Connected to masterserver.',
1295 'Ïîäêëþ÷èëèñü ê ìàñòåðñåðâåðó.'),
1296 ('NET SLIST DISC', 'Disconnected from masterserver.',
1297 'Îòêëþ÷èëèñü îò ìàñòåðñåðâåðà.'),
1298 ('NET SLIST LOST', 'Lost connection with masterserver.',
1299 'Ñîåäèíåíèå ñ ìàñòåðñåðâåðîì ïîòåðÿíî.'),
1300 ('NET SLIST ERROR', 'Could not connect to masterserver.',
1301 'Íå óäàëîñü ñîåäèíèòüñÿ ñ ìàñòåðñåðâåðîì.'),
1303 ('NET RCON VALID PWD', 'RCON password accepted. You can use RCON now.',
1304 'Ïàðîëü ïðèíÿò. Òåïåðü âû ìîæåòå èñïîëüçîâàòü RCON.'),
1305 ('NET RCON INVALID PWD', 'RCON password is invalid.',
1306 'Íåâåðíûé RCON ïàðîëü.'),
1307 ('NET RCON NOAUTH', 'You are not authorized to use RCON.',
1308 'Âû íå èìååòå ïðàâà èñïîëüçîâàòü RCON.'),
1310 ('PLAYER DIED', '*** %s died',
1311 '*** %s ïîãèá'),
1312 ('PLAYER KILL', '*** %s was killed by %s',
1313 '*** %s áûë óáèò %s'),
1314 ('PLAYER KILL EXTRAHARD 1', '*** %s was fragged by %s',
1315 '*** %s áûë ðàçîðâàí íà êóñêè %s'),
1316 ('PLAYER KILL EXTRAHARD 2', '*** %s was murdered by %s',
1317 '*** %s áûë çâåðñêè óáèò %s'),
1318 ('PLAYER KILL ACID', '*** %s dissolved in acid',
1319 '*** %s óòîíóë â êèñëîòå'),
1320 ('PLAYER KILL TRAP', '*** %s got caught in a trap',
1321 '*** %s íàïîðîëñÿ íà ëîâóøêó'),
1322 ('PLAYER KILL FALL', '*** %s fell too far',
1323 '*** %s óëåòåë'),
1324 ('PLAYER KILL SELF', '*** %s killed himself',
1325 '*** %s óáèë ñåáÿ'),
1326 ('PLAYER KILL WATER', '*** %s drowned',
1327 '*** %s óòîíóë'),
1329 ('PLAYER KILL 2X', '%s has a double kill!',
1330 '%s óáèë äâîèõ îäíîâðåìåííî!'),
1331 ('PLAYER KILL 3X', '%s has a triple kill!',
1332 '%s óáèë òðîèõ îäíîâðåìåííî!'),
1333 ('PLAYER KILL 4X', '%s has a multi kill!',
1334 '%s óáèë êó÷ó íàðîäó ðàçîì!'),
1335 ('PLAYER KILL MX', '%s has a m-m-m-monster kill!!!',
1336 '%s ïðîñòî ì-ì-ì-ìîíñòð-óáèéöà!!!'),
1338 ('PLAYER JOIN', '%s joined the game.',
1339 '%s ïðèñîåäèíèëñÿ ê èãðå.'),
1340 ('PLAYER LEAVE', '%s left the game.',
1341 '%s ïîêèíóë èãðó.'),
1342 ('PLAYER KICK', '%s was kicked by admin.',
1343 '%s áûë îòêëþ÷¸í àäìèíèñòðàòîðîì.'),
1344 ('PLAYER BAN', '%s was banned by admin.',
1345 '%s áûë çàáàíåí àäìèíèñòðàòîðîì.'),
1346 ('PLAYER NAME', '%s is now known as %s.',
1347 '%s òåïåðü èçâåñòåí êàê %s.'),
1348 ('PLAYER CHTEAM RED', '%s is now on Red.',
1349 '%s ïåðåøåë â Êðàñíóþ êîìàíäó.'),
1350 ('PLAYER CHTEAM BLUE', '%s is now on Blue.',
1351 '%s ïåðåøåë â Ñèíþþ êîìàíäó.'),
1353 ('PLAYER SPECT', 'Spectating',
1354 'Íàáëþäåíèå'),
1355 ('PLAYER SPECT1', '[USE] - spawn',
1356 '[ÎÒÊÐÛÒÜ] - îæèòü'),
1357 ('PLAYER SPECT1S', '(next round)',
1358 '(â ñëåäóþùåì ðàóíäå)'),
1359 ('PLAYER SPECT2', '[FIRE] - chase',
1360 '[ÎÃÎÍÜ] - ñëåäèòü'),
1361 ('PLAYER SPECT3', '[JUMP] - reset',
1362 '[ÏÐÛÆÎÊ] - ñáðîñ'),
1363 ('PLAYER SPECT4', 'You can''t spawn until current round ends.',
1364 'Âû íå ñìîæåòå âîçðîäèòüñÿ äî êîíöà ðàóíäà.'),
1366 ('PLAYER FLAG GET', '*** %s stole the %s flag!',
1367 '*** %s ñòàùèë %s ôëàã!'),
1368 ('PLAYER FLAG RETURN', '*** %s returned the %s flag!',
1369 '*** %s âåðíóë %s ôëàã!'),
1370 ('PLAYER FLAG CAPTURE', '*** %s captured the %s flag! (%s ms)',
1371 '*** %s ïðèí¸ñ %s ôëàã! (%s ìñ)'),
1372 ('PLAYER FLAG DROP', '*** %s dropped the %s flag!',
1373 '*** %s ïîòåðÿë %s ôëàã!'),
1374 ('PLAYER FLAG RED', 'red',
1375 'êðàñíûé'),
1376 ('PLAYER FLAG BLUE', 'blue',
1377 'ñèíèé'),
1379 ('PLAYER SCORE RED', 'Red',
1380 'Êðàñíàÿ'),
1381 ('PLAYER SCORE BLUE', 'Blue',
1382 'Ñèíÿÿ'),
1383 ('PLAYER SCORE TO RED', 'red',
1384 'êðàñíîé'),
1385 ('PLAYER SCORE TO BLUE', 'blue',
1386 'ñèíåé'),
1387 ('PLAYER SCORE ADD OWN', '*** %s got %d points for %s team!',
1388 '*** %s çàðàáîòàë %d î÷êîâ %s êîìàíäå!'),
1389 ('PLAYER SCORE SUB OWN', '*** %s lost %d points of %s team...',
1390 '*** %s ïîòåðÿë %d î÷êîâ %s êîìàíäû...'),
1391 ('PLAYER SCORE ADD ENEMY', '*** %s gave %d points to %s team...',
1392 '*** %s îòäàë %d î÷êîâ %s êîìàíäå...'),
1393 ('PLAYER SCORE SUB ENEMY', '*** %s took %d points from %s team!',
1394 '*** %s îòíÿë %d î÷êîâ ó %s êîìàíäû!'),
1395 ('PLAYER SCORE WIN OWN', '*** %s helped to win %s team!',
1396 '*** %s ïîìîã ïîáåäèòü %s êîìàíäå!'),
1397 ('PLAYER SCORE WIN ENEMY', '*** %s gave victory to %s team...',
1398 '*** %s îòäàë ïîáåäó %s êîìàíäå...'),
1399 ('PLAYER SCORE ADD TEAM', '*** %s team got %d points!',
1400 '*** %s êîìàíäà ïîëó÷àåò %d î÷êîâ!'),
1401 ('PLAYER SCORE SUB TEAM', '*** %s team loses %d points...',
1402 '*** %s êîìàíäà òåðÿåò %d î÷êîâ...'),
1404 ('MESSAGE FLAG GET', '%s flag stolen',
1405 '%s ÔËÀÃ ÓÊÐÀÄÅÍ'),
1406 ('MESSAGE FLAG RETURN', '%s flag returned',
1407 '%s ÔËÀà ÂÎÇÂÐÀÙ¨Í'),
1408 ('MESSAGE FLAG CAPTURE', '%s flag captured',
1409 '%s ÔËÀà ÇÀÕÂÀ×ÅÍ'),
1410 ('MESSAGE FLAG DROP', '%s flag dropped',
1411 '%s ÔËÀà ÏÎÒÅÐßÍ'),
1413 ('MESSAGE LMS LOSE', 'YOU''RE ALL LOSERS',
1414 'ÂÑÅ ÏÐÎÈÃÐÀËÈ'),
1415 ('MESSAGE LMS WIN', '%s WINS',
1416 'ÏÎÁÅÄÈÒÅËÜ - %s!'),
1417 ('MESSAGE LMS START', 'FIGHT!',
1418 'ÏÎÅÕÀËÈ!'),
1419 ('MESSAGE TLMS WIN', '%s TEAM WINS',
1420 '%s ÊÎÌÀÍÄÀ ÏÎÁÅÄÈËÀ!'),
1421 ('MESSAGE LMS SURVIVOR', 'YOU ARE THE LAST ONE ALIVE!',
1422 'ÂÑß ÍÀÄÅÆÄÀ ÒÎËÜÊÎ ÍÀ ÒÅÁß!'),
1424 ('MESSAGE SCORE ADD', '%s TEAM SCORES',
1425 '%s ÊÎÌÀÍÄÀ ÏÎËÓ×ÈËÀ Î×ÊÈ'),
1426 ('MESSAGE SCORE SUB', '%s TEAM LOST SCORES',
1427 '%s ÊÎÌÀÍÄÀ ÏÎÒÅÐßËÀ Î×ÊÈ'),
1429 ('MESSAGE VOTE INPROGRESS', 'A vote is already in progress for "%s".',
1430 'Óæå èä¸ò ãîëîñîâàíèå çà êîìàíäó "%s".'),
1431 ('MESSAGE VOTE STARTED', '%s called a vote for "%s".'#10'%d votes are required.',
1432 '%s íà÷àë ãîëîñîâàíèå çà êîìàíäó "%s".'#10'Äëÿ âûïîëíåíèÿ êîìàíäû òðåáóåòñÿ ãîëîñîâ: %d.'),
1433 ('MESSAGE VOTE PASSED', 'Vote passed. Executing "%s" in 5 seconds.',
1434 'Ãîëîñîâàíèå ïðîøëî óñïåøíî. Êîìàíäà "%s" áóäåò âûïîëíåíà ÷åðåç 5 ñåêóíä.'),
1435 ('MESSAGE VOTE FAILED', 'Vote failed: not enough people voted.',
1436 'Ãîëîñîâàíèå ïðîâàëèëîñü: íåäîñòàòî÷íî ãîëîñîâ "çà".'),
1437 ('MESSAGE VOTE VOTE', '%s votes "yes" (%d/%d votes total).',
1438 '%s ãîëîñóåò "çà" (%d/%d ãîëîñîâ âñåãî).'),
1439 ('MESSAGE VOTE REVOKED', '%s revokes his vote (%d/%d votes total).',
1440 '%s îòîçâàë ñâîé ãîëîñ (%d/%d ãîëîñîâ âñåãî).'),
1442 ('KEY UP', 'Up',
1443 'Ââåðõ'),
1444 ('KEY DOWN', 'Down',
1445 'Âíèç'),
1446 ('KEY LEFT', 'Left',
1447 'Âëåâî'),
1448 ('KEY RIGHT', 'Right',
1449 'Âïðàâî'),
1451 ('MONSTER DEMON', 'Pinky',
1452 'Äåìîíîì'),
1453 ('MONSTER IMP', 'Imp',
1454 'Áåñîì'),
1455 ('MONSTER ZOMBIE', 'Zombie',
1456 'Çîìáè'),
1457 ('MONSTER SERGEANT', 'Shotgun Guy',
1458 'Ñåðæàíòîì'),
1459 ('MONSTER CYBER', 'Cyberdemon',
1460 'Êèáåðäåìîíîì'),
1461 ('MONSTER CGUN', 'Commando',
1462 'Ïóëåì¸ò÷èêîì'),
1463 ('MONSTER BARON', 'Hell Baron',
1464 'Áàðîíîì àäà'),
1465 ('MONSTER KNIGHT', 'Hell Knight',
1466 'Ðûöàðåì àäà'),
1467 ('MONSTER CACODEMON', 'Cacodemon',
1468 'Êàêîäåìîíîì'),
1469 ('MONSTER SOUL', 'Lost Soul',
1470 'Îãíåííûì ÷åðåïîì'),
1471 ('MONSTER PAIN', 'Pain Elemental',
1472 'Àâèàáàçîé'),
1473 ('MONSTER MASTERMIND', 'Spider Mastermind',
1474 'Áîëüøèì ïàóêîì'),
1475 ('MONSTER SPIDER', 'Arachnotron',
1476 'Àðàõíîòðîíîì'),
1477 ('MONSTER MANCUBUS', 'Mancubus',
1478 'Ìàíêóáóñîì'),
1479 ('MONSTER REVENANT', 'Revenant',
1480 'Ñêåëåòîì'),
1481 ('MONSTER ARCHVILE', 'Arch-Vile',
1482 'Êîëäóíîì'),
1483 ('MONSTER FISH', 'Piranha',
1484 'Ðûáîé'),
1485 ('MONSTER BARREL', 'Barrel explosion',
1486 'âçðûâîì Áî÷êè'),
1487 ('MONSTER ROBOT', 'Robot',
1488 'Ðîáîòîì'),
1489 ('MONSTER PRIKOLIST', 'Prikolist',
1490 'Ïðèêîëèñòîì'),
1492 ('LOAD MUSIC', 'Music',
1493 'Ìóçûêà'),
1494 ('LOAD MODELS', 'Models',
1495 'Ìîäåëè'),
1496 ('LOAD MENUS', 'Menu sets',
1497 'Ìåíþ'),
1498 ('LOAD CONSOLE', 'Console',
1499 'Êîíñîëü'),
1500 ('LOAD ITEMS DATA', 'Items Data',
1501 'Ðåñóðñû ïðåäìåòîâ'),
1502 ('LOAD WEAPONS DATA', 'Weapons Data',
1503 'Ðåñóðñû îðóæèÿ'),
1504 ('LOAD GAME DATA', 'Game Data',
1505 'Ðåñóðñû ìîíñòðîâ è òä'),
1506 ('LOAD COLLIDE MAP', 'Collision Map',
1507 'Êàðòà ñòîëêíîâåíèé'),
1508 ('LOAD DOOR MAP', 'Door Map',
1509 'Êàðòà äâåðåé'),
1510 ('LOAD LIFT MAP', 'Streams Map',
1511 'Êàðòà ïîòîêîâ'),
1512 ('LOAD WATER MAP', 'Water Map',
1513 'Êàðòà âîäû'),
1514 ('LOAD WAD FILE', 'WAD File',
1515 'WAD-ôàéë'),
1516 ('LOAD MAP', 'Map',
1517 'Êàðòà'),
1518 ('LOAD TEXTURES', 'Textures',
1519 'Òåêñòóðû'),
1520 ('LOAD TRIGGERS', 'Triggers',
1521 'Òðèããåðû'),
1522 ('LOAD PANELS', 'Panels',
1523 'Ïàíåëè'),
1524 ('LOAD TRIGGERS TABLE', 'Trigger table',
1525 'Òàáëèöà òðèããåðîâ'),
1526 ('LOAD LINK TRIGGERS', 'Trigger links',
1527 'Ïðèâÿçêà òðèããåðîâ'),
1528 ('LOAD CREATE TRIGGERS', 'Trigger setup',
1529 'Ðàññòàíîâêà òðèããåðîâ'),
1530 ('LOAD ITEMS', 'Items',
1531 'Ïðåäìåòû'),
1532 ('LOAD CREATE ITEMS', 'Item setup',
1533 'Ñîçäàíèå ïðåäìåòîâ'),
1534 ('LOAD AREAS', 'Areas',
1535 'Îáëàñòè'),
1536 ('LOAD CREATE AREAS', 'Area setup',
1537 'Ñîçäàíèå îáëàñòåé'),
1538 ('LOAD MONSTERS', 'Monsters',
1539 'Ìîíñòðû'),
1540 ('LOAD CREATE MONSTERS', 'Monster setup',
1541 'Ñîçäàíèå ìîíñòðîâ'),
1542 ('LOAD MAP HEADER', 'Map Description',
1543 'Îïèñàíèå êàðòû'),
1544 ('LOAD SKY', 'Background',
1545 'Ôîí'),
1546 ('LOAD MONSTER TEXTURES', 'Monsters'' Textures',
1547 'Òåêñòóðû ìîíñòðîâ'),
1548 ('LOAD MONSTER SOUNDS', 'Monsters'' Sounds',
1549 'Çâóêè ìîíñòðîâ'),
1550 ('LOAD SAVE FILE', 'Save File',
1551 'Ôàéë ñîõðàíåíèÿ'),
1552 ('LOAD MAP STATE', 'Map State',
1553 'Íàñòðîéêà êàðòû'),
1554 ('LOAD ITEMS STATE', 'Items State',
1555 'Ðàññòàíîâêà ïðåäìåòîâ'),
1556 ('LOAD TRIGGERS STATE', 'Triggers State',
1557 'Óñòàíîâêà òðèããåðîâ'),
1558 ('LOAD WEAPONS STATE', 'Weapons State',
1559 'Ðàññòàíîâêà îðóæèÿ'),
1560 ('LOAD MONSTERS STATE', 'Monsters State',
1561 'Ðàññòàíîâêà ìîíñòðîâ'),
1562 ('LOAD CONNECT', 'Connecting ([ESC] to abort)',
1563 'Ñîåäèíåíèå ([ESC] - îòìåíèòü)'),
1564 ('LOAD SEND INFO', 'Sending client info',
1565 'Îòñûëêà èíôîðìàöèè'),
1566 ('LOAD WAIT INFO', 'Awaiting response ([ESC] to abort)',
1567 'Îæèäàíèå îòâåòà ([ESC] - îòìåíèòü)'),
1568 ('LOAD DL RES', 'Downloading resources...',
1569 'Ñêà÷èâàíèå ðåñóðñîâ...'),
1571 ('CREDITS CAP 1', 'Doom 2D: Forever',
1572 'Doom 2D: Forever'),
1573 ('CREDITS CAP 2', 'version %s, proto %d',
1574 'Âåðñèÿ %s, ïðîòîêîë %d'),
1575 ('CREDITS A 1', 'Project Author:',
1576 'Àâòîð ïðîåêòà:'),
1577 ('CREDITS A 1 1', 'rs.falcon',
1578 'rs.falcon'),
1579 ('CREDITS A 2', 'Programmers:',
1580 'Ïðîãðàììèñòû:'),
1581 ('CREDITS A 2 1', 'rs.falcon, PSS, PrimuS, Stas''M,',
1582 'rs.falcon, PSS, PrimuS, Stas''M,'),
1583 ('CREDITS A 2 2', 'ZURG, OutCast, ketmar',
1584 'ZURG, OutCast, ketmar'),
1585 ('CREDITS A 3', 'Artists:',
1586 'Õóäîæíèêè:'),
1587 ('CREDITS A 3 1', 'Jabberwock, Firehawk',
1588 'Jabberwock, Firehawk'),
1589 ('CREDITS A 4', 'Misc:',
1590 'Àññèñòåíòû:'),
1591 ('CREDITS A 4 1', 'Jabberwock, Black Doomer, DEAD, Grom PE',
1592 'Jabberwock, ×åðíûé Äóìåð, DEAD, Grom PE'),
1593 ('CREDITS CAP 3', 'Special thanks to:',
1594 'Áëàãîäàðèì:'),
1595 ('CREDITS CLO 1', '- Prikol Software for Doom 2D',
1596 '- Prikol Software çà Doom 2D'),
1597 ('CREDITS CLO 2', '- id Software for starting it all',
1598 '- id Software, êîòîðûå çàâàðèëè ýòó êàøó'),
1599 ('CREDITS CLO 3', '- Everyone who helped our project',
1600 '- Âñåõ, êòî ïîìîãàë íàøåìó ïðîåêòó'),
1601 ('CREDITS CLO 4', 'www.doom2d.org, 2003-2017',
1602 'www.doom2d.org, 2003-2017'),
1604 ('MSG SHOW FPS ON', 'FPS counter enabled',
1605 'FPS ïîêàçûâàþòñÿ'),
1606 ('MSG SHOW FPS OFF', 'FPS counter disabled',
1607 'FPS íå ïîêàçûâàþòñÿ'),
1608 ('MSG GAMEMODE CURRENT', 'Game Mode: %s',
1609 'Ðåæèì èãðû: %s'),
1610 ('MSG GAMEMODE CHANGE', 'Game Mode: %s (switch to %s next round)',
1611 'Ðåæèì èãðû: %s (áóäåò %s â ñëåäóþùåì ðàóíäå)'),
1612 ('MSG FRIENDLY FIRE ON', 'Friendly Fire enabled',
1613 'Óðîí ñâîèõ âêëþ÷¸í'),
1614 ('MSG FRIENDLY FIRE OFF', 'Friendly Fire disabled',
1615 'Óðîíà ñâîèõ íåò'),
1616 ('MSG WEAPONSTAY ON', 'Weapon Stay enabled',
1617 'Îðóæèå îñòà¸òñÿ ïîñëå ïîäáîðà'),
1618 ('MSG WEAPONSTAY OFF', 'Weapon Stay disabled',
1619 'Îðóæèå èñ÷åçàåò ïîñëå ïîäáîðà'),
1620 ('MSG ALLOWEXIT ON', 'Exit enabled*',
1621 'Âûõîä ñ êàðòû ðàçðåø¸í*'),
1622 ('MSG ALLOWEXIT OFF', 'Exit disabled*',
1623 'Âûõîä ñ êàðòû çàïðåù¸í*'),
1624 ('MSG ALLOWMON ON', 'Monsters in DM enabled*',
1625 'Ìîíñòðû â DM âêëþ÷åíû*'),
1626 ('MSG ALLOWMON OFF', 'Monsters in DM disabled*',
1627 'Ìîíñòðû â DM âûêëþ÷åíû*'),
1628 ('MSG BOTSVSPLAYERS ON', 'Bots attack players',
1629 'Áîòû ïðîòèâ èãðîêîâ'),
1630 ('MSG BOTSVSPLAYERS OFF', 'Bots ignore players',
1631 'Áîòû çà èãðîêîâ'),
1632 ('MSG BOTSVSMONSTERS ON', 'Bots attack monsters',
1633 'Áîòû ïðîòèâ ìîíñòðîâ'),
1634 ('MSG BOTSVSMONSTERS OFF', 'Bots ignore monsters',
1635 'Áîòû èãíîðèðóþò ìîíñòðîâ'),
1636 ('MSG TIME ON', 'Time on',
1637 'Âðåìÿ ïîêàçûâàåòñÿ'),
1638 ('MSG TIME OFF', 'Time display off',
1639 'Âðåìÿ íå ïîêàçûâàåòñÿ'),
1640 ('MSG SCORE ON', 'Score display on',
1641 'Î÷êè ïîêàçûâàþòñÿ'),
1642 ('MSG SCORE OFF', 'Score display off',
1643 'Î÷êè íå ïîêàçûâàþòñÿ'),
1644 ('MSG STATS ON', 'Stats display on',
1645 'Ñòàòèñòèêà ïîêàçûâàåòñÿ'),
1646 ('MSG STATS OFF', 'Stats display off',
1647 'Ñòàòèñòèêà íå ïîêàçûâàåòñÿ'),
1648 ('MSG KILL MSGS ON', 'Death Messages on',
1649 'Ñîîáùåíèÿ î ñìåðòè åñòü'),
1650 ('MSG KILL MSGS OFF', 'Death Messages off',
1651 'Ñîîáùåíèé î ñìåðòè íåò'),
1652 ('MSG LIVES ON', 'Lives display on',
1653 'Æèçíè ïîêàçûâàþòñÿ'),
1654 ('MSG LIVES OFF', 'Lives display off',
1655 'Æèçíè íå ïîêàçûâàþòñÿ'),
1656 ('MSG SPECT HUD ON', 'Spectator HUD on',
1657 'Ñîñòîÿíèå íàáëþäàòåëÿ ïîêàçûâàåòñÿ'),
1658 ('MSG SPECT HUD OFF', 'Spectator HUD off',
1659 'Ñîñòîÿíèå íàáëþäàòåëÿ íå ïîêàçûâàåòñÿ'),
1660 ('MSG PING ON', 'Client ping display on',
1661 'Ïèíã êëèåíòà ïîêàçûâàåòñÿ'),
1662 ('MSG PING OFF', 'Client ping display off',
1663 'Ïèíã êëèåíòà íå ïîêàçûâàåòñÿ'),
1664 ('MSG NO WAD', 'WAD "%s" doesn''t exist!',
1665 'WAD ôàéë "%s" íå íàéäåí!'),
1666 ('MSG NO MAPS', 'WAD "%s" doesn''t contain any maps!',
1667 'WAD ôàéë "%s" íå ñîäåðæèò êàðò!'),
1668 ('MSG NO MAP', 'Map "%s" doesn''t exist!',
1669 'Êàðòà "%s" íå íàéäåíà!'),
1670 ('MSG NO MONSTER', 'Wrong monster type: "%s"!',
1671 '"%s" - íåò òàêîãî ìîíñòðà!'),
1672 ('MSG SCORE LIMIT', 'Score Limit is %d',
1673 'Ëèìèò î÷êîâ - %d'),
1674 ('MSG TIME LIMIT', 'Time Limit is %d:%.2d:%.2d',
1675 'Ëèìèò âðåìåíè - %d:%.2d:%.2d'),
1676 ('MSG LIVES', 'Max lives: %d',
1677 'Ìàêñ. æèçíåé ó èãðîêîâ: %d'),
1678 ('MSG WARMUP', 'Warmup time: %d seconds*',
1679 'Âðåìÿ íà ïîäãîòîâêó ê èãðå: %d ñåêóíä*'),
1680 ('MSG WARMUP START', '%d seconds until round start.',
1681 '%d ñåêóíä äî íà÷àëà ðàóíäà.'),
1682 ('MSG NEXTMAP SET', 'Next map: %s',
1683 'Ñëåäóþùàÿ êàðòà: %s'),
1684 ('MSG NEXTMAP UNSET', 'Next map is not set.',
1685 'Ñëåäóþùàÿ êàðòà íå çàäàíà.'),
1686 ('MSG ONMAPCHANGE', '* Changes to this variable will be applied upon next map change',
1687 '* Èçìåíåíèÿ âñòóïÿò â ñèëó ïîñëå ñëåäóþùåé ñìåíû êàðòû'),
1688 ('MSG NOT GAME', 'Command can be accepted in a game only.',
1689 'Êîìàíäà ïðèìåíèìà òîëüêî â èãðå.'),
1690 ('MSG NOT DEBUG', 'Command can be accepted in debug mode only.',
1691 'Êîìàíäà ïðèìåíèìà òîëüêî â ðåæèìå îòëàäêè.'),
1692 ('MSG GM UNAVAIL', 'This command is unavailable in the current game mode.',
1693 'Ýòà êîìàíäà íåäîñòóïíà â òåêóùåì ðåæèìå èãðû.'),
1694 ('MSG SERVERONLY', 'This command is for server only.',
1695 'Ýòà êîìàíäà äîñòóïíà òîëüêî â ðåæèìå ñåðâåðà.'),
1696 ('MSG NOCLIENTS', 'No clients connected.',
1697 'Íåò ïîäêëþ÷¸ííûõ êëèåíòîâ.'),
1698 ('MSG UNBAN OK', 'Client %s was unbanned.',
1699 'Áûë ñíÿò áàí ñ êëèåíòà %s.'),
1700 ('MSG UNBAN FAIL', 'Client %s not found in the ban list.',
1701 'Êëèåíò %s íå ÷èñëèòñÿ â ñïèñêå çàáàíåíûõ.'),
1703 ('TEXTURE ENDPIC', 'ENDGAME_EN',
1704 'ENDGAME_RU'),
1706 ('VERSION', 'Doom 2D: Forever %s',
1707 'Doom 2D: Forever %s'),
1709 ('FATAL ERROR', 'Fatal error: %s',
1710 'Êðèòè÷åñêàÿ îøèáêà: %s'),
1711 ('SIMPLE ERROR', 'Error: %s',
1712 'Îøèáêà: %s'),
1713 ('SYSTEM ERROR UNKNOWN', 'Something went seriously wrong. Guru meditation: $%.8x',
1714 'Õüþñòîí, ó íàñ íåèçâåñòíàÿ íàóêå ïðîáëåìà: $%.8x'),
1715 ('SYSTEM ERROR MSG', 'Something went wrong. Post Mortem: %s',
1716 'Ïðîèçîøëî ÷òî-òî íåëàäíîå: %s'),
1718 ('', '', '') );
1721 procedure SetupArrays();
1722 var
1723 i: LongWord;
1724 begin
1725 // Íàçâàíèÿ êëàâèø ïåðåìåùåíèÿ êóðñîðà:
1726 e_KeyNames[IK_UP] := _lc[I_KEY_UP] + ' ' + Chr(30);
1727 e_KeyNames[IK_LEFT] := _lc[I_KEY_LEFT] + ' ' + Chr(17);
1728 e_KeyNames[IK_RIGHT] := _lc[I_KEY_RIGHT] + ' ' + Chr(16);
1729 e_KeyNames[IK_DOWN] := _lc[I_KEY_DOWN] + ' ' + Chr(31);
1731 // Èìåíà ìîíñòðîâ â òâîðèòåëüíîì ïàäåæå:
1732 KilledByMonster[MONSTER_DEMON] := _lc[I_MONSTER_DEMON];
1733 KilledByMonster[MONSTER_IMP] := _lc[I_MONSTER_IMP];
1734 KilledByMonster[MONSTER_ZOMBY] := _lc[I_MONSTER_ZOMBIE];
1735 KilledByMonster[MONSTER_SERG] := _lc[I_MONSTER_SERGEANT];
1736 KilledByMonster[MONSTER_CYBER] := _lc[I_MONSTER_CYBER];
1737 KilledByMonster[MONSTER_CGUN] := _lc[I_MONSTER_CGUN];
1738 KilledByMonster[MONSTER_BARON] := _lc[I_MONSTER_BARON];
1739 KilledByMonster[MONSTER_KNIGHT] := _lc[I_MONSTER_KNIGHT];
1740 KilledByMonster[MONSTER_CACO] := _lc[I_MONSTER_CACODEMON];
1741 KilledByMonster[MONSTER_SOUL] := _lc[I_MONSTER_SOUL];
1742 KilledByMonster[MONSTER_PAIN] := _lc[I_MONSTER_PAIN];
1743 KilledByMonster[MONSTER_SPIDER] := _lc[I_MONSTER_MASTERMIND];
1744 KilledByMonster[MONSTER_BSP] := _lc[I_MONSTER_SPIDER];
1745 KilledByMonster[MONSTER_MANCUB] := _lc[I_MONSTER_MANCUBUS];
1746 KilledByMonster[MONSTER_SKEL] := _lc[I_MONSTER_REVENANT];
1747 KilledByMonster[MONSTER_VILE] := _lc[I_MONSTER_ARCHVILE];
1748 KilledByMonster[MONSTER_FISH] := _lc[I_MONSTER_FISH];
1749 KilledByMonster[MONSTER_BARREL] := _lc[I_MONSTER_BARREL];
1750 KilledByMonster[MONSTER_ROBO] := _lc[I_MONSTER_ROBOT];
1751 KilledByMonster[MONSTER_MAN] := _lc[I_MONSTER_PRIKOLIST];
1753 // ×èò-êîäû:
1754 for i := LongWord(Low(CheatEng)) to LongWord(High(CheatEng)) do
1755 begin
1756 CheatEng[TStrings_Locale(i)] := g_lang_default[TStrings_Locale(i)][LANGUAGE_ENGLISH_N];
1757 CheatRus[TStrings_Locale(i)] := g_lang_default[TStrings_Locale(i)][LANGUAGE_RUSSIAN_N];
1758 end;
1759 end;
1761 procedure g_Language_Load(fileName: String);
1762 var
1763 F: TextFile;
1764 key, value: String;
1765 i: TStrings_Locale;
1766 k: Integer;
1767 ok: Boolean;
1768 begin
1769 // Çíà÷åíèÿ ïî-óìîë÷àíèþ:
1770 for i := Low(TStrings_Locale) to High(TStrings_Locale) do
1771 _lc[i] := g_lang_default[i][LANGUAGE_ENGLISH_N];
1773 if FileExists(fileName) then
1774 begin
1775 AssignFile(F, fileName);
1776 ReSet(F);
1777 k := 0;
1779 // ×èòàåì ôàéë:
1780 while not EoF(F) do
1781 begin
1782 // ×èòàåì ñòðîêó:
1783 ReadLn(F, key);
1784 key := Trim(key);
1786 // Ñòðîêà - êëþ÷ ïåðåâîäà:
1787 if (key <> '') and
1788 (key[1] = '[') and
1789 (Pos(']', key) > 2) then
1790 begin
1791 key := UpperCase(Copy(key, 2, Pos(']', key)-2));
1793 // Ïðîïóñêàåì ïóñòûå ñòðîêè äî ñòðîêè - ïåðåâîäà:
1794 value := '';
1795 while (not EoF(F)) and (value = '') do
1796 begin
1797 ReadLn(F, value);
1798 value := Trim(value);
1799 end;
1801 // Åñòü ñòðîêà - ïåðåâîä:
1802 if value <> '' then
1803 begin
1804 // Èùåì èíäåêñ êëþ÷à ïåðåâîäà:
1805 ok := False;
1806 i := TStrings_Locale(k);
1808 // Îò òåêóùåãî ê ïåðâîìó:
1809 while i > Low(TStrings_Locale) do
1810 begin
1811 if g_lang_default[i][1] = key then
1812 begin
1813 _lc[i] := value;
1814 ok := True;
1815 Break;
1816 end;
1818 Dec(i);
1819 end;
1821 // Ïåðâûé:
1822 if not ok then
1823 begin
1824 i := Low(TStrings_Locale);
1826 if (g_lang_default[i][1] = key) then
1827 begin
1828 _lc[i] := value;
1829 ok := True;
1830 end;
1831 end;
1833 // Îò ñëóäóþùåãî çà òåêóùèì äî ïîñëåäíåãî:
1834 if not ok then
1835 begin
1836 i := TStrings_Locale(k);
1838 while i < High(TStrings_Locale) do
1839 begin
1840 Inc(i);
1842 if g_lang_default[i][1] = key then
1843 begin
1844 _lc[i] := value;
1845 Break;
1846 end;
1847 end;
1848 end;
1849 end;
1851 Inc(k);
1852 end;
1853 end;
1855 CloseFile(F);
1856 end
1857 else
1858 e_WriteLog('Language file "'+fileName+'" not found!', MSG_WARNING);
1860 SetupArrays();
1861 end;
1863 procedure g_Language_Set(lang: String);
1864 var
1865 i: TStrings_Locale;
1866 n: Byte;
1867 begin
1868 if lang = LANGUAGE_RUSSIAN then
1869 n := LANGUAGE_RUSSIAN_N
1870 else
1871 n := LANGUAGE_ENGLISH_N;
1873 for i := Low(TStrings_Locale) to High(TStrings_Locale) do
1874 _lc[i] := g_lang_default[i][n];
1876 SetupArrays();
1877 end;
1879 procedure g_Language_Dump(fileName: String);
1880 var
1881 F: TextFile;
1882 i: TStrings_Locale;
1883 begin
1884 AssignFile(F, fileName);
1885 ReWrite(F);
1887 for i := Low(TStrings_Locale) to High(TStrings_Locale) do
1888 WriteLn(F, _lc[i]);
1890 CloseFile(F);
1891 end;
1893 end.