DEADSOFTWARE

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