source: ps/trunk/binaries/data/mods/public/l10n/messages.json@ 25265

Last change on this file since 25265 was 25265, checked in by Freagarach, 3 years ago

Fix translation of damage types.

Broken in r24509 / rP24509.
Due to not checking for template_helpers in the game's files.

Patch by: @nwtour
Differential revision: https://code.wildfiregames.com/D3850

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/json
File size: 28.7 KB
Line 
1[
2 {
3 "output": "public-civilizations.pot",
4 "inputRoot": "..",
5 "project": "0 A.D. — Empires Ascendant",
6 "copyrightHolder": "Wildfire Games",
7 "rules": [
8 {
9 "extractor": "json",
10 "filemasks": [
11 "simulation/data/civs/**.json"
12 ],
13 "options": {
14 "keywords": [
15 "Name",
16 "Description",
17 "History",
18 "Special",
19 "AINames"
20 ]
21 }
22 }
23 ]
24 },
25 {
26 "output": "public-gui-ingame.pot",
27 "inputRoot": "..",
28 "project": "0 A.D. — Empires Ascendant",
29 "copyrightHolder": "Wildfire Games",
30 "rules": [
31 {
32 "extractor": "javascript",
33 "filemasks": [
34 "gui/session/**.js"
35 ],
36 "options": {
37 "format": "javascript-format",
38 "keywords": {
39 "translate": [1],
40 "translatePlural": [1, 2],
41 "translateWithContext": [[1], 2],
42 "translatePluralWithContext": [[1], 2, 3],
43 "markForTranslation": [1],
44 "markForTranslationWithContext": [[1], 2],
45 "markForPluralTranslation": [1, 2]
46 },
47 "commentTags": [
48 "Translation:"
49 ]
50 }
51 },
52 {
53 "extractor": "xml",
54 "filemasks": [
55 "gui/session/**.xml"
56 ],
57 "options": {
58 "keywords": {
59 "translatableAttribute": {
60 "locationAttributes": ["id"]
61 },
62 "translate": {}
63 }
64 }
65 }
66 ]
67 },
68 {
69 "output": "public-gui-gamesetup.pot",
70 "inputRoot": "..",
71 "project": "0 A.D. — Empires Ascendant",
72 "copyrightHolder": "Wildfire Games",
73 "rules": [
74 {
75 "extractor": "javascript",
76 "filemasks": [
77 "gui/gamesetup/**.js",
78 "gui/gamesetup_mp/**.js",
79 "gui/loading/**.js"
80 ],
81 "options": {
82 "format": "javascript-format",
83 "keywords": {
84 "translate": [1],
85 "translatePlural": [1, 2],
86 "translateWithContext": [[1], 2],
87 "translatePluralWithContext": [[1], 2, 3],
88 "markForTranslation": [1],
89 "markForTranslationWithContext": [[1], 2],
90 "markForPluralTranslation": [1, 2]
91 },
92 "commentTags": [
93 "Translation:"
94 ]
95 }
96 },
97 {
98 "extractor": "xml",
99 "filemasks": [
100 "gui/gamesetup/**.xml",
101 "gui/gamesetup_mp/**.xml",
102 "gui/loading/**.xml"
103 ],
104 "options": {
105 "keywords": {
106 "translatableAttribute": {
107 "locationAttributes": ["id"]
108 },
109 "translate": {}
110 }
111 }
112 },
113 {
114 "extractor": "txt",
115 "filemasks": [
116 "gui/text/quotes.txt"
117 ],
118 "options": {
119 }
120 }
121 ]
122 },
123 {
124 "output": "public-gui-lobby.pot",
125 "inputRoot": "..",
126 "project": "0 A.D. — Empires Ascendant",
127 "copyrightHolder": "Wildfire Games",
128 "rules": [
129 {
130 "extractor": "javascript",
131 "filemasks": [
132 "gui/lobby/**.js",
133 "gui/prelobby/**.js"
134 ],
135 "options": {
136 "format": "javascript-format",
137 "keywords": {
138 "translate": [1],
139 "translatePlural": [1, 2],
140 "translateWithContext": [[1], 2],
141 "translatePluralWithContext": [[1], 2, 3],
142 "markForTranslation": [1],
143 "markForTranslationWithContext": [[1], 2],
144 "markForPluralTranslation": [1, 2]
145 },
146 "commentTags": [
147 "Translation:"
148 ]
149 }
150 },
151 {
152 "extractor": "xml",
153 "filemasks": [
154 "gui/lobby/**.xml",
155 "gui/prelobby/**.xml"
156 ],
157 "options": {
158 "keywords": {
159 "translatableAttribute": {
160 "locationAttributes": ["id"]
161 },
162 "translate": {}
163 }
164 }
165 },
166 {
167 "extractor": "txt",
168 "filemasks": [
169 "gui/prelobby/common/terms/*.txt"
170 ],
171 "options": {
172 }
173 }
174 ]
175 },
176 {
177 "output": "public-gui-manual.pot",
178 "inputRoot": "..",
179 "project": "0 A.D. — Empires Ascendant",
180 "copyrightHolder": "Wildfire Games",
181 "rules": [
182 {
183 "extractor": "javascript",
184 "filemasks": [
185 "gui/manual/**.js"
186 ],
187 "options": {
188 "format": "javascript-format",
189 "keywords": {
190 "translate": [1],
191 "translatePlural": [1, 2],
192 "translateWithContext": [[1], 2],
193 "translatePluralWithContext": [[1], 2, 3],
194 "markForTranslation": [1],
195 "markForTranslationWithContext": [[1], 2],
196 "markForPluralTranslation": [1, 2]
197 },
198 "commentTags": [
199 "Translation:"
200 ]
201 }
202 },
203 {
204 "extractor": "xml",
205 "filemasks": [
206 "gui/manual/**.xml"
207 ],
208 "options": {
209 "keywords": {
210 "translatableAttribute": {
211 "locationAttributes": ["id"]
212 },
213 "translate": {}
214 }
215 }
216 },
217 {
218 "extractor": "txt",
219 "filemasks": [
220 "gui/manual/intro.txt"
221 ],
222 "options": {
223 }
224 }
225 ]
226 },
227 {
228 "output": "public-gui-userreport.pot",
229 "inputRoot": "..",
230 "project": "0 A.D. — Empires Ascendant",
231 "copyrightHolder": "Wildfire Games",
232 "rules": [
233 {
234 "extractor": "txt",
235 "filemasks": [
236 "gui/userreport/**.txt"
237 ],
238 "options": {
239 }
240 }
241 ]
242 },
243 {
244 "output": "public-gui-campaigns.pot",
245 "inputRoot": "..",
246 "project": "0 A.D. — Empires Ascendant",
247 "copyrightHolder": "Wildfire Games",
248 "rules": [
249 {
250 "extractor": "javascript",
251 "filemasks": [
252 "gui/campaigns/**.js",
253 "gui/common/campaigns/**.js"
254 ],
255 "options": {
256 "format": "javascript-format",
257 "keywords": {
258 "translate": [1],
259 "translatePlural": [1, 2],
260 "translateWithContext": [[1], 2],
261 "translatePluralWithContext": [[1], 2, 3],
262 "markForTranslation": [1],
263 "markForTranslationWithContext": [[1], 2],
264 "markForPluralTranslation": [1, 2]
265 },
266 "commentTags": [
267 "Translation:"
268 ]
269 }
270 },
271 {
272 "extractor": "xml",
273 "filemasks": [
274 "gui/campaigns/**.xml",
275 "gui/common/campaigns/**.xml"
276 ],
277 "options": {
278 "keywords": {
279 "translatableAttribute": {
280 "locationAttributes": ["id"]
281 },
282 "translate": {}
283 }
284 }
285 },
286 {
287 "extractor": "json",
288 "filemasks": [
289 "campaigns/**.json"
290 ],
291 "options": {
292 "keywords": [
293 "Name",
294 "Description"
295 ],
296 "context": "Campaign Template"
297 }
298 }
299 ]
300 },
301 {
302 "output": "public-gui-other.pot",
303 "inputRoot": "..",
304 "project": "0 A.D. — Empires Ascendant",
305 "copyrightHolder": "Wildfire Games",
306 "rules": [
307 {
308 "extractor": "javascript",
309 "filemasks": [
310 "globalscripts/**.js",
311 "gui/common/**.js",
312 "gui/credits/**.js",
313 "gui/hotkeys/**.js",
314 "gui/loadgame/**.js",
315 "gui/locale/**.js",
316 "gui/maps/**.js",
317 "gui/options/**.js",
318 "gui/pregame/**.js",
319 "gui/reference/**.js",
320 "gui/replaymenu/**.js",
321 "gui/splashscreen/**.js",
322 "gui/summary/**.js"
323 ],
324 "options": {
325 "format": "javascript-format",
326 "keywords": {
327 "translate": [1],
328 "translatePlural": [1, 2],
329 "translateWithContext": [[1], 2],
330 "translatePluralWithContext": [[1], 2, 3],
331 "markForTranslation": [1],
332 "markForTranslationWithContext": [[1], 2],
333 "markForPluralTranslation": [1, 2]
334 },
335 "commentTags": [
336 "dennis-ignore:",
337 "Translation:"
338 ]
339 }
340 },
341 {
342 "extractor": "xml",
343 "filemasks": [
344 "globalscripts/**.xml",
345 "gui/common/**.xml",
346 "gui/credits/**.xml",
347 "gui/hotkeys/**.xml",
348 "gui/loadgame/**.xml",
349 "gui/locale/**.xml",
350 "gui/maps/**.xml",
351 "gui/options/**.xml",
352 "gui/pregame/**.xml",
353 "gui/reference/**.xml",
354 "gui/replaymenu/**.xml",
355 "gui/splashscreen/**.xml",
356 "gui/summary/**.xml"
357 ],
358 "options": {
359 "keywords": {
360 "translatableAttribute": {
361 "locationAttributes": ["id"]
362 },
363 "translate": {}
364 }
365 }
366 },
367 {
368 "extractor": "json",
369 "filemasks": [
370 "gui/credits/texts/**.json"
371 ],
372 "options": {
373 "keywords": [
374 "Title",
375 "Subtitle"
376 ]
377 }
378 },
379 {
380 "extractor": "json",
381 "filemasks": [
382 "gui/hotkeys/spec/**.json"
383 ],
384 "options": {
385 "keywords": [
386 "name",
387 "desc"
388 ],
389 "context": "hotkey metadata"
390 }
391 },
392 {
393 "extractor": "json",
394 "filemasks": [
395 "gui/options/**.json"
396 ],
397 "options": {
398 "keywords": [
399 "label",
400 "tooltip"
401 ]
402 }
403 },
404 {
405 "extractor": "json",
406 "filemasks": [
407 "simulation/data/resources/**.json"
408 ],
409 "options": {
410 "keywords": [
411 "description"
412 ]
413 }
414 },
415 {
416 "extractor": "json",
417 "filemasks": [
418 "simulation/data/resources/**.json"
419 ],
420 "options": {
421 "keywords": [
422 "name",
423 "subtypes"
424 ],
425 "comments": [
426 "Translation: Word as used at the beginning of a sentence or as a single-word sentence."
427 ],
428 "context": "firstWord"
429 }
430 },
431 {
432 "extractor": "json",
433 "filemasks": [
434 "simulation/data/resources/**.json"
435 ],
436 "options": {
437 "keywords": [
438 "name",
439 "subtypes"
440 ],
441 "comments": [
442 "Translation: Word as used in the middle of a sentence (which may require using lowercase for your language)."
443 ],
444 "context": "withinSentence"
445 }
446 },
447 {
448 "extractor": "txt",
449 "filemasks": [
450 "gui/gamesetup/**.txt",
451 "gui/splashscreen/splashscreen.txt",
452 "gui/text/tips/**.txt"
453 ],
454 "options": {
455 }
456 }
457 ]
458 },
459 {
460 "output": "public-templates-units.pot",
461 "inputRoot": "..",
462 "project": "0 A.D. — Empires Ascendant",
463 "copyrightHolder": "Wildfire Games",
464 "rules": [
465 {
466 "extractor": "xml",
467 "filemasks": [
468 "simulation/templates/template_unit_*.xml",
469 "simulation/templates/units/**.xml"
470 ],
471 "options": {
472 "keywords": {
473 "AttackName": {
474 "customContext": "Name of an attack, usually the weapon."
475 },
476 "StatusName": {
477 "customContext": "status effect"
478 },
479 "ApplierTooltip": {
480 "customContext": "status effect"
481 },
482 "ReceiverTooltip": {
483 "customContext": "status effect"
484 },
485 "GenericName": {},
486 "SpecificName": {},
487 "History": {},
488 "VisibleClasses": {
489 "splitOnWhitespace": true
490 },
491 "Tooltip": {},
492 "DisabledTooltip": {},
493 "FormationName": {},
494 "FromClass": {},
495 "Rank": {
496 "tagAsContext": true
497 }
498 }
499 }
500 }
501 ]
502 },
503 {
504 "output": "public-templates-buildings.pot",
505 "inputRoot": "..",
506 "project": "0 A.D. — Empires Ascendant",
507 "copyrightHolder": "Wildfire Games",
508 "rules": [
509 {
510 "extractor": "xml",
511 "filemasks": [
512 "simulation/templates/template_structure_*.xml",
513 "simulation/templates/structures/**.xml"
514 ],
515 "options": {
516 "keywords": {
517 "AttackName": {
518 "customContext": "Name of an attack, usually the weapon."
519 },
520 "StatusName": {
521 "customContext": "status effect"
522 },
523 "ApplierTooltip": {
524 "customContext": "status effect"
525 },
526 "ReceiverTooltip": {
527 "customContext": "status effect"
528 },
529 "GenericName": {},
530 "SpecificName": {},
531 "History": {},
532 "VisibleClasses": {
533 "splitOnWhitespace": true
534 },
535 "Tooltip": {},
536 "DisabledTooltip": {},
537 "FormationName": {},
538 "FromClass": {},
539 "Rank": {
540 "tagAsContext": true
541 }
542 }
543 }
544 }
545 ]
546 },
547 {
548 "output": "public-templates-other.pot",
549 "inputRoot": "..",
550 "project": "0 A.D. — Empires Ascendant",
551 "copyrightHolder": "Wildfire Games",
552 "rules": [
553 {
554 "extractor": "xml",
555 "filemasks": {
556 "includeMasks": [
557 "simulation/templates/**.xml"
558 ],
559 "excludeMasks": [
560 "simulation/templates/structures/**.xml",
561 "simulation/templates/template_structure_*.xml",
562 "simulation/templates/template_unit_*.xml",
563 "simulation/templates/units/**.xml"
564 ]
565 },
566 "options": {
567 "keywords": {
568 "AttackName": {
569 "customContext": "Name of an attack, usually the weapon."
570 },
571 "GenericName": {},
572 "SpecificName": {},
573 "History": {},
574 "VisibleClasses": {
575 "splitOnWhitespace": true
576 },
577 "Tooltip": {},
578 "DisabledTooltip": {},
579 "FormationName": {},
580 "FromClass": {},
581 "Rank": {
582 "tagAsContext": true
583 }
584 }
585 }
586 },
587 {
588 "extractor": "json",
589 "filemasks": [
590 "simulation/data/damage_types/*.json"
591 ],
592 "options": {
593 "keywords": [
594 "name",
595 "description"
596 ],
597 "context": "damage type"
598 }
599 },
600 {
601 "extractor": "json",
602 "filemasks": [
603 "simulation/data/status_effects/*.json"
604 ],
605 "options": {
606 "keywords": [
607 "statusName",
608 "applierTooltip",
609 "receiverTooltip"
610 ],
611 "context": "status effect"
612 }
613 },
614 {
615 "extractor": "json",
616 "filemasks": [
617 "simulation/data/attack_effects/*.json"
618 ],
619 "options": {
620 "keywords": [
621 "name",
622 "description"
623 ],
624 "context": "effect caused by an attack"
625 }
626 }
627 ]
628 },
629 {
630 "output": "public-simulation-auras.pot",
631 "inputRoot": "..",
632 "project": "0 A.D. — Empires Ascendant",
633 "copyrightHolder": "Wildfire Games",
634 "rules": [
635 {
636 "extractor": "json",
637 "filemasks": [
638 "simulation/data/auras/**.json"
639 ],
640 "options": {
641 "keywords": [
642 "auraName",
643 "auraDescription"
644 ]
645 }
646 }
647 ]
648 },
649 {
650 "output": "public-simulation-technologies.pot",
651 "inputRoot": "..",
652 "project": "0 A.D. — Empires Ascendant",
653 "copyrightHolder": "Wildfire Games",
654 "rules": [
655 {
656 "extractor": "json",
657 "filemasks": [
658 "simulation/data/technologies/**.json"
659 ],
660 "options": {
661 "keywords": [
662 "specificName",
663 "genericName",
664 "description",
665 "tooltip",
666 "requirementsTooltip"
667 ]
668 }
669 }
670 ]
671 },
672 {
673 "output": "public-simulation-other.pot",
674 "inputRoot": "..",
675 "project": "0 A.D. — Empires Ascendant",
676 "copyrightHolder": "Wildfire Games",
677 "rules": [
678 {
679 "extractor": "javascript",
680 "filemasks": [
681 "simulation/ai/**.js",
682 "simulation/components/**.js",
683 "simulation/helpers/**.js"
684 ],
685 "options": {
686 "format": "javascript-format",
687 "keywords": {
688 "translate": [1],
689 "translatePlural": [1, 2],
690 "translateWithContext": [[1], 2],
691 "translatePluralWithContext": [[1], 2, 3],
692 "markForTranslation": [1],
693 "markForTranslationWithContext": [[1], 2],
694 "markForPluralTranslation": [1, 2]
695 },
696 "commentTags": [
697 "Translation:"
698 ]
699 }
700 },
701 {
702 "extractor": "json",
703 "filemasks": [
704 "simulation/data/settings/player_defaults.json"
705 ],
706 "options": {
707 "keywords": [
708 "Name"
709 ]
710 }
711 },
712 {
713 "extractor": "json",
714 "filemasks": [
715 "simulation/data/settings/game_speeds.json"
716 ],
717 "options": {
718 "keywords": ["Title"]
719 }
720 },
721 {
722 "extractor": "json",
723 "filemasks": [
724 "simulation/data/settings/victory_conditions/*.json"
725 ],
726 "options": {
727 "keywords": ["Title", "Description"]
728 }
729 },
730 {
731 "extractor": "json",
732 "filemasks": [
733 "simulation/data/settings/starting_resources.json"
734 ],
735 "options": {
736 "keywords": ["Title"],
737 "context": "startingResources"
738 }
739 },
740 {
741 "extractor": "json",
742 "filemasks": [
743 "simulation/data/settings/trigger_difficulties.json"
744 ],
745 "options": {
746 "keywords": ["Title", "Tooltip"]
747 }
748 },
749 {
750 "extractor": "json",
751 "filemasks": [
752 "simulation/data/settings/map_sizes.json"
753 ],
754 "options": {
755 "keywords": [
756 "Name",
757 "Tooltip"
758 ]
759 }
760 },
761 {
762 "extractor": "json",
763 "filemasks": [
764 "simulation/ai/**.json"
765 ],
766 "options": {
767 "keywords": [
768 "name",
769 "description"
770 ]
771 }
772 }
773 ]
774 },
775 {
776 "output": "public-maps.pot",
777 "inputRoot": "..",
778 "project": "0 A.D. — Empires Ascendant",
779 "copyrightHolder": "Wildfire Games",
780 "rules": [
781 {
782 "extractor": "json",
783 "filemasks": {
784 "includeMasks": [
785 "maps/random/**.json"
786 ],
787 "excludeMasks": [
788 "maps/random/rmbiome/**.json"
789 ]
790 },
791 "options": {
792 "keywords": [
793 "Name",
794 "Description"
795 ]
796 }
797 },
798 {
799 "extractor": "javascript",
800 "filemasks": [
801 "maps/scenarios/**.js",
802 "maps/skirmishes/**.js",
803 "maps/random/**.js",
804 "maps/scripts/**.js"
805 ],
806 "options": {
807 "format": "javascript-format",
808 "keywords": {
809 "markForTranslation": [1],
810 "markForTranslationWithContext": [[1], 2],
811 "markForPluralTranslation": [1, 2]
812 },
813 "commentTags": [
814 "Translation:"
815 ]
816 }
817 },
818 {
819 "extractor": "xml",
820 "filemasks": [
821 "maps/scenarios/**.xml",
822 "maps/skirmishes/**.xml"
823 ],
824 "options": {
825 "keywords": {
826 "ScriptSettings": {
827 "extractJson": {
828 "keywords": [
829 "Name",
830 "Description"
831 ]
832 }
833 }
834 }
835 }
836 },
837 {
838 "extractor": "json",
839 "filemasks": [
840 "maps/random/rmbiome/**.json"
841 ],
842 "options": {
843 "keywords": ["Description"],
844 "context": "biome definition"
845 }
846 }
847 ]
848 },
849 {
850 "output": "public-tutorials.pot",
851 "inputRoot": "..",
852 "project": "0 A.D. — Empires Ascendant",
853 "copyrightHolder": "Wildfire Games",
854 "rules": [
855 {
856 "extractor": "javascript",
857 "filemasks": [
858 "maps/tutorials/**.js"
859 ],
860 "options": {
861 "format": "javascript-format",
862 "keywords": {
863 "markForTranslation": [1],
864 "markForTranslationWithContext": [[1], 2],
865 "markForPluralTranslation": [1, 2]
866 },
867 "commentTags": [
868 "Translation:"
869 ]
870 }
871 },
872 {
873 "extractor": "xml",
874 "filemasks": [
875 "maps/tutorials/**.xml"
876 ],
877 "options": {
878 "keywords": {
879 "ScriptSettings": {
880 "extractJson": {
881 "keywords": [
882 "Name",
883 "Description"
884 ]
885 }
886 }
887 }
888 }
889 }
890 ]
891 }
892]
Note: See TracBrowser for help on using the repository browser.