/
toL10n.ts
1340 lines (1327 loc) · 75.7 KB
/
toL10n.ts
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
import { Either, fromRight_, isLeft, mapM, maybeToEither, maybeToEither_ } from "../../../../Data/Either";
import { List } from "../../../../Data/List";
import { ensure, liftM2 } from "../../../../Data/Maybe";
import { fromList, lookupF, OrderedMap } from "../../../../Data/OrderedMap";
import { show } from "../../../../Data/Show";
import { Pair } from "../../../../Data/Tuple";
import { L10n, L10nRecord } from "../../../Models/Wiki/L10n";
import { mensureMapNonEmptyString, mensureMapNonEmptyStringList } from "../validateMapValueUtils";
import { lookupKeyValid, mapMNamed, TableType } from "../validateValueUtils";
const localeRx = /[a-z]{2}-[A-Z]{2}/
const isLocale =
(x: string) => localeRx .test (x)
export const toL10n =
(id: string) =>
(l10n_table: List<OrderedMap<string, string>>): Either<string, L10nRecord> => {
// Shortcuts
const l10n_rows =
mapM<string, OrderedMap<string, string>, Pair<string, string>>
((row: OrderedMap<string, string>) =>
maybeToEither
("Cell missing.")
(liftM2<string, string, Pair<string, string>> (Pair)
(lookupF (row) ("key"))
(lookupF (row) ("value"))))
(l10n_table)
if (isLeft (l10n_rows)) {
return l10n_rows
}
const l10n_map = fromList (fromRight_ (l10n_rows))
const lookup_l10n = lookupF (l10n_map)
const checkL10nNonEmptyString =
lookupKeyValid (mensureMapNonEmptyString) (TableType.L10n) (lookup_l10n)
const checkL10nNonEmptyStringList =
lookupKeyValid (mensureMapNonEmptyStringList ("&&")) (TableType.L10n) (lookup_l10n)
// Return error or result
type MapWithEither<A> = { [K in keyof A]: Either<string, A[K]>}
const mappedL10n: MapWithEither<L10n> = {
"id": maybeToEither_ (() => `Expected: Locale, Received: ${show (id)}`)
(ensure (isLocale) (id)),
"lastchanges": checkL10nNonEmptyString ("lastchanges"),
"heroes": checkL10nNonEmptyString ("heroes"),
"groups": checkL10nNonEmptyString ("groups"),
"wiki": checkL10nNonEmptyString ("wiki"),
"faq": checkL10nNonEmptyString ("faq"),
"about": checkL10nNonEmptyString ("about"),
"imprint": checkL10nNonEmptyString ("imprint"),
"thirdpartylicenses": checkL10nNonEmptyString ("thirdpartylicenses"),
"profile": checkL10nNonEmptyString ("profile"),
"overview": checkL10nNonEmptyString ("overview"),
"personaldata": checkL10nNonEmptyString ("personaldata"),
"charactersheet": checkL10nNonEmptyString ("charactersheet"),
"pact": checkL10nNonEmptyString ("pact"),
"rules": checkL10nNonEmptyString ("rules"),
"racecultureandprofession": checkL10nNonEmptyString ("racecultureandprofession"),
"race": checkL10nNonEmptyString ("race"),
"culture": checkL10nNonEmptyString ("culture"),
"profession": checkL10nNonEmptyString ("profession"),
"attributes": checkL10nNonEmptyString ("attributes"),
"advantagesanddisadvantages": checkL10nNonEmptyString ("advantagesanddisadvantages"),
"advantages": checkL10nNonEmptyString ("advantages"),
"disadvantages": checkL10nNonEmptyString ("disadvantages"),
"abilities": checkL10nNonEmptyString ("abilities"),
"skills": checkL10nNonEmptyString ("skills"),
"combattechniques": checkL10nNonEmptyString ("combattechniques"),
"specialabilities": checkL10nNonEmptyString ("specialabilities"),
"spells": checkL10nNonEmptyString ("spells"),
"liturgicalchants": checkL10nNonEmptyString ("liturgicalchants"),
"belongings": checkL10nNonEmptyString ("belongings"),
"equipment": checkL10nNonEmptyString ("equipment"),
"hitzonearmor": checkL10nNonEmptyString ("hitzonearmor"),
"pets": checkL10nNonEmptyString ("pets"),
"adventurepoints.short": checkL10nNonEmptyString ("adventurepoints.short"),
"adventurepoint": checkL10nNonEmptyString ("adventurepoint"),
"adventurepoints": checkL10nNonEmptyString ("adventurepoints"),
"totalap.novar": checkL10nNonEmptyString ("totalap.novar"),
"apspent.novar": checkL10nNonEmptyString ("apspent.novar"),
"totalap": checkL10nNonEmptyString ("totalap"),
"apspent": checkL10nNonEmptyString ("apspent"),
"apspentonadvantages": checkL10nNonEmptyString ("apspentonadvantages"),
"apspentonmagicadvantages": checkL10nNonEmptyString ("apspentonmagicadvantages"),
"apspentonblessedadvantages": checkL10nNonEmptyString ("apspentonblessedadvantages"),
"apspentondisadvantages": checkL10nNonEmptyString ("apspentondisadvantages"),
"apspentonmagicdisadvantages": checkL10nNonEmptyString ("apspentonmagicdisadvantages"),
"apspentonblesseddisadvantages":
checkL10nNonEmptyString ("apspentonblesseddisadvantages"),
"apspentonrace": checkL10nNonEmptyString ("apspentonrace"),
"apspentonprofession": checkL10nNonEmptyString ("apspentonprofession"),
"apspentonattributes": checkL10nNonEmptyString ("apspentonattributes"),
"apspentonskills": checkL10nNonEmptyString ("apspentonskills"),
"apspentoncombattechniques": checkL10nNonEmptyString ("apspentoncombattechniques"),
"apspentonspells": checkL10nNonEmptyString ("apspentonspells"),
"apspentoncantrips": checkL10nNonEmptyString ("apspentoncantrips"),
"apspentonliturgicalchants": checkL10nNonEmptyString ("apspentonliturgicalchants"),
"apspentonblessings": checkL10nNonEmptyString ("apspentonblessings"),
"apspentonspecialabilities": checkL10nNonEmptyString ("apspentonspecialabilities"),
"apspentonenergies": checkL10nNonEmptyString ("apspentonenergies"),
"search": checkL10nNonEmptyString ("search"),
"sortalphabetically": checkL10nNonEmptyString ("sortalphabetically"),
"sortbydatemodified": checkL10nNonEmptyString ("sortbydatemodified"),
"sortbygroup": checkL10nNonEmptyString ("sortbygroup"),
"sortbyimprovementcost": checkL10nNonEmptyString ("sortbyimprovementcost"),
"sortbyproperty": checkL10nNonEmptyString ("sortbyproperty"),
"sortbylocation": checkL10nNonEmptyString ("sortbylocation"),
"sortbycost": checkL10nNonEmptyString ("sortbycost"),
"sortbyweight": checkL10nNonEmptyString ("sortbyweight"),
"showactivated": checkL10nNonEmptyString ("showactivated"),
"none": checkL10nNonEmptyString ("none"),
"save": checkL10nNonEmptyString ("save"),
"done": checkL10nNonEmptyString ("done"),
"delete": checkL10nNonEmptyString ("delete"),
"yes": checkL10nNonEmptyString ("yes"),
"no": checkL10nNonEmptyString ("no"),
"ok": checkL10nNonEmptyString ("ok"),
"cancel": checkL10nNonEmptyString ("cancel"),
"copy": checkL10nNonEmptyString ("copy"),
"create": checkL10nNonEmptyString ("create"),
"import": checkL10nNonEmptyString ("import"),
"allheroes": checkL10nNonEmptyString ("allheroes"),
"ownheroes": checkL10nNonEmptyString ("ownheroes"),
"sharedheroes": checkL10nNonEmptyString ("sharedheroes"),
"unsavedhero": checkL10nNonEmptyString ("unsavedhero"),
"unsavedactions": checkL10nNonEmptyString ("unsavedactions"),
"unsavedactions.text": checkL10nNonEmptyString ("unsavedactions.text"),
"deletehero": checkL10nNonEmptyString ("deletehero"),
"deletehero.text": checkL10nNonEmptyString ("deletehero.text"),
"herocreation": checkL10nNonEmptyString ("herocreation"),
"start": checkL10nNonEmptyString ("start"),
"nameofhero": checkL10nNonEmptyString ("nameofhero"),
"selectsex": checkL10nNonEmptyString ("selectsex"),
"male": checkL10nNonEmptyString ("male"),
"female": checkL10nNonEmptyString ("female"),
"selectexperiencelevel": checkL10nNonEmptyString ("selectexperiencelevel"),
"magic": checkL10nNonEmptyString ("magic"),
"rituals": checkL10nNonEmptyString ("rituals"),
"cantrips": checkL10nNonEmptyString ("cantrips"),
"curses": checkL10nNonEmptyString ("curses"),
"elvenmagicalsongs": checkL10nNonEmptyString ("elvenmagicalsongs"),
"magicalmelodies": checkL10nNonEmptyString ("magicalmelodies"),
"magicaldances": checkL10nNonEmptyString ("magicaldances"),
"editprofessionname": checkL10nNonEmptyString ("editprofessionname"),
"addadventurepoints": checkL10nNonEmptyString ("addadventurepoints"),
"endherocreation": checkL10nNonEmptyString ("endherocreation"),
"add": checkL10nNonEmptyString ("add"),
"changeheroavatar": checkL10nNonEmptyString ("changeheroavatar"),
"apply": checkL10nNonEmptyString ("apply"),
"selectfile": checkL10nNonEmptyString ("selectfile"),
"changeheroavatar.invalidfile": checkL10nNonEmptyString ("changeheroavatar.invalidfile"),
"family": checkL10nNonEmptyString ("family"),
"placeofbirth": checkL10nNonEmptyString ("placeofbirth"),
"dateofbirth": checkL10nNonEmptyString ("dateofbirth"),
"age": checkL10nNonEmptyString ("age"),
"haircolor": checkL10nNonEmptyString ("haircolor"),
"eyecolor": checkL10nNonEmptyString ("eyecolor"),
"size": checkL10nNonEmptyString ("size"),
"weight": checkL10nNonEmptyString ("weight"),
"title": checkL10nNonEmptyString ("title"),
"socialstatus": checkL10nNonEmptyString ("socialstatus"),
"characteristics": checkL10nNonEmptyString ("characteristics"),
"otherinfo": checkL10nNonEmptyString ("otherinfo"),
"cultureareaknowledge": checkL10nNonEmptyString ("cultureareaknowledge"),
"socialstatuses": checkL10nNonEmptyStringList ("socialstatuses"),
"haircolors": checkL10nNonEmptyStringList ("haircolors"),
"eyecolors": checkL10nNonEmptyStringList ("eyecolors"),
"pactcategory": checkL10nNonEmptyString ("pactcategory"),
"nopact": checkL10nNonEmptyString ("nopact"),
"pactcategories": checkL10nNonEmptyStringList ("pactcategories"),
"pactlevel": checkL10nNonEmptyString ("pactlevel"),
"fairytype": checkL10nNonEmptyString ("fairytype"),
"fairytypes": checkL10nNonEmptyStringList ("fairytypes"),
"domain": checkL10nNonEmptyString ("domain"),
"userdefined": checkL10nNonEmptyString ("userdefined"),
"fairydomains": checkL10nNonEmptyStringList ("fairydomains"),
"settings": checkL10nNonEmptyString ("settings"),
"language": checkL10nNonEmptyString ("language"),
"systemlanguage": checkL10nNonEmptyString ("systemlanguage"),
"languagehint": checkL10nNonEmptyString ("languagehint"),
"theme": checkL10nNonEmptyString ("theme"),
"dark": checkL10nNonEmptyString ("dark"),
"light": checkL10nNonEmptyString ("light"),
"showanimations": checkL10nNonEmptyString ("showanimations"),
"close": checkL10nNonEmptyString ("close"),
"checkforupdates": checkL10nNonEmptyString ("checkforupdates"),
"printtopdf": checkL10nNonEmptyString ("printtopdf"),
"showattributevalues": checkL10nNonEmptyString ("showattributevalues"),
"name": checkL10nNonEmptyString ("name"),
"sex": checkL10nNonEmptyString ("sex"),
"experiencelevel": checkL10nNonEmptyString ("experiencelevel"),
"apcollected": checkL10nNonEmptyString ("apcollected"),
"avatar": checkL10nNonEmptyString ("avatar"),
"generalspecialabilites": checkL10nNonEmptyString ("generalspecialabilites"),
"fatepoints": checkL10nNonEmptyString ("fatepoints"),
"value": checkL10nNonEmptyString ("value"),
"bonuspenalty": checkL10nNonEmptyString ("bonuspenalty"),
"bonus": checkL10nNonEmptyString ("bonus"),
"bought": checkL10nNonEmptyString ("bought"),
"max": checkL10nNonEmptyString ("max"),
"current": checkL10nNonEmptyString ("current"),
"basestat": checkL10nNonEmptyString ("basestat"),
"permanentlylostboughtback": checkL10nNonEmptyString ("permanentlylostboughtback"),
"gamestats": checkL10nNonEmptyString ("gamestats"),
"skill": checkL10nNonEmptyString ("skill"),
"check": checkL10nNonEmptyString ("check"),
"encumbrance.short": checkL10nNonEmptyString ("encumbrance.short"),
"improvementcost.short": checkL10nNonEmptyString ("improvementcost.short"),
"skillrating.short": checkL10nNonEmptyString ("skillrating.short"),
"routinechecks.short": checkL10nNonEmptyString ("routinechecks.short"),
"notes": checkL10nNonEmptyString ("notes"),
"maybe": checkL10nNonEmptyString ("maybe"),
"physicalskills": checkL10nNonEmptyString ("physicalskills"),
"page.short": checkL10nNonEmptyString ("page.short"),
"socialskills": checkL10nNonEmptyString ("socialskills"),
"natureskills": checkL10nNonEmptyString ("natureskills"),
"knowledgeskills": checkL10nNonEmptyString ("knowledgeskills"),
"craftskills": checkL10nNonEmptyString ("craftskills"),
"languages": checkL10nNonEmptyString ("languages"),
"nativetongue.short": checkL10nNonEmptyString ("nativetongue.short"),
"knownscripts": checkL10nNonEmptyString ("knownscripts"),
"routinechecks": checkL10nNonEmptyString ("routinechecks"),
"routinechecks.text1": checkL10nNonEmptyString ("routinechecks.text1"),
"routinechecks.text2": checkL10nNonEmptyString ("routinechecks.text2"),
"routinechecks.text3": checkL10nNonEmptyString ("routinechecks.text3"),
"routinechecks.text4": checkL10nNonEmptyString ("routinechecks.text4"),
"checkmod": checkL10nNonEmptyString ("checkmod"),
"neededsr": checkL10nNonEmptyString ("neededsr"),
"from": checkL10nNonEmptyString ("from"),
"qualitylevels": checkL10nNonEmptyString ("qualitylevels"),
"skillpoints.splitted": checkL10nNonEmptyString ("skillpoints.splitted"),
"qualitylevel.splitted": checkL10nNonEmptyString ("qualitylevel.splitted"),
"attributemodifiers": checkL10nNonEmptyString ("attributemodifiers"),
"combat": checkL10nNonEmptyString ("combat"),
"primaryattribute.medium": checkL10nNonEmptyString ("primaryattribute.medium"),
"combattechniquerating.short": checkL10nNonEmptyString ("combattechniquerating.short"),
"attackrangecombat.short": checkL10nNonEmptyString ("attackrangecombat.short"),
"parry.short": checkL10nNonEmptyString ("parry.short"),
"lifepoints": checkL10nNonEmptyString ("lifepoints"),
"pain1": checkL10nNonEmptyString ("pain1"),
"pain2": checkL10nNonEmptyString ("pain2"),
"pain3": checkL10nNonEmptyString ("pain3"),
"pain4": checkL10nNonEmptyString ("pain4"),
"dying": checkL10nNonEmptyString ("dying"),
"closecombatweapons": checkL10nNonEmptyString ("closecombatweapons"),
"weapon": checkL10nNonEmptyString ("weapon"),
"combattechnique": checkL10nNonEmptyString ("combattechnique"),
"damagebonus.medium": checkL10nNonEmptyString ("damagebonus.medium"),
"damagepoints.short": checkL10nNonEmptyString ("damagepoints.short"),
"attackparrymodifier.short": checkL10nNonEmptyString ("attackparrymodifier.short"),
"reach": checkL10nNonEmptyString ("reach"),
"reachlabels": checkL10nNonEmptyStringList ("reachlabels"),
"breakingpointrating.short": checkL10nNonEmptyString ("breakingpointrating.short"),
"attack.short": checkL10nNonEmptyString ("attack.short"),
"weightunit.short": checkL10nNonEmptyString ("weightunit.short"),
"rangedcombatweapons": checkL10nNonEmptyString ("rangedcombatweapons"),
"reloadtime": checkL10nNonEmptyString ("reloadtime"),
"rangebrackets": checkL10nNonEmptyString ("rangebrackets"),
"rangedcombat": checkL10nNonEmptyString ("rangedcombat"),
"ammunition": checkL10nNonEmptyString ("ammunition"),
"armors": checkL10nNonEmptyString ("armors"),
"armor": checkL10nNonEmptyString ("armor"),
"protection.short": checkL10nNonEmptyString ("protection.short"),
"movementinitiative": checkL10nNonEmptyString ("movementinitiative"),
"carriedwhereexamples": checkL10nNonEmptyString ("carriedwhereexamples"),
"head.short": checkL10nNonEmptyString ("head.short"),
"torso.short": checkL10nNonEmptyString ("torso.short"),
"leftarm.short": checkL10nNonEmptyString ("leftarm.short"),
"rightarm.short": checkL10nNonEmptyString ("rightarm.short"),
"leftleg.short": checkL10nNonEmptyString ("leftleg.short"),
"rightleg.short": checkL10nNonEmptyString ("rightleg.short"),
"shieldparryingweapon": checkL10nNonEmptyString ("shieldparryingweapon"),
"structurepoints.short": checkL10nNonEmptyString ("structurepoints.short"),
"dice.short": checkL10nNonEmptyString ("dice.short"),
"actions.short": checkL10nNonEmptyString ("actions.short"),
"combatspecialabilities": checkL10nNonEmptyString ("combatspecialabilities"),
"conditions": checkL10nNonEmptyString ("conditions"),
"animosity": checkL10nNonEmptyString ("animosity"),
"encumbrance": checkL10nNonEmptyString ("encumbrance"),
"intoxicated": checkL10nNonEmptyString ("intoxicated"),
"stupor": checkL10nNonEmptyString ("stupor"),
"rapture": checkL10nNonEmptyString ("rapture"),
"fear": checkL10nNonEmptyString ("fear"),
"paralysis": checkL10nNonEmptyString ("paralysis"),
"pain": checkL10nNonEmptyString ("pain"),
"confusion": checkL10nNonEmptyString ("confusion"),
"states": checkL10nNonEmptyString ("states"),
"immobilized": checkL10nNonEmptyString ("immobilized"),
"unconscious": checkL10nNonEmptyString ("unconscious"),
"blind": checkL10nNonEmptyString ("blind"),
"bloodlust": checkL10nNonEmptyString ("bloodlust"),
"burning": checkL10nNonEmptyString ("burning"),
"cramped": checkL10nNonEmptyString ("cramped"),
"bound": checkL10nNonEmptyString ("bound"),
"incapacitated": checkL10nNonEmptyString ("incapacitated"),
"diseased": checkL10nNonEmptyString ("diseased"),
"prone": checkL10nNonEmptyString ("prone"),
"misfortune": checkL10nNonEmptyString ("misfortune"),
"rage": checkL10nNonEmptyString ("rage"),
"mute": checkL10nNonEmptyString ("mute"),
"deaf": checkL10nNonEmptyString ("deaf"),
"surprised": checkL10nNonEmptyString ("surprised"),
"badsmell": checkL10nNonEmptyString ("badsmell"),
"invisible": checkL10nNonEmptyString ("invisible"),
"poisoned": checkL10nNonEmptyString ("poisoned"),
"petrified": checkL10nNonEmptyString ("petrified"),
"item": checkL10nNonEmptyString ("item"),
"number.short": checkL10nNonEmptyString ("number.short"),
"price": checkL10nNonEmptyString ("price"),
"carriedwhere": checkL10nNonEmptyString ("carriedwhere"),
"total": checkL10nNonEmptyString ("total"),
"purse": checkL10nNonEmptyString ("purse"),
"ducats": checkL10nNonEmptyString ("ducats"),
"silverthalers": checkL10nNonEmptyString ("silverthalers"),
"halers": checkL10nNonEmptyString ("halers"),
"kreutzers": checkL10nNonEmptyString ("kreutzers"),
"gems": checkL10nNonEmptyString ("gems"),
"jewelry": checkL10nNonEmptyString ("jewelry"),
"other": checkL10nNonEmptyString ("other"),
"carryingcapacity": checkL10nNonEmptyString ("carryingcapacity"),
"carryingcapacitycalc": checkL10nNonEmptyString ("carryingcapacitycalc"),
"carryingcapacitylabel": checkL10nNonEmptyString ("carryingcapacitylabel"),
"animal": checkL10nNonEmptyString ("animal"),
"spellsandrituals": checkL10nNonEmptyString ("spellsandrituals"),
"aemax": checkL10nNonEmptyString ("aemax"),
"spellorritual": checkL10nNonEmptyString ("spellorritual"),
"cost": checkL10nNonEmptyString ("cost"),
"castingtime.splitted": checkL10nNonEmptyString ("castingtime.splitted"),
"range.splitted": checkL10nNonEmptyString ("range.splitted"),
"duration.splitted": checkL10nNonEmptyString ("duration.splitted"),
"effect": checkL10nNonEmptyString ("effect"),
"primaryattribute": checkL10nNonEmptyString ("primaryattribute"),
"tradition": checkL10nNonEmptyString ("tradition"),
"magicalspecialabilities": checkL10nNonEmptyString ("magicalspecialabilities"),
"liturgicalchantsandceremonies":
checkL10nNonEmptyString ("liturgicalchantsandceremonies"),
"kpmax": checkL10nNonEmptyString ("kpmax"),
"liturgicaltime.splitted": checkL10nNonEmptyString ("liturgicaltime.splitted"),
"aspect": checkL10nNonEmptyString ("aspect"),
"aspects.oneormore": checkL10nNonEmptyString ("aspects.oneormore"),
"blessedspecialabilities": checkL10nNonEmptyString ("blessedspecialabilities"),
"blessings": checkL10nNonEmptyString ("blessings"),
"rulebase": checkL10nNonEmptyString ("rulebase"),
"optionalrules": checkL10nNonEmptyString ("optionalrules"),
"maximumattributescores": checkL10nNonEmptyString ("maximumattributescores"),
"higherdefensestats": checkL10nNonEmptyString ("higherdefensestats"),
"languagespecializations": checkL10nNonEmptyString ("languagespecializations"),
"lifepoints.short": checkL10nNonEmptyString ("lifepoints.short"),
"lifepointscalc": checkL10nNonEmptyString ("lifepointscalc"),
"arcaneenergy": checkL10nNonEmptyString ("arcaneenergy"),
"arcaneenergy.short": checkL10nNonEmptyString ("arcaneenergy.short"),
"arcaneenergycalc": checkL10nNonEmptyString ("arcaneenergycalc"),
"arcaneenergycalc.halfprimary": checkL10nNonEmptyString ("arcaneenergycalc.halfprimary"),
"arcaneenergycalc.noprimary": checkL10nNonEmptyString ("arcaneenergycalc.noprimary"),
"karmapoints": checkL10nNonEmptyString ("karmapoints"),
"karmapoints.short": checkL10nNonEmptyString ("karmapoints.short"),
"karmapointscalc": checkL10nNonEmptyString ("karmapointscalc"),
"spirit": checkL10nNonEmptyString ("spirit"),
"spirit.short": checkL10nNonEmptyString ("spirit.short"),
"spiritcalc": checkL10nNonEmptyString ("spiritcalc"),
"spirithalf": checkL10nNonEmptyString ("spirithalf"),
"spirithalf.short": checkL10nNonEmptyString ("spirithalf.short"),
"toughness": checkL10nNonEmptyString ("toughness"),
"toughness.short": checkL10nNonEmptyString ("toughness.short"),
"toughnesscalc": checkL10nNonEmptyString ("toughnesscalc"),
"dodge": checkL10nNonEmptyString ("dodge"),
"dodge.short": checkL10nNonEmptyString ("dodge.short"),
"dodgecalc": checkL10nNonEmptyString ("dodgecalc"),
"initiative": checkL10nNonEmptyString ("initiative"),
"initiative.short": checkL10nNonEmptyString ("initiative.short"),
"initiativecalc": checkL10nNonEmptyString ("initiativecalc"),
"movement": checkL10nNonEmptyString ("movement"),
"movement.short": checkL10nNonEmptyString ("movement.short"),
"movementcalc": checkL10nNonEmptyString ("movementcalc"),
"woundthreshold": checkL10nNonEmptyString ("woundthreshold"),
"woundthreshold.short": checkL10nNonEmptyString ("woundthreshold.short"),
"woundthresholdcalc": checkL10nNonEmptyString ("woundthresholdcalc"),
"boughtback": checkL10nNonEmptyString ("boughtback"),
"spent": checkL10nNonEmptyString ("spent"),
"select": checkL10nNonEmptyString ("select"),
"next": checkL10nNonEmptyString ("next"),
"showvalues": checkL10nNonEmptyString ("showvalues"),
"apvalue": checkL10nNonEmptyString ("apvalue"),
"lifepointbasevalue": checkL10nNonEmptyString ("lifepointbasevalue"),
"spiritbasevalue": checkL10nNonEmptyString ("spiritbasevalue"),
"toughnessbasevalue": checkL10nNonEmptyString ("toughnessbasevalue"),
"movementbasevalue": checkL10nNonEmptyString ("movementbasevalue"),
"attributeadjustments": checkL10nNonEmptyString ("attributeadjustments"),
"commoncultures": checkL10nNonEmptyString ("commoncultures"),
"automaticadvantages": checkL10nNonEmptyString ("automaticadvantages"),
"stronglyrecommendedadvantages":
checkL10nNonEmptyString ("stronglyrecommendedadvantages"),
"stronglyrecommendeddisadvantages":
checkL10nNonEmptyString ("stronglyrecommendeddisadvantages"),
"commonadvantages": checkL10nNonEmptyString ("commonadvantages"),
"commondisadvantages": checkL10nNonEmptyString ("commondisadvantages"),
"uncommonadvantages": checkL10nNonEmptyString ("uncommonadvantages"),
"uncommondisadvantages": checkL10nNonEmptyString ("uncommondisadvantages"),
"allcultures": checkL10nNonEmptyString ("allcultures"),
"or": checkL10nNonEmptyString ("or"),
"script": checkL10nNonEmptyString ("script"),
"areaknowledge": checkL10nNonEmptyString ("areaknowledge"),
"commonmundaneprofessions": checkL10nNonEmptyString ("commonmundaneprofessions"),
"commonmagicprofessions": checkL10nNonEmptyString ("commonmagicprofessions"),
"commonblessedprofessions": checkL10nNonEmptyString ("commonblessedprofessions"),
"commonskills": checkL10nNonEmptyString ("commonskills"),
"uncommonskills": checkL10nNonEmptyString ("uncommonskills"),
"commonnames": checkL10nNonEmptyString ("commonnames"),
"culturalpackageap": checkL10nNonEmptyString ("culturalpackageap"),
"allprofessions": checkL10nNonEmptyString ("allprofessions"),
"commonprofessions": checkL10nNonEmptyString ("commonprofessions"),
"allprofessiongroups": checkL10nNonEmptyString ("allprofessiongroups"),
"mundaneprofessions": checkL10nNonEmptyString ("mundaneprofessions"),
"magicalprofessions": checkL10nNonEmptyString ("magicalprofessions"),
"blessedprofessions": checkL10nNonEmptyString ("blessedprofessions"),
"alwaysshowprofessionsfromextensions":
checkL10nNonEmptyString ("alwaysshowprofessionsfromextensions"),
"novariant": checkL10nNonEmptyString ("novariant"),
"ownprofession": checkL10nNonEmptyString ("ownprofession"),
"prerequisites": checkL10nNonEmptyString ("prerequisites"),
"languagesandliteracytotalingap":
checkL10nNonEmptyString ("languagesandliteracytotalingap"),
"skillspecialization": checkL10nNonEmptyString ("skillspecialization"),
"cursestotalingap": checkL10nNonEmptyString ("cursestotalingap"),
"combattechniquesselection": checkL10nNonEmptyString ("combattechniquesselection"),
"combattechniquecounter": checkL10nNonEmptyStringList ("combattechniquecounter"),
"combattechniquessecondselection":
checkL10nNonEmptyString ("combattechniquessecondselection"),
"skillsselection": checkL10nNonEmptyString ("skillsselection"),
"cantripsfromlist": checkL10nNonEmptyString ("cantripsfromlist"),
"cantripcounter": checkL10nNonEmptyStringList ("cantripcounter"),
"thetwelveblessings": checkL10nNonEmptyString ("thetwelveblessings"),
"thetwelveblessingsexceptions": checkL10nNonEmptyString ("thetwelveblessingsexceptions"),
"suggestedadvantages": checkL10nNonEmptyString ("suggestedadvantages"),
"suggesteddisadvantages": checkL10nNonEmptyString ("suggesteddisadvantages"),
"unsuitableadvantages": checkL10nNonEmptyString ("unsuitableadvantages"),
"unsuitabledisadvantages": checkL10nNonEmptyString ("unsuitabledisadvantages"),
"variants": checkL10nNonEmptyString ("variants"),
"insteadof": checkL10nNonEmptyString ("insteadof"),
"selectattributeadjustment": checkL10nNonEmptyString ("selectattributeadjustment"),
"buyculturalpackage": checkL10nNonEmptyString ("buyculturalpackage"),
"selectnativetongue": checkL10nNonEmptyString ("selectnativetongue"),
"buyscript": checkL10nNonEmptyString ("buyscript"),
"selectscript": checkL10nNonEmptyString ("selectscript"),
"combattechniquessecondcounter":
checkL10nNonEmptyStringList ("combattechniquessecondcounter"),
"ofthefollowingcombattechniques":
checkL10nNonEmptyString ("ofthefollowingcombattechniques"),
"cursestotalingapleft": checkL10nNonEmptyString ("cursestotalingapleft"),
"languagesandliteracytotalingapleft":
checkL10nNonEmptyString ("languagesandliteracytotalingapleft"),
"applicationforskillspecialization":
checkL10nNonEmptyString ("applicationforskillspecialization"),
"skillselectiongroups": checkL10nNonEmptyStringList ("skillselectiongroups"),
"skillselectionap": checkL10nNonEmptyString ("skillselectionap"),
"complete": checkL10nNonEmptyString ("complete"),
"attributetotal": checkL10nNonEmptyString ("attributetotal"),
"modifier": checkL10nNonEmptyString ("modifier"),
"losttotal": checkL10nNonEmptyString ("losttotal"),
"lifepointslostpermanently.short":
checkL10nNonEmptyString ("lifepointslostpermanently.short"),
"lifepointslostpermanently": checkL10nNonEmptyString ("lifepointslostpermanently"),
"arcaneenergylostpermanently": checkL10nNonEmptyString ("arcaneenergylostpermanently"),
"arcaneenergylostpermanently.short":
checkL10nNonEmptyString ("arcaneenergylostpermanently.short"),
"karmapointslostpermanently": checkL10nNonEmptyString ("karmapointslostpermanently"),
"karmapointslostpermanently.short":
checkL10nNonEmptyString ("karmapointslostpermanently.short"),
"afraidof": checkL10nNonEmptyString ("afraidof"),
"immunityto": checkL10nNonEmptyString ("immunityto"),
"hatredof": checkL10nNonEmptyString ("hatredof"),
"rule": checkL10nNonEmptyString ("rule"),
"extendedcombatspecialabilities":
checkL10nNonEmptyString ("extendedcombatspecialabilities"),
"extendedmagicalspecialabilities":
checkL10nNonEmptyString ("extendedmagicalspecialabilities"),
"extendedblessedtspecialabilities":
checkL10nNonEmptyString ("extendedblessedtspecialabilities"),
"penalty": checkL10nNonEmptyString ("penalty"),
"level": checkL10nNonEmptyString ("level"),
"perlevel": checkL10nNonEmptyString ("perlevel"),
"volume": checkL10nNonEmptyString ("volume"),
"bindingcost": checkL10nNonEmptyString ("bindingcost"),
"protectivecircle": checkL10nNonEmptyString ("protectivecircle"),
"wardingcircle": checkL10nNonEmptyString ("wardingcircle"),
"actions": checkL10nNonEmptyString ("actions"),
"racecultureorprofessionrequiresautomaticorsuggested":
checkL10nNonEmptyString ("racecultureorprofessionrequiresautomaticorsuggested"),
"advantage": checkL10nNonEmptyString ("advantage"),
"disadvantage": checkL10nNonEmptyString ("disadvantage"),
"primaryattributeofthetradition":
checkL10nNonEmptyString ("primaryattributeofthetradition"),
"knowledgeofspell": checkL10nNonEmptyString ("knowledgeofspell"),
"knowledgeofliturgicalchant": checkL10nNonEmptyString ("knowledgeofliturgicalchant"),
"appropriatecombatstylespecialability":
checkL10nNonEmptyString ("appropriatecombatstylespecialability"),
"appropriatemagicalstylespecialability":
checkL10nNonEmptyString ("appropriatemagicalstylespecialability"),
"appropriateblessedstylespecialability":
checkL10nNonEmptyString ("appropriateblessedstylespecialability"),
"customcost": checkL10nNonEmptyString ("customcost"),
"customcostfor": checkL10nNonEmptyString ("customcostfor"),
"skillgroups": checkL10nNonEmptyStringList ("skillgroups"),
"newapplications": checkL10nNonEmptyString ("newapplications"),
"applications": checkL10nNonEmptyString ("applications"),
"tools": checkL10nNonEmptyString ("tools"),
"quality": checkL10nNonEmptyString ("quality"),
"failedcheck": checkL10nNonEmptyString ("failedcheck"),
"criticalsuccess": checkL10nNonEmptyString ("criticalsuccess"),
"botch": checkL10nNonEmptyString ("botch"),
"improvementcost": checkL10nNonEmptyString ("improvementcost"),
"common": checkL10nNonEmptyString ("common"),
"uncommon": checkL10nNonEmptyString ("uncommon"),
"combattechniquegroups": checkL10nNonEmptyStringList ("combattechniquegroups"),
"special": checkL10nNonEmptyString ("special"),
"specialabilitygroups": checkL10nNonEmptyStringList ("specialabilitygroups"),
"combatspecialabilitygroups": checkL10nNonEmptyStringList ("combatspecialabilitygroups"),
"spellgroups": checkL10nNonEmptyStringList ("spellgroups"),
"cantrip": checkL10nNonEmptyString ("cantrip"),
"propertylist": checkL10nNonEmptyStringList ("propertylist"),
"magicaltraditions": checkL10nNonEmptyStringList ("magicaltraditions"),
"castingtime": checkL10nNonEmptyString ("castingtime"),
"ritualtime": checkL10nNonEmptyString ("ritualtime"),
"aecost": checkL10nNonEmptyString ("aecost"),
"range": checkL10nNonEmptyString ("range"),
"duration": checkL10nNonEmptyString ("duration"),
"targetcategory": checkL10nNonEmptyString ("targetcategory"),
"property": checkL10nNonEmptyString ("property"),
"traditions": checkL10nNonEmptyString ("traditions"),
"lengthoftime": checkL10nNonEmptyString ("lengthoftime"),
"musictradition": checkL10nNonEmptyString ("musictradition"),
"liturgicalchantgroups": checkL10nNonEmptyStringList ("liturgicalchantgroups"),
"blessing": checkL10nNonEmptyString ("blessing"),
"aspectlist": checkL10nNonEmptyStringList ("aspectlist"),
"blessedtraditions": checkL10nNonEmptyStringList ("blessedtraditions"),
"liturgicaltime": checkL10nNonEmptyString ("liturgicaltime"),
"ceremonialtime": checkL10nNonEmptyString ("ceremonialtime"),
"kpcost": checkL10nNonEmptyString ("kpcost"),
"ducates.short": checkL10nNonEmptyString ("ducates.short"),
"silverthalers.short": checkL10nNonEmptyString ("silverthalers.short"),
"halers.short": checkL10nNonEmptyString ("halers.short"),
"kreutzers.short": checkL10nNonEmptyString ("kreutzers.short"),
"initialstartingwealth": checkL10nNonEmptyString ("initialstartingwealth"),
"priceunit": checkL10nNonEmptyString ("priceunit"),
"itemgroups": checkL10nNonEmptyStringList ("itemgroups"),
"armortypes": checkL10nNonEmptyStringList ("armortypes"),
"damage": checkL10nNonEmptyString ("damage"),
"primaryattributeanddamagethreshold.short":
checkL10nNonEmptyString ("primaryattributeanddamagethreshold.short"),
"length": checkL10nNonEmptyString ("length"),
"lengthunit": checkL10nNonEmptyString ("lengthunit"),
"range.short": checkL10nNonEmptyString ("range.short"),
"edititem": checkL10nNonEmptyString ("edititem"),
"createitem": checkL10nNonEmptyString ("createitem"),
"number": checkL10nNonEmptyString ("number"),
"itemgroup": checkL10nNonEmptyString ("itemgroup"),
"itemgrouphint": checkL10nNonEmptyString ("itemgrouphint"),
"improvisedweapon": checkL10nNonEmptyString ("improvisedweapon"),
"improvisedweapongroup": checkL10nNonEmptyString ("improvisedweapongroup"),
"template": checkL10nNonEmptyString ("template"),
"primaryattribute.withshort": checkL10nNonEmptyString ("primaryattribute.withshort"),
"primaryattribute.short": checkL10nNonEmptyString ("primaryattribute.short"),
"damagethreshold": checkL10nNonEmptyString ("damagethreshold"),
"separatedamagethresholds": checkL10nNonEmptyString ("separatedamagethresholds"),
"breakingpointratingmodifier.short":
checkL10nNonEmptyString ("breakingpointratingmodifier.short"),
"damaged": checkL10nNonEmptyString ("damaged"),
"damaged.short": checkL10nNonEmptyString ("damaged.short"),
"lengthwithunit": checkL10nNonEmptyString ("lengthwithunit"),
"parryingweapon": checkL10nNonEmptyString ("parryingweapon"),
"twohandedweapon": checkL10nNonEmptyString ("twohandedweapon"),
"rangeclose": checkL10nNonEmptyString ("rangeclose"),
"rangemedium": checkL10nNonEmptyString ("rangemedium"),
"rangefar": checkL10nNonEmptyString ("rangefar"),
"armortype": checkL10nNonEmptyString ("armortype"),
"sturdinessrating.short": checkL10nNonEmptyString ("sturdinessrating.short"),
"sturdinessmodifier.short": checkL10nNonEmptyString ("sturdinessmodifier.short"),
"wear": checkL10nNonEmptyString ("wear"),
"wear.short": checkL10nNonEmptyString ("wear.short"),
"hitzonearmoronly": checkL10nNonEmptyString ("hitzonearmoronly"),
"movementmodifier.short": checkL10nNonEmptyString ("movementmodifier.short"),
"initiativemodifier.short": checkL10nNonEmptyString ("initiativemodifier.short"),
"additionalpenalties": checkL10nNonEmptyString ("additionalpenalties"),
"edithitzonearmor": checkL10nNonEmptyString ("edithitzonearmor"),
"createhitzonearmor": checkL10nNonEmptyString ("createhitzonearmor"),
"head": checkL10nNonEmptyString ("head"),
"torso": checkL10nNonEmptyString ("torso"),
"leftarm": checkL10nNonEmptyString ("leftarm"),
"rightarm": checkL10nNonEmptyString ("rightarm"),
"leftleg": checkL10nNonEmptyString ("leftleg"),
"rightleg": checkL10nNonEmptyString ("rightleg"),
"rulemechanics": checkL10nNonEmptyString ("rulemechanics"),
"weaponadvantage": checkL10nNonEmptyString ("weaponadvantage"),
"weapondisadvantage": checkL10nNonEmptyString ("weapondisadvantage"),
"armoradvantage": checkL10nNonEmptyString ("armoradvantage"),
"armordisadvantage": checkL10nNonEmptyString ("armordisadvantage"),
"sizecategory": checkL10nNonEmptyString ("sizecategory"),
"type": checkL10nNonEmptyString ("type"),
"apspent.short": checkL10nNonEmptyString ("apspent.short"),
"attacks": checkL10nNonEmptyString ("attacks"),
"image": checkL10nNonEmptyString ("image"),
"error": checkL10nNonEmptyString ("error"),
"errorcode": checkL10nNonEmptyString ("errorcode"),
"loadtableserror": checkL10nNonEmptyString ("loadtableserror"),
"saveconfigerror": checkL10nNonEmptyString ("saveconfigerror"),
"saveheroeserror": checkL10nNonEmptyString ("saveheroeserror"),
"exportheroasjson": checkL10nNonEmptyString ("exportheroasjson"),
"herosaved": checkL10nNonEmptyString ("herosaved"),
"exportheroerror": checkL10nNonEmptyString ("exportheroerror"),
"printcharactersheettopdf": checkL10nNonEmptyString ("printcharactersheettopdf"),
"pdfsaved": checkL10nNonEmptyString ("pdfsaved"),
"pdfsaveerror": checkL10nNonEmptyString ("pdfsaveerror"),
"pdfcreationerror": checkL10nNonEmptyString ("pdfcreationerror"),
"importheroerror": checkL10nNonEmptyString ("importheroerror"),
"allsaved": checkL10nNonEmptyString ("allsaved"),
"everythingelsesaved": checkL10nNonEmptyString ("everythingelsesaved"),
"emptylist": checkL10nNonEmptyString ("emptylist"),
"musictraditions": checkL10nNonEmptyStringList ("musictraditions"),
"notenoughap": checkL10nNonEmptyString ("notenoughap"),
"notenoughap.text": checkL10nNonEmptyString ("notenoughap.text"),
"reachedlimit": checkL10nNonEmptyString ("reachedlimit"),
"reachedaplimit": checkL10nNonEmptyString ("reachedaplimit"),
"magicaladvantages": checkL10nNonEmptyString ("magicaladvantages"),
"blessedadvantages": checkL10nNonEmptyString ("blessedadvantages"),
"magicaldisadvantages": checkL10nNonEmptyString ("magicaldisadvantages"),
"blesseddisadvantages": checkL10nNonEmptyString ("blesseddisadvantages"),
"remove": checkL10nNonEmptyString ("remove"),
"removeenergypointslostpermanently":
checkL10nNonEmptyString ("removeenergypointslostpermanently"),
"removeenergypointslostpermanentlyinputhint":
checkL10nNonEmptyString ("removeenergypointslostpermanentlyinputhint"),
"group": checkL10nNonEmptyString ("group"),
"skillrating": checkL10nNonEmptyString ("skillrating"),
"combattechniquerating": checkL10nNonEmptyString ("combattechniquerating"),
"attack": checkL10nNonEmptyString ("attack"),
"parry": checkL10nNonEmptyString ("parry"),
"checkmodifier.short": checkL10nNonEmptyString ("checkmodifier.short"),
"checkmodifier": checkL10nNonEmptyString ("checkmodifier"),
"unfamiliartraditions": checkL10nNonEmptyString ("unfamiliartraditions"),
"spellextensions": checkL10nNonEmptyString ("spellextensions"),
"liturgicalchantextensions": checkL10nNonEmptyString ("liturgicalchantextensions"),
"enableeditingheroaftercreationphase":
checkL10nNonEmptyString ("enableeditingheroaftercreationphase"),
"allcombattechniques": checkL10nNonEmptyString ("allcombattechniques"),
"newversionavailable": checkL10nNonEmptyString ("newversionavailable"),
"newversionavailable.text": checkL10nNonEmptyString ("newversionavailable.text"),
"newversionavailable.textwithsize":
checkL10nNonEmptyString ("newversionavailable.textwithsize"),
"update": checkL10nNonEmptyString ("update"),
"nonewversionavailable": checkL10nNonEmptyString ("nonewversionavailable"),
"nonewversionavailable.text": checkL10nNonEmptyString ("nonewversionavailable.text"),
"downloadupdate": checkL10nNonEmptyString ("downloadupdate"),
"attributeadjustmentselection": checkL10nNonEmptyString ("attributeadjustmentselection"),
"aboutapp": checkL10nNonEmptyString ("aboutapp"),
"preferences": checkL10nNonEmptyString ("preferences"),
"quit": checkL10nNonEmptyString ("quit"),
"edit": checkL10nNonEmptyString ("edit"),
"view": checkL10nNonEmptyString ("view"),
"enableallrulebooks": checkL10nNonEmptyString ("enableallrulebooks"),
"races": checkL10nNonEmptyString ("races"),
"cultures": checkL10nNonEmptyString ("cultures"),
"professions": checkL10nNonEmptyString ("professions"),
"items": checkL10nNonEmptyString ("items"),
"allskills": checkL10nNonEmptyString ("allskills"),
"allspecialabilities": checkL10nNonEmptyString ("allspecialabilities"),
"allspells": checkL10nNonEmptyString ("allspells"),
"allliturgicalchants": checkL10nNonEmptyString ("allliturgicalchants"),
"allitemtemplates": checkL10nNonEmptyString ("allitemtemplates"),
"chooseacategory": checkL10nNonEmptyString ("chooseacategory"),
"chooseacategorytodisplayalist":
checkL10nNonEmptyString ("chooseacategorytodisplayalist"),
"emptylistnoresults": checkL10nNonEmptyString ("emptylistnoresults"),
"extendedskillspecialabilities": checkL10nNonEmptyString ("extendedskillspecialabilities"),
"deleteavatar": checkL10nNonEmptyString ("deleteavatar"),
"stronglyrecommended": checkL10nNonEmptyString ("stronglyrecommended"),
"unfamiliarspells": checkL10nNonEmptyString ("unfamiliarspells"),
"unfamiliarspellselectionfortraditionguildmage":
checkL10nNonEmptyString ("unfamiliarspellselectionfortraditionguildmage"),
"selectaspell": checkL10nNonEmptyString ("selectaspell"),
"pactisincompletehint": checkL10nNonEmptyString ("pactisincompletehint"),
"manualherodatarepair": checkL10nNonEmptyString ("manualherodatarepair"),
"manualherodatarepairexplanation":
checkL10nNonEmptyString ("manualherodatarepairexplanation"),
"unfamiliarspell": checkL10nNonEmptyString ("unfamiliarspell"),
"saveandquit": checkL10nNonEmptyString ("saveandquit"),
"uses": checkL10nNonEmptyString ("uses"),
"complementarysources": checkL10nNonEmptyString ("complementarysources"),
"and": checkL10nNonEmptyString ("and"),
"demondomains": checkL10nNonEmptyStringList ("demondomains"),
"demontypes": checkL10nNonEmptyStringList ("demontypes"),
"demontype": checkL10nNonEmptyString ("demontype"),
"circleofdamnation": checkL10nNonEmptyString ("circleofdamnation"),
"lesserpact": checkL10nNonEmptyString ("lesserpact"),
"tribaltraditions": checkL10nNonEmptyString ("tribaltraditions"),
"tribes": checkL10nNonEmptyStringList ("tribes"),
"saveheroerror": checkL10nNonEmptyString ("saveheroerror"),
}
return mapMNamed
(mappedL10n)
(res => L10n ({
// tslint:disable: no-string-literal
"id": res ["id"],
"lastchanges": res ["lastchanges"],
"heroes": res ["heroes"],
"groups": res ["groups"],
"wiki": res ["wiki"],
"faq": res ["faq"],
"about": res ["about"],
"imprint": res ["imprint"],
"thirdpartylicenses": res ["thirdpartylicenses"],
"profile": res ["profile"],
"overview": res ["overview"],
"personaldata": res ["personaldata"],
"charactersheet": res ["charactersheet"],
"pact": res ["pact"],
"rules": res ["rules"],
"racecultureandprofession": res ["racecultureandprofession"],
"race": res ["race"],
"culture": res ["culture"],
"profession": res ["profession"],
"attributes": res ["attributes"],
"advantagesanddisadvantages": res ["advantagesanddisadvantages"],
"advantages": res ["advantages"],
"disadvantages": res ["disadvantages"],
"abilities": res ["abilities"],
"skills": res ["skills"],
"combattechniques": res ["combattechniques"],
"specialabilities": res ["specialabilities"],
"spells": res ["spells"],
"liturgicalchants": res ["liturgicalchants"],
"belongings": res ["belongings"],
"equipment": res ["equipment"],
"hitzonearmor": res ["hitzonearmor"],
"pets": res ["pets"],
"adventurepoints.short": res ["adventurepoints.short"],
"adventurepoint": res ["adventurepoint"],
"adventurepoints": res ["adventurepoints"],
"totalap.novar": res ["totalap.novar"],
"apspent.novar": res ["apspent.novar"],
"totalap": res ["totalap"],
"apspent": res ["apspent"],
"apspentonadvantages": res ["apspentonadvantages"],
"apspentonmagicadvantages": res ["apspentonmagicadvantages"],
"apspentonblessedadvantages": res ["apspentonblessedadvantages"],
"apspentondisadvantages": res ["apspentondisadvantages"],
"apspentonmagicdisadvantages": res ["apspentonmagicdisadvantages"],
"apspentonblesseddisadvantages": res ["apspentonblesseddisadvantages"],
"apspentonrace": res ["apspentonrace"],
"apspentonprofession": res ["apspentonprofession"],
"apspentonattributes": res ["apspentonattributes"],
"apspentonskills": res ["apspentonskills"],
"apspentoncombattechniques": res ["apspentoncombattechniques"],
"apspentonspells": res ["apspentonspells"],
"apspentoncantrips": res ["apspentoncantrips"],
"apspentonliturgicalchants": res ["apspentonliturgicalchants"],
"apspentonblessings": res ["apspentonblessings"],
"apspentonspecialabilities": res ["apspentonspecialabilities"],
"apspentonenergies": res ["apspentonenergies"],
"search": res ["search"],
"sortalphabetically": res ["sortalphabetically"],
"sortbydatemodified": res ["sortbydatemodified"],
"sortbygroup": res ["sortbygroup"],
"sortbyimprovementcost": res ["sortbyimprovementcost"],
"sortbyproperty": res ["sortbyproperty"],
"sortbylocation": res ["sortbylocation"],
"sortbycost": res ["sortbycost"],
"sortbyweight": res ["sortbyweight"],
"showactivated": res ["showactivated"],
"none": res ["none"],
"save": res ["save"],
"done": res ["done"],
"delete": res ["delete"],
"yes": res ["yes"],
"no": res ["no"],
"ok": res ["ok"],
"cancel": res ["cancel"],
"copy": res ["copy"],
"create": res ["create"],
"import": res ["import"],
"allheroes": res ["allheroes"],
"ownheroes": res ["ownheroes"],
"sharedheroes": res ["sharedheroes"],
"unsavedhero": res ["unsavedhero"],
"unsavedactions": res ["unsavedactions"],
"unsavedactions.text": res ["unsavedactions.text"],
"deletehero": res ["deletehero"],
"deletehero.text": res ["deletehero.text"],
"herocreation": res ["herocreation"],
"start": res ["start"],
"nameofhero": res ["nameofhero"],
"selectsex": res ["selectsex"],
"male": res ["male"],
"female": res ["female"],
"selectexperiencelevel": res ["selectexperiencelevel"],
"magic": res ["magic"],
"rituals": res ["rituals"],
"cantrips": res ["cantrips"],
"curses": res ["curses"],
"elvenmagicalsongs": res ["elvenmagicalsongs"],
"magicalmelodies": res ["magicalmelodies"],
"magicaldances": res ["magicaldances"],
"editprofessionname": res ["editprofessionname"],
"addadventurepoints": res ["addadventurepoints"],
"endherocreation": res ["endherocreation"],
"add": res ["add"],
"changeheroavatar": res ["changeheroavatar"],
"apply": res ["apply"],
"selectfile": res ["selectfile"],
"changeheroavatar.invalidfile": res ["changeheroavatar.invalidfile"],
"family": res ["family"],
"placeofbirth": res ["placeofbirth"],
"dateofbirth": res ["dateofbirth"],
"age": res ["age"],
"haircolor": res ["haircolor"],
"eyecolor": res ["eyecolor"],
"size": res ["size"],
"weight": res ["weight"],
"title": res ["title"],
"socialstatus": res ["socialstatus"],
"characteristics": res ["characteristics"],
"otherinfo": res ["otherinfo"],
"cultureareaknowledge": res ["cultureareaknowledge"],
"socialstatuses": res ["socialstatuses"],
"haircolors": res ["haircolors"],
"eyecolors": res ["eyecolors"],
"pactcategory": res ["pactcategory"],
"nopact": res ["nopact"],
"pactcategories": res ["pactcategories"],
"pactlevel": res ["pactlevel"],
"fairytype": res ["fairytype"],
"fairytypes": res ["fairytypes"],
"domain": res ["domain"],
"userdefined": res ["userdefined"],
"fairydomains": res ["fairydomains"],
"settings": res ["settings"],
"language": res ["language"],
"systemlanguage": res ["systemlanguage"],
"languagehint": res ["languagehint"],
"theme": res ["theme"],
"dark": res ["dark"],
"light": res ["light"],
"showanimations": res ["showanimations"],
"close": res ["close"],
"checkforupdates": res ["checkforupdates"],
"printtopdf": res ["printtopdf"],
"showattributevalues": res ["showattributevalues"],
"name": res ["name"],
"sex": res ["sex"],
"experiencelevel": res ["experiencelevel"],
"apcollected": res ["apcollected"],
"avatar": res ["avatar"],
"generalspecialabilites": res ["generalspecialabilites"],
"fatepoints": res ["fatepoints"],
"value": res ["value"],
"bonuspenalty": res ["bonuspenalty"],
"bonus": res ["bonus"],
"bought": res ["bought"],
"max": res ["max"],
"current": res ["current"],
"basestat": res ["basestat"],
"permanentlylostboughtback": res ["permanentlylostboughtback"],
"gamestats": res ["gamestats"],
"skill": res ["skill"],
"check": res ["check"],
"encumbrance.short": res ["encumbrance.short"],
"improvementcost.short": res ["improvementcost.short"],
"skillrating.short": res ["skillrating.short"],
"routinechecks.short": res ["routinechecks.short"],
"notes": res ["notes"],
"maybe": res ["maybe"],
"physicalskills": res ["physicalskills"],
"page.short": res ["page.short"],
"socialskills": res ["socialskills"],
"natureskills": res ["natureskills"],
"knowledgeskills": res ["knowledgeskills"],
"craftskills": res ["craftskills"],
"languages": res ["languages"],
"nativetongue.short": res ["nativetongue.short"],
"knownscripts": res ["knownscripts"],
"routinechecks": res ["routinechecks"],
"routinechecks.text1": res ["routinechecks.text1"],
"routinechecks.text2": res ["routinechecks.text2"],
"routinechecks.text3": res ["routinechecks.text3"],
"routinechecks.text4": res ["routinechecks.text4"],
"checkmod": res ["checkmod"],
"neededsr": res ["neededsr"],
"from": res ["from"],
"qualitylevels": res ["qualitylevels"],
"skillpoints.splitted": res ["skillpoints.splitted"],
"qualitylevel.splitted": res ["qualitylevel.splitted"],
"attributemodifiers": res ["attributemodifiers"],
"combat": res ["combat"],
"primaryattribute.medium": res ["primaryattribute.medium"],
"combattechniquerating.short": res ["combattechniquerating.short"],
"attackrangecombat.short": res ["attackrangecombat.short"],
"parry.short": res ["parry.short"],
"lifepoints": res ["lifepoints"],
"pain1": res ["pain1"],
"pain2": res ["pain2"],
"pain3": res ["pain3"],
"pain4": res ["pain4"],
"dying": res ["dying"],
"closecombatweapons": res ["closecombatweapons"],
"weapon": res ["weapon"],
"combattechnique": res ["combattechnique"],
"damagebonus.medium": res ["damagebonus.medium"],
"damagepoints.short": res ["damagepoints.short"],
"attackparrymodifier.short": res ["attackparrymodifier.short"],
"reach": res ["reach"],
"reachlabels": res ["reachlabels"],
"breakingpointrating.short": res ["breakingpointrating.short"],
"damaged.short": res ["damaged.short"],
"attack.short": res ["attack.short"],
"weightunit.short": res ["weightunit.short"],
"rangedcombatweapons": res ["rangedcombatweapons"],
"reloadtime": res ["reloadtime"],
"rangebrackets": res ["rangebrackets"],
"rangedcombat": res ["rangedcombat"],
"ammunition": res ["ammunition"],
"armors": res ["armors"],
"armor": res ["armor"],
"protection.short": res ["protection.short"],
"sturdinessrating.short": res ["sturdinessrating.short"],
"wear.short": res ["wear.short"],
"movementinitiative": res ["movementinitiative"],
"carriedwhereexamples": res ["carriedwhereexamples"],
"head.short": res ["head.short"],
"torso.short": res ["torso.short"],
"leftarm.short": res ["leftarm.short"],
"rightarm.short": res ["rightarm.short"],
"leftleg.short": res ["leftleg.short"],
"rightleg.short": res ["rightleg.short"],
"shieldparryingweapon": res ["shieldparryingweapon"],
"structurepoints.short": res ["structurepoints.short"],
"dice.short": res ["dice.short"],
"actions.short": res ["actions.short"],
"combatspecialabilities": res ["combatspecialabilities"],
"conditions": res ["conditions"],
"animosity": res ["animosity"],
"encumbrance": res ["encumbrance"],
"intoxicated": res ["intoxicated"],
"stupor": res ["stupor"],
"rapture": res ["rapture"],
"fear": res ["fear"],
"paralysis": res ["paralysis"],
"pain": res ["pain"],
"confusion": res ["confusion"],
"states": res ["states"],
"immobilized": res ["immobilized"],
"unconscious": res ["unconscious"],
"blind": res ["blind"],
"bloodlust": res ["bloodlust"],
"burning": res ["burning"],
"cramped": res ["cramped"],
"bound": res ["bound"],
"incapacitated": res ["incapacitated"],
"diseased": res ["diseased"],
"prone": res ["prone"],
"misfortune": res ["misfortune"],
"rage": res ["rage"],
"mute": res ["mute"],
"deaf": res ["deaf"],
"surprised": res ["surprised"],
"badsmell": res ["badsmell"],
"invisible": res ["invisible"],
"poisoned": res ["poisoned"],
"petrified": res ["petrified"],
"item": res ["item"],
"number.short": res ["number.short"],
"price": res ["price"],
"carriedwhere": res ["carriedwhere"],
"total": res ["total"],
"purse": res ["purse"],
"ducats": res ["ducats"],
"silverthalers": res ["silverthalers"],
"halers": res ["halers"],
"kreutzers": res ["kreutzers"],
"gems": res ["gems"],
"jewelry": res ["jewelry"],
"other": res ["other"],
"carryingcapacity": res ["carryingcapacity"],
"carryingcapacitycalc": res ["carryingcapacitycalc"],
"carryingcapacitylabel": res ["carryingcapacitylabel"],
"animal": res ["animal"],
"spellsandrituals": res ["spellsandrituals"],
"aemax": res ["aemax"],
"spellorritual": res ["spellorritual"],
"cost": res ["cost"],
"castingtime.splitted": res ["castingtime.splitted"],
"range.splitted": res ["range.splitted"],
"duration.splitted": res ["duration.splitted"],