/
language.cpp
1712 lines (1551 loc) · 82.3 KB
/
language.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* language.cpp
*
*/
#include "language.h"
#include "user.h"
#include "../editor/editor.h"
#include "./file/io.h"
#include <map>
#include <algorithm>
// Alles nochmal deklarieren, weil es im Header als extern markiert ist
namespace Language {
// see comment on set_window_text() in main() in other/main.cpp
// for why we need this string constant
char const* const main_name_of_game_English = "Lix";
// Geheime Variable
// +1 because unlike other vectors, we'll have an element
// here for Language::MAX too
std::vector <std::string> language_name(MAX + 1);
namespace Option {
enum OptionGroupNames {
GENERAL,
CONTROLS,
HOTKEYS,
EDITOR,
MENU,
GRAPHICS,
SOUND,
MAX
};
};
std::vector <std::string> option_group(Option::MAX);
std::vector <std::string> editor_button(Editor::MAX);
std::vector <std::string>& eb = editor_button; // nur intern in language.cpp
typedef std::map<std::string, std::string*> translate_map_type;
static translate_map_type map_vars_to_translate;
// a dummy "" is returned to enable following usage:
// std::string myVar = add_to_translation_map("myVar", myVar);
static char const* add_to_translation_map(char const *const varname, std::string &ref_var) {
map_vars_to_translate[varname] = &ref_var;
return "";
}
#define DECL_VARIABLE_FOR_TRANSLATION(varname) \
std::string varname = add_to_translation_map( #varname , varname)
// For new std::string global variables in namespace Language for a new
// string that can be translated, just copy the DECL_VARIABLE_... line
// and change the macro argument to name of the new variable.
//
// For the strings stored in eb (editor_button) vector or similar,
// refer to add_all_vector_elements_to_translation_map() further below.
// Grundlegende Dinge
DECL_VARIABLE_FOR_TRANSLATION(main_name_of_the_game);
DECL_VARIABLE_FOR_TRANSLATION(main_loading_1);
DECL_VARIABLE_FOR_TRANSLATION(main_loading_2);
DECL_VARIABLE_FOR_TRANSLATION(main_version);
DECL_VARIABLE_FOR_TRANSLATION(main_website);
// Logging - mostly for developer use, so
// probably should not be exposed for translation
std::string
log_error,
log_info,
log_program_start_1,
log_program_start_2,
log_program_exit,
log_found,
log_loaded,
log_file_not_found,
log_bitmap_bad,
log_level_unknown_bitmap,
log_level_file_saved;
// Verschiedene Dialoge
DECL_VARIABLE_FOR_TRANSLATION(common_ok);
DECL_VARIABLE_FOR_TRANSLATION(common_cancel);
DECL_VARIABLE_FOR_TRANSLATION(common_yes);
DECL_VARIABLE_FOR_TRANSLATION(common_no);
DECL_VARIABLE_FOR_TRANSLATION(common_back);
DECL_VARIABLE_FOR_TRANSLATION(common_exit);
DECL_VARIABLE_FOR_TRANSLATION(common_dir_parent);
DECL_VARIABLE_FOR_TRANSLATION(common_dir_flip_page);
// Browser
DECL_VARIABLE_FOR_TRANSLATION(browser_single_title);
DECL_VARIABLE_FOR_TRANSLATION(browser_network_title);
DECL_VARIABLE_FOR_TRANSLATION(browser_replay_title);
DECL_VARIABLE_FOR_TRANSLATION(browser_play);
DECL_VARIABLE_FOR_TRANSLATION(browser_edit);
DECL_VARIABLE_FOR_TRANSLATION(browser_replay);
DECL_VARIABLE_FOR_TRANSLATION(browser_delete);
DECL_VARIABLE_FOR_TRANSLATION(browser_extract);
DECL_VARIABLE_FOR_TRANSLATION(browser_export_image);
DECL_VARIABLE_FOR_TRANSLATION(browser_export_image_done);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_author);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_initgoal);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_initial);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_hatches);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_goals);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_skills);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_clock_2);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_author_none);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_clock_none);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_result_saved);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_result_skills);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_result_time);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_result_old_1);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_result_old_2);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_player);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_version);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_built);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_new);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_same);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_old);
DECL_VARIABLE_FOR_TRANSLATION(browser_info_holds_level);
DECL_VARIABLE_FOR_TRANSLATION(browser_box_delete_tit_rep);
DECL_VARIABLE_FOR_TRANSLATION(browser_box_delete_que_rep);
DECL_VARIABLE_FOR_TRANSLATION(browser_box_delete_tit_lev);
DECL_VARIABLE_FOR_TRANSLATION(browser_box_delete_que_lev);
// Lobby
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_title);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_title_lobby);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_title_room);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_exit);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_unstable_central);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_start_central);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_start_server);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_start_client);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_chat);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_select_level);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_ready);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_room_number);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_room_player);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_room_players);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_room_create);
DECL_VARIABLE_FOR_TRANSLATION(win_lobby_room_leave);
// Spielfenster
DECL_VARIABLE_FOR_TRANSLATION(win_game_title);
DECL_VARIABLE_FOR_TRANSLATION(win_game_result);
DECL_VARIABLE_FOR_TRANSLATION(win_game_lix_saved);
DECL_VARIABLE_FOR_TRANSLATION(win_game_lix_saved_in_time);
DECL_VARIABLE_FOR_TRANSLATION(win_game_resume);
DECL_VARIABLE_FOR_TRANSLATION(win_game_restart);
DECL_VARIABLE_FOR_TRANSLATION(win_game_save_replay);
DECL_VARIABLE_FOR_TRANSLATION(win_game_menu);
DECL_VARIABLE_FOR_TRANSLATION(win_game_comment_perfect);
DECL_VARIABLE_FOR_TRANSLATION(win_game_comment_more);
DECL_VARIABLE_FOR_TRANSLATION(win_game_comment_exactly);
DECL_VARIABLE_FOR_TRANSLATION(win_game_comment_less);
DECL_VARIABLE_FOR_TRANSLATION(win_game_comment_none);
DECL_VARIABLE_FOR_TRANSLATION(win_game_result_skills);
DECL_VARIABLE_FOR_TRANSLATION(win_game_result_time);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_first);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_second);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_middle);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_last);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_first_tie);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_last_tie);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_all_tie);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_zero);
DECL_VARIABLE_FOR_TRANSLATION(win_game_net_all_zero);
DECL_VARIABLE_FOR_TRANSLATION(win_game_replay_win_one);
DECL_VARIABLE_FOR_TRANSLATION(win_game_replay_win_team);
DECL_VARIABLE_FOR_TRANSLATION(win_game_replay_tie);
DECL_VARIABLE_FOR_TRANSLATION(win_game_overwrite_title);
DECL_VARIABLE_FOR_TRANSLATION(win_game_overwrite_question);
// Help texts inside the game
DECL_VARIABLE_FOR_TRANSLATION(gameplay_rate_minus);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_rate_plus);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_pause);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_zoom);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_left_right_click);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_speed_back);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_speed_ahead);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_speed_fast);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_state_save);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_state_load);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_restart);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_nuke);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_hint_first);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_hint_next);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_hint_prev);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_hint_off);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_spec_tribe);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_rmb);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_mmb);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_scroll_right_1);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_scroll_right_2);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_force_dir_1);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_force_dir_2);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_force_dir_3);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_priority_1);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_priority_2);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_queue_builders);
DECL_VARIABLE_FOR_TRANSLATION(gameplay_queue_platformers);
// Editor allgemein
DECL_VARIABLE_FOR_TRANSLATION(editor_unsaved_title);
DECL_VARIABLE_FOR_TRANSLATION(editor_unsaved_title_new);
DECL_VARIABLE_FOR_TRANSLATION(editor_unsaved_question);
DECL_VARIABLE_FOR_TRANSLATION(editor_unsaved_question_new);
DECL_VARIABLE_FOR_TRANSLATION(editor_file_name);
DECL_VARIABLE_FOR_TRANSLATION(editor_level_name);
DECL_VARIABLE_FOR_TRANSLATION(editor_hotkey);
DECL_VARIABLE_FOR_TRANSLATION(editor_hotkeys);
DECL_VARIABLE_FOR_TRANSLATION(editor_hotkey_hold);
DECL_VARIABLE_FOR_TRANSLATION(editor_bar_at);
DECL_VARIABLE_FOR_TRANSLATION(editor_bar_hover);
DECL_VARIABLE_FOR_TRANSLATION(editor_bar_selection);
DECL_VARIABLE_FOR_TRANSLATION(editor_bar_movekeys_long);
DECL_VARIABLE_FOR_TRANSLATION(editor_bar_movekeys_short);
DECL_VARIABLE_FOR_TRANSLATION(editor_bar_movekeys_mid);
DECL_VARIABLE_FOR_TRANSLATION(editor_bar_movekeys_end);
// SaveBrowser
DECL_VARIABLE_FOR_TRANSLATION(save_browser_title);
DECL_VARIABLE_FOR_TRANSLATION(save_filename);
DECL_VARIABLE_FOR_TRANSLATION(save_box_overwrite_title);
DECL_VARIABLE_FOR_TRANSLATION(save_box_overwrite_question);
// BitmapBrowser
DECL_VARIABLE_FOR_TRANSLATION(add_terrain);
DECL_VARIABLE_FOR_TRANSLATION(add_steel);
DECL_VARIABLE_FOR_TRANSLATION(add_hatch);
DECL_VARIABLE_FOR_TRANSLATION(add_goal);
DECL_VARIABLE_FOR_TRANSLATION(add_deco);
DECL_VARIABLE_FOR_TRANSLATION(add_hazard);
// Kartengroesse
DECL_VARIABLE_FOR_TRANSLATION(win_size_title);
DECL_VARIABLE_FOR_TRANSLATION(win_size_l);
DECL_VARIABLE_FOR_TRANSLATION(win_size_r);
DECL_VARIABLE_FOR_TRANSLATION(win_size_u);
DECL_VARIABLE_FOR_TRANSLATION(win_size_d);
DECL_VARIABLE_FOR_TRANSLATION(win_size_x);
DECL_VARIABLE_FOR_TRANSLATION(win_size_y);
DECL_VARIABLE_FOR_TRANSLATION(win_size_hex);
DECL_VARIABLE_FOR_TRANSLATION(win_size_torus_x);
DECL_VARIABLE_FOR_TRANSLATION(win_size_torus_y);
// Karten-Startausschnitt
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_title);
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_manual);
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_x);
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_y);
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_r);
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_g);
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_b);
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_jump);
DECL_VARIABLE_FOR_TRANSLATION(win_scroll_current);
// Variablenfenster
DECL_VARIABLE_FOR_TRANSLATION(win_var_title);
DECL_VARIABLE_FOR_TRANSLATION(win_var_author);
DECL_VARIABLE_FOR_TRANSLATION(win_var_name_german);
DECL_VARIABLE_FOR_TRANSLATION(win_var_name_english);
DECL_VARIABLE_FOR_TRANSLATION(win_var_initial);
DECL_VARIABLE_FOR_TRANSLATION(win_var_required);
DECL_VARIABLE_FOR_TRANSLATION(win_var_spawnint_slow);
DECL_VARIABLE_FOR_TRANSLATION(win_var_spawnint_fast);
DECL_VARIABLE_FOR_TRANSLATION(win_var_clock);
// Faehigkeits-Fenster
DECL_VARIABLE_FOR_TRANSLATION(win_skill_title);
DECL_VARIABLE_FOR_TRANSLATION(win_skill_clear);
DECL_VARIABLE_FOR_TRANSLATION(win_skill_classic_8_to);
DECL_VARIABLE_FOR_TRANSLATION(win_skill_all_to);
DECL_VARIABLE_FOR_TRANSLATION(win_skill_use_fling);
// Exporting a level into a file
DECL_VARIABLE_FOR_TRANSLATION(export_single_lix);
DECL_VARIABLE_FOR_TRANSLATION(export_single_spawnint);
DECL_VARIABLE_FOR_TRANSLATION(export_single_clock);
DECL_VARIABLE_FOR_TRANSLATION(export_multi_lix);
DECL_VARIABLE_FOR_TRANSLATION(export_multi_spawnint);
DECL_VARIABLE_FOR_TRANSLATION(export_multi_clock);
// Netzwerk-Chatnachrichten
DECL_VARIABLE_FOR_TRANSLATION(net_chat_welcome_1);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_welcome_2);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_unstable_1);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_unstable_2);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_start_server);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_start_client);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_start_cancel);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_disconnection);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_we_too_old);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_we_too_new);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_someone_old);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_someone_new);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_named_guy_old);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_version_yours);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_version_server);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_server_update);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_please_download);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_we_connected);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_we_in_room);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_we_in_room_2);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_we_in_lobby);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_player_in_room);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_player_in_room_2);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_player_in_lobby);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_player_out_room);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_player_out_room_2);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_player_out_lobby);
DECL_VARIABLE_FOR_TRANSLATION(net_chat_level_change);
DECL_VARIABLE_FOR_TRANSLATION(net_game_start);
DECL_VARIABLE_FOR_TRANSLATION(net_game_how_to_chat_1);
DECL_VARIABLE_FOR_TRANSLATION(net_game_how_to_chat_2);
DECL_VARIABLE_FOR_TRANSLATION(net_game_end);
DECL_VARIABLE_FOR_TRANSLATION(net_game_end_result);
DECL_VARIABLE_FOR_TRANSLATION(net_game_overtime_1);
DECL_VARIABLE_FOR_TRANSLATION(net_game_overtime_2);
DECL_VARIABLE_FOR_TRANSLATION(net_game_overtime_2_one);
DECL_VARIABLE_FOR_TRANSLATION(net_game_overtime_3);
DECL_VARIABLE_FOR_TRANSLATION(net_game_overtime_4);
DECL_VARIABLE_FOR_TRANSLATION(net_game_overtime_4_one);
DECL_VARIABLE_FOR_TRANSLATION(net_game_overtime_4_sec);
// Optionsfenster
DECL_VARIABLE_FOR_TRANSLATION(option_title);
DECL_VARIABLE_FOR_TRANSLATION(option_user_name);
DECL_VARIABLE_FOR_TRANSLATION(option_user_name_ask);
DECL_VARIABLE_FOR_TRANSLATION(option_language);
DECL_VARIABLE_FOR_TRANSLATION(option_replay_auto_max);
DECL_VARIABLE_FOR_TRANSLATION(option_replay_auto_single);
DECL_VARIABLE_FOR_TRANSLATION(option_replay_auto_multi);
DECL_VARIABLE_FOR_TRANSLATION(option_replay_cancel);
DECL_VARIABLE_FOR_TRANSLATION(option_replay_cancel_at);
DECL_VARIABLE_FOR_TRANSLATION(option_mouse_speed);
DECL_VARIABLE_FOR_TRANSLATION(option_scroll_speed_edge);
DECL_VARIABLE_FOR_TRANSLATION(option_scroll_speed_click);
DECL_VARIABLE_FOR_TRANSLATION(option_scroll_edge);
DECL_VARIABLE_FOR_TRANSLATION(option_scroll_right);
DECL_VARIABLE_FOR_TRANSLATION(option_scroll_middle);
DECL_VARIABLE_FOR_TRANSLATION(option_allow_builder_queuing);
DECL_VARIABLE_FOR_TRANSLATION(option_avoid_builder_queuing);
DECL_VARIABLE_FOR_TRANSLATION(option_avoid_batter_to_exploder);
DECL_VARIABLE_FOR_TRANSLATION(option_prioinv_middle);
DECL_VARIABLE_FOR_TRANSLATION(option_prioinv_right);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_resolution);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_windowed_res);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_windowed);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_scaling);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_scaling_stretch);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_scaling_aspect);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_scaling_integer);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_border_colored);
DECL_VARIABLE_FOR_TRANSLATION(option_screen_vsync);
DECL_VARIABLE_FOR_TRANSLATION(option_arrows_replay);
DECL_VARIABLE_FOR_TRANSLATION(option_arrows_network);
DECL_VARIABLE_FOR_TRANSLATION(option_game_show_tooltips);
DECL_VARIABLE_FOR_TRANSLATION(option_game_show_skill_keys);
DECL_VARIABLE_FOR_TRANSLATION(option_debris_amount);
DECL_VARIABLE_FOR_TRANSLATION(option_debris_amount_none);
DECL_VARIABLE_FOR_TRANSLATION(option_debris_amount_own);
DECL_VARIABLE_FOR_TRANSLATION(option_debris_amount_all);
DECL_VARIABLE_FOR_TRANSLATION(option_debris_type);
DECL_VARIABLE_FOR_TRANSLATION(option_debris_type_stars);
DECL_VARIABLE_FOR_TRANSLATION(option_debris_type_pixels);
DECL_VARIABLE_FOR_TRANSLATION(option_gui_color_red);
DECL_VARIABLE_FOR_TRANSLATION(option_gui_color_green);
DECL_VARIABLE_FOR_TRANSLATION(option_gui_color_blue);
DECL_VARIABLE_FOR_TRANSLATION(option_info);
DECL_VARIABLE_FOR_TRANSLATION(option_gfx_zero);
DECL_VARIABLE_FOR_TRANSLATION(option_sound_load_driver);
DECL_VARIABLE_FOR_TRANSLATION(option_sound_volume);
DECL_VARIABLE_FOR_TRANSLATION(option_info_sound);
DECL_VARIABLE_FOR_TRANSLATION(option_key_unassigned);
DECL_VARIABLE_FOR_TRANSLATION(option_key_force_left);
DECL_VARIABLE_FOR_TRANSLATION(option_key_force_right);
DECL_VARIABLE_FOR_TRANSLATION(option_key_scroll);
DECL_VARIABLE_FOR_TRANSLATION(option_key_priority);
DECL_VARIABLE_FOR_TRANSLATION(option_key_rate_minus);
DECL_VARIABLE_FOR_TRANSLATION(option_key_rate_plus);
DECL_VARIABLE_FOR_TRANSLATION(option_key_pause);
DECL_VARIABLE_FOR_TRANSLATION(option_key_speed_back_one);
DECL_VARIABLE_FOR_TRANSLATION(option_key_speed_back_many);
DECL_VARIABLE_FOR_TRANSLATION(option_key_speed_ahead_one);
DECL_VARIABLE_FOR_TRANSLATION(option_key_speed_ahead_many);
DECL_VARIABLE_FOR_TRANSLATION(option_key_speed_fast);
DECL_VARIABLE_FOR_TRANSLATION(option_key_speed_turbo);
DECL_VARIABLE_FOR_TRANSLATION(option_key_restart);
DECL_VARIABLE_FOR_TRANSLATION(option_key_state_load);
DECL_VARIABLE_FOR_TRANSLATION(option_key_state_save);
DECL_VARIABLE_FOR_TRANSLATION(option_key_zoom);
DECL_VARIABLE_FOR_TRANSLATION(option_key_chat);
DECL_VARIABLE_FOR_TRANSLATION(option_key_spec_tribe);
DECL_VARIABLE_FOR_TRANSLATION(option_key_nuke);
DECL_VARIABLE_FOR_TRANSLATION(option_sorted_skills);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_okay);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_edit);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_export);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_delete);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_up_dir);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_up_1);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_up_5);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_down_1);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_down_5);
DECL_VARIABLE_FOR_TRANSLATION(option_key_me_exit);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_left);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_right);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_up);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_down);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_copy);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_delete);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_grid);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_sel_all);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_sel_frame);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_sel_add);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_foreground);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_background);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_mirror);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_rotate);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_dark);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_noow);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_zoom);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_help);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_menu_size);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_menu_vars);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_menu_skills);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_add_terrain);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_add_steel);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_add_hatch);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_add_goal);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_add_deco);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_add_hazard);
DECL_VARIABLE_FOR_TRANSLATION(option_ed_grid_custom);
// Neuen Spieler begruessen (Mini-Dialog)
DECL_VARIABLE_FOR_TRANSLATION(option_new_player_title);
DECL_VARIABLE_FOR_TRANSLATION(option_new_player_first);
DECL_VARIABLE_FOR_TRANSLATION(option_new_player_second);
std::string last_string;
static char const* const special_varname_for_language = "main_name_of_language";
#define INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(vector, enumValue ) \
(static_cast<void>(add_to_translation_map( #enumValue , vector[enumValue])))
// a dummy return value is provided to allow the function be
// called during initialization of static variables. But in
// doing so please note the following:
//
// http://www.parashift.com/c++-faq-lite/static-init-order.html
//
// currently all references to global/static variables inside
// below function are initialized in this same source file and
// before the initialization expression calling below function,
// so linked-to issue above does not apply.
static int add_all_vector_elements_to_translation_map() {
static_cast<void>(add_to_translation_map(special_varname_for_language,
language_name[CUSTOM]));
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(option_group, Option::GENERAL);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(option_group, Option::CONTROLS);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(option_group, Option::HOTKEYS);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(option_group, Option::EDITOR);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(option_group, Option::MENU);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(option_group, Option::GRAPHICS);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(option_group, Option::SOUND);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::FILE_NEW);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::FILE_EXIT);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::FILE_SAVE);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::FILE_SAVE_AS);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::GRID_2);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::GRID_CUSTOM);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::GRID_16);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_ALL);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_FRAME);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_ADD);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_COPY);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_DELETE);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_MINUS);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_PLUS);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_BACK);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_FRONT);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_FLIP);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_ROTATE);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_DARK);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::SELECT_NOOW);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::VIEW_ZOOM);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::HELP);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::MENU_SIZE);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::MENU_SCROLL);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::MENU_VARS);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::MENU_SKILL);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::ADD_TERRAIN);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::ADD_STEEL);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::ADD_HATCH);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::ADD_GOAL);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::ADD_DECO);
INCLUDE_VECTOR_ELEMENT_FOR_TRANSLATION(eb, Editor::ADD_HAZARD);
return 0;
}
static int dummy_variable_finish_setting_up_translation_map =
add_all_vector_elements_to_translation_map();
} // namespace Language
// Rueckgabewert Funktion
Language::Language Language::get()
{
return static_cast <Language> (useR->language);
}
void Language::set(const unsigned i)
{
if (i < MAX) set(static_cast <Language> (i));
else set(ENGLISH);
}
// ############################################################################
// ############################################################################
// ############################################################################
void Language::set(const Language lang)
{
language_name[NONE] = "None";
language_name[GERMAN] = "Deutsch";
language_name[ENGLISH] = "English";
if (language_name[CUSTOM].empty()) {
language_name[CUSTOM] = "(custom)";
}
language_name[MAX] = "Max";
if (lang < MAX) useR->language = lang;
switch (useR->language) {
case NONE:
// Grundlegende Dinge
main_name_of_the_game = main_name_of_game_English;
main_loading_1 = "---------- Loading Lix ----------";
main_loading_2 = "---------- Please Wait ----------";
main_version = "Version:";
main_website = "asdfasdf.ethz.ch/~simon";
break;
case MAX:
break; // Sollte nicht vorkommen, es wird bei Spielstart gefragt
// custom language will always load English first, for proper
// fallback behavior (eg. missing entries in translation file)
case CUSTOM:
case ENGLISH:
// Grundlegende Dinge
main_name_of_the_game = main_name_of_game_English;
main_loading_1 = "---------- Loading Lix ----------";
main_loading_2 = "---------- Please Wait ----------";
main_version = "Version:";
main_website = "asdfasdf.ethz.ch/~simon";
// Logging
log_error = "Error: ";
log_info = " (i) ";
log_program_start_1 = "Lix is starting...";
log_program_start_2 = "Lix successfully started.";
log_program_exit = "Lix successfully exited.";
log_found = "found.";
log_loaded = "read.";
log_file_not_found = "File not found:";
log_bitmap_bad = "Bad picture:";
log_level_unknown_bitmap = "Missing image:";
log_level_file_saved = "File written:";
// Verschiedene Dialoge
common_ok = "Okay";
common_cancel = "Cancel";
common_yes = "Yes";
common_no = "No";
common_back = "Back";
common_exit = "Exit";
common_dir_parent = "..",
common_dir_flip_page = "(more...)",
// Browser
browser_single_title = "Single Player";
browser_network_title = "Select Multiplayer level";
browser_replay_title = "Replays";
browser_play = "Play";
browser_edit = "Edit";
browser_replay = "Replay";
browser_delete = "Delete";
browser_extract = "Extract level";
browser_export_image = "Export image";
browser_export_image_done = "Done.";
browser_info_author = "By:";
browser_info_initgoal = "Save:";
browser_info_initial = "Lix:";
browser_info_hatches = "Hatches:";
browser_info_goals = "Goals:";
browser_info_skills = "Skills:";
browser_info_clock_2 = "Overtime:";
browser_info_author_none = "?";
browser_info_clock_none = "--";
browser_info_result_saved = "Saved:";
browser_info_result_skills = "Skills used:";
browser_info_result_time = "Time used:";
browser_info_result_old_1 = "The level has";
browser_info_result_old_2 = "been edited.";
browser_info_player = "Player:";
browser_info_version = "Game:";
browser_info_built = "Level:";
browser_info_new = "is too new";
browser_info_same = "fits!";
browser_info_old = "is too old";
browser_info_holds_level = "contained";
browser_box_delete_tit_rep = "Delete replay?";
browser_box_delete_que_rep = "Do you really want to delete "
"this replay?";
browser_box_delete_tit_lev = "Delete level?";
browser_box_delete_que_lev = "Do you really want to delete "
"this level?";
// Lobby
win_lobby_title = "Network Game";
win_lobby_title_lobby = "Lobby";
win_lobby_title_room = "Room #";
win_lobby_exit = "Leave network";
win_lobby_unstable_central = "(Experimental version. Please don't "
"use central server.)";
win_lobby_start_central = "Connect to central server";
win_lobby_start_server = "Host a game yourself";
win_lobby_start_client = "Connect to:";
win_lobby_chat = "Chat:";
win_lobby_select_level = "Choose level";
win_lobby_ready = "Ready for start";
win_lobby_room_number = "Room #";
win_lobby_room_player = "player";
win_lobby_room_players = "players";
win_lobby_room_create = "Open a new room";
win_lobby_room_leave = "Leave room";
// Spielfenster
win_game_title = "Game Menu";
win_game_result = "Result";
win_game_lix_saved = "Lix saved:";
win_game_lix_saved_in_time = "Lix saved in time:";
win_game_resume = "Continue";
win_game_restart = "Restart level";
win_game_save_replay = "Save replay";
win_game_menu = "Exit";
win_game_comment_perfect = "Perfect! All saved!";
win_game_comment_more = "Super, more than necessary!";
win_game_comment_exactly = "Target reached exactly!";
win_game_comment_less = "Sorry, those were not enough.";
win_game_comment_none = "That was nothing... Try again?";
win_game_result_skills = "Skills used:";
win_game_result_time = "Time taken:";
win_game_net_first = "Awesome! You're the champion!";
win_game_net_second = "Well done, nice second place.";
win_game_net_middle = "An okay outcome... Revanche?";
win_game_net_last = "Sorry, you lie behind this time.";
win_game_net_first_tie = "Great, you're among the champs!";
win_game_net_last_tie = "At least you're not alone there.";
win_game_net_all_tie = "What's that? No true winner?";
win_game_net_zero = "Rock bottom! Did you nuke them?";
win_game_net_all_zero = "Do we have a nuclear winter?";
win_game_replay_win_one = "has won!";
win_game_replay_win_team = "have won!";
win_game_replay_tie = "The game is a tie.";
win_game_overwrite_title = "Overwrite Replay?";
win_game_overwrite_question = "Do you really want to overwrite this replay?";
// Help texts inside the game
gameplay_rate_minus = "Raise spawn interval: Lix enter the level slower.";
gameplay_rate_plus = "Lower spawn interval: Lix enter the level faster.";
gameplay_pause = "Pause the game.";
gameplay_zoom = "Zoom into the level.";
gameplay_left_right_click = "Left/right click:";
gameplay_speed_back = "Back by 1 frame/1 second.";
gameplay_speed_ahead = "Ahead by 1 frame/10 seconds.";
gameplay_speed_fast = "fast/turbo-fast forward.";
gameplay_state_save = "Quicksave the current game position.";
gameplay_state_load = "Load the previously quicksaved position.";
gameplay_restart = "Restart the level.";
gameplay_nuke = "Nuke. Activate with a double click.";
gameplay_hint_first = "View a hint for this level.";
gameplay_hint_next = "View the next hint.";
gameplay_hint_prev = "View the previous hint.";
gameplay_hint_off = "Hide the hint.";
gameplay_spec_tribe = "Examine the skills of a different team.";
gameplay_rmb = "right mouse button";
gameplay_mmb = "middle mouse button";
gameplay_scroll_right_1 = "To scroll, hold ";
gameplay_scroll_right_2 = ", move mouse around.";
gameplay_force_dir_1 = "Hold [";
gameplay_force_dir_2 = "] or [";
gameplay_force_dir_3 = "] to select a lix looking left or right.";
gameplay_priority_1 = "Hold ";
gameplay_priority_2 = " to assign to the walker.";
gameplay_queue_builders = "Click the Lix again to queue several builders.";
gameplay_queue_platformers = "Click the Lix again to queue several platformers.";
// Editor allgemein
editor_unsaved_title = "Save changes?";
editor_unsaved_title_new = "Save level?";
editor_unsaved_question = "Save the changes on this level?";
editor_unsaved_question_new = "Save this new level?";
editor_file_name = "File name:";
editor_level_name = "Level title:";
editor_hotkey = "Hotkey:";
editor_hotkeys = "Hotkeys:";
editor_hotkey_hold = "Hotkey: hold";
editor_bar_at = "at";
editor_bar_hover = "objects about to be selected.";
editor_bar_selection = "objects selected.";
editor_bar_movekeys_long = "Drag objects or move them with [";
editor_bar_movekeys_short = "Move with [";
editor_bar_movekeys_mid = "], [";
editor_bar_movekeys_end = "].";
// SaveBrowser
save_browser_title = "Save As";
save_filename = "File name:";
save_box_overwrite_title = "Overwrite Level?";
save_box_overwrite_question = "Do you really want to overwrite this level?";
// BitmapBrowser
add_terrain = "Add terrain";
add_steel = "Add steel";
add_hatch = "Add hatch";
add_goal = "Add goal";
add_deco = "Add decoration";
add_hazard = "Add hazard";
// Kartengroesse
win_size_title = "Level Measures";
win_size_l = "Left:";
win_size_r = "Right:";
win_size_u = "Top:";
win_size_d = "Bottom:";
win_size_x = "Width:";
win_size_y = "Height:";
win_size_hex = "Show size in hexadecimal";
win_size_torus_x = "Wrap around horizontally";
win_size_torus_y = "Wrap around vertically";
// Scrollposition
win_scroll_title = "Level Visuals";
win_scroll_manual = "Manually set initially visible"
" region";
win_scroll_x = "X Coordinate (0 = left)";
win_scroll_y = "Y Coordinate (0 = top)";
win_scroll_r = "Background red";
win_scroll_g = "Background green";
win_scroll_b = "Background blue";
win_scroll_jump = "Scroll there";
win_scroll_current = "Current Position";
// Variablenfenster
win_var_title = "General Level Settings";
win_var_author = "Author";
win_var_name_german = "German title";
win_var_name_english = "English title";
win_var_initial = "No. of lix";
win_var_required = "Lix to save";
win_var_spawnint_slow = "Spawn interval";
win_var_spawnint_fast = "Spawn int. fast";
win_var_clock = "Time/overtime";
// Faehigkeits-Fenster
win_skill_title = "Skill Settings";
win_skill_clear = "Clear all";
win_skill_classic_8_to = "Classic 8 to:";
win_skill_all_to = "Adjust all skills to:";
win_skill_use_fling = "Use knockback exploder";
// Exporting a level into a file
export_single_lix = "Save:";
export_single_spawnint = "SpawnI:";
export_single_clock = "Time:";
export_multi_lix = "Lix:";
export_multi_spawnint = "SpawnI:";
export_multi_clock = "Time:";
// Netzwerk-Chatnachrichten
net_chat_welcome_1 = "You can join the central server, "
"host a game yourself,";
net_chat_welcome_2 = "or enter an IP address/a host name "
"and click \"" + win_lobby_start_client
+ "\".";
net_chat_unstable_1 = "This is an experimental version. "
"Host a game yourself";
net_chat_unstable_2 = net_chat_welcome_2;
net_chat_start_server = "You are the server. Other "
"players can connect to you now.";
net_chat_start_client = "Searching a server at";
net_chat_start_cancel = "Connection attempt cancelled.";
net_chat_disconnection = " has quit the network.";
net_chat_we_too_old = "You have too old a Lix version "
"to connect to the server.";
net_chat_we_too_new = "You have too new a Lix version. "
"The server should upgrade.";
net_chat_someone_old = "Someone with too old a Lix version "
"tried to connect.";
net_chat_someone_new = "Someone with too new a Lix version "
"tried to connect.";
net_chat_named_guy_old = " must update his Lix version to "
"continue.";
net_chat_version_yours = "Your version is ";
net_chat_version_server = ", the server requires ";
net_chat_server_update = "The server should update to the "
"most recent Lix version.";
net_chat_please_download = "Download the newest version from: "
+ main_website;
net_chat_we_connected = "You have joined the network. "
"Enter a room to start playing.";
net_chat_we_in_room = "You have entered room #";
net_chat_we_in_room_2 = ".";
net_chat_we_in_lobby = "You went back into the lobby.";
net_chat_player_in_room = " has joined room #";
net_chat_player_in_room_2 = ".";
net_chat_player_in_lobby = " has entered the lobby.";
net_chat_player_out_room = " has entered room #";
net_chat_player_out_room_2 = ".";
net_chat_player_out_lobby = " has left the room.";
net_chat_level_change = "has selected this level:";
net_game_start = "The game has started.";
net_game_how_to_chat_1 = " Press [";
net_game_how_to_chat_2 = "] to chat.";
net_game_end = "The game is over.";
net_game_end_result = "Game outcome:";
net_game_overtime_1 = "has finished playing and has saved";
net_game_overtime_2 = "lix.";
net_game_overtime_2_one = "one lix.";
net_game_overtime_3 = "Now, the overtime of";
net_game_overtime_4 = "minutes will begin!";
net_game_overtime_4_one = "minute will begin!";
net_game_overtime_4_sec = "seconds will begin!";
// Optionsfenster
option_title = "Options";
option_group[0] = "General";
option_group[1] = "Controls";
option_group[2] = "Hotkeys";
option_group[3] = "Editor";
option_group[4] = "Menu";
option_group[5] = "Graphics";
option_group[6] = "Sound";
option_user_name = "Player name";
option_user_name_ask = "Ask for name on startup";
option_language = "Language";
option_replay_auto_max = "Max. auto replays";
option_replay_auto_single = "Auto replay in Singleplayer";
option_replay_auto_multi = "Auto replay in Multiplayer";
option_replay_cancel = "Replay ends: normal speed...";
option_replay_cancel_at = "...1/15 sec before end";
option_scroll_edge = "Scroll at screen border";
option_scroll_right = "Scroll with right click";
option_scroll_middle = "Scroll with middle click";
option_mouse_speed = "Mouse speed";
option_scroll_speed_edge = "Edge scroll speed";
option_scroll_speed_click = "Right/mid. scroll spd.";
option_allow_builder_queuing = "Builders: allow queuing";
option_avoid_builder_queuing = "Builders: avoid queuing";
option_avoid_batter_to_exploder="Avoid assigning batter to exploder";
option_prioinv_middle = "Middle button inverts priority";
option_prioinv_right = "Right button inverts priority";
option_screen_windowed = "Windowed mode*";
option_screen_resolution = "Fullscreen resol.**";
option_screen_windowed_res = "Windowed resolution";
option_screen_scaling = "Screen scaling";
option_screen_scaling_stretch = "Stretched";
option_screen_scaling_aspect = "Aspect ratio";
option_screen_scaling_integer = "Integer";
option_screen_border_colored = "Screen border colored";
option_screen_vsync = "Wait for V-sync";
option_arrows_replay = "Arrows during replays";
option_arrows_network = "Arrows in network games";
option_game_show_tooltips = "Tooltips during game";
option_game_show_skill_keys = "Show hotkeys on skills";
option_debris_amount = "Debris amount";
option_debris_amount_none = "None";
option_debris_amount_own = "Own";
option_debris_amount_all = "All";
option_debris_type = "Debris type";
option_debris_type_stars = "Stars, clouds";
option_debris_type_pixels = "Pixels";
option_gui_color_red = "Menu color red";
option_gui_color_green = "Menu color green";
option_gui_color_blue = "Menu color blue";
option_info = "*) Hit [Alt] + [Enter] to toggle full"
"screen/windowed mode at any time.";
option_gfx_zero = "**) Enter 0 in both fields to use "
"your normal desktop resolution.";
option_sound_load_driver = "Load sound driver*";
option_sound_volume = "Sound volume";
option_info_sound = "*) This option requires a program "
"restart to take effect.";
option_key_unassigned = "none";
option_key_force_left = "Force left";
option_key_force_right = "Force right";
option_key_scroll = "Hold to scroll";
option_key_priority = "Priority invert";
option_key_rate_minus = "Interval +";
option_key_rate_plus = "Interval -";
option_key_pause = "Pause";
option_key_speed_back_one = "-1 frame";
option_key_speed_back_many = "-1 second";
option_key_speed_ahead_one = "+1 frame";
option_key_speed_ahead_many = "+10 sec.";
option_key_speed_fast = "Fast forw.";
option_key_speed_turbo = "Turbo speed";
option_key_restart = "Restart";
option_key_state_load = "Load state";
option_key_state_save = "Save state";
option_key_zoom = "Zoom";
option_key_chat = "Chat";
option_key_spec_tribe = "Cycle teams";
option_key_nuke = "Nuke";
option_sorted_skills = "Click two images to swap their"
" position in the game's panel.";
option_key_me_okay = "Okay/yes";
option_key_me_edit = "Edit";
option_key_me_export = "Export";
option_key_me_delete = "Delete/no";
option_key_me_up_dir = "Parent dir";
option_key_me_up_1 = "Up by 1";
option_key_me_up_5 = "Up by 5";
option_key_me_down_1 = "Down by 1";
option_key_me_down_5 = "Down by 5";
option_key_me_exit = "Back/cancel";
option_ed_left = "Move left";
option_ed_right = "Move right";
option_ed_up = "Move up";
option_ed_down = "Move down";
option_ed_copy = "Copy";
option_ed_delete = "Delete";
option_ed_grid = "Grid size";
option_ed_sel_all = "Select all";
option_ed_sel_frame = "Select frame";
option_ed_sel_add = "Add to sel.";
option_ed_foreground = "Foreground";
option_ed_background = "Background";
option_ed_mirror = "Mirror";
option_ed_rotate = "Rotate";
option_ed_dark = "Draw black";
option_ed_noow = "No overwrite";
option_ed_zoom = "Zoom";
option_ed_help = "Show help";
option_ed_menu_size = "Size menu";
option_ed_menu_vars = "General menu";
option_ed_menu_skills = "Skills menu";
option_ed_add_terrain = "Add terrain";
option_ed_add_steel = "Add steel";
option_ed_add_hatch = "Add hatch";
option_ed_add_goal = "Add goal";