mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Avoid cases of filenames Update years in terms and other legal(ish) documents Don't update years in license headers, since change is not meaningful Will add linter rule in seperate commit Happy recompiling everyone! Original Patch By: Nescio Comment By: Gallaecio Differential Revision: D2620 This was SVN commit r27786.
928 lines
30 KiB
JSON
928 lines
30 KiB
JSON
[
|
||
{
|
||
"output": "public-civilizations.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/civs/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Name": {},
|
||
"Description": {},
|
||
"History": {},
|
||
"Special": {},
|
||
"AINames": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"simulation/templates/special/players/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"GenericName": {},
|
||
"History": {}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-gui-ingame.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"gui/session/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"translate": [1],
|
||
"translatePlural": [1, 2],
|
||
"translateWithContext": [[1], 2],
|
||
"translatePluralWithContext": [[1], 2, 3],
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"gui/session/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"translatableAttribute": {
|
||
"locationAttributes": ["id"]
|
||
},
|
||
"translate": {}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-gui-gamesetup.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"gui/gamesettings/attributes/**.js",
|
||
"gui/gamesetup/**.js",
|
||
"gui/gamesetup_mp/**.js",
|
||
"gui/loading/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"translate": [1],
|
||
"translatePlural": [1, 2],
|
||
"translateWithContext": [[1], 2],
|
||
"translatePluralWithContext": [[1], 2, 3],
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"gui/gamesetup/**.xml",
|
||
"gui/gamesetup_mp/**.xml",
|
||
"gui/loading/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"translatableAttribute": {
|
||
"locationAttributes": ["id"]
|
||
},
|
||
"translate": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "txt",
|
||
"filemasks": [
|
||
"gui/text/quotes.txt"
|
||
],
|
||
"options": {
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-gui-lobby.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"gui/lobby/**.js",
|
||
"gui/prelobby/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"translate": [1],
|
||
"translatePlural": [1, 2],
|
||
"translateWithContext": [[1], 2],
|
||
"translatePluralWithContext": [[1], 2, 3],
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"gui/lobby/**.xml",
|
||
"gui/prelobby/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"translatableAttribute": {
|
||
"locationAttributes": ["id"]
|
||
},
|
||
"translate": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "txt",
|
||
"filemasks": [
|
||
"gui/prelobby/common/terms/*.txt"
|
||
],
|
||
"options": {
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-gui-manual.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"gui/manual/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"translate": [1],
|
||
"translatePlural": [1, 2],
|
||
"translateWithContext": [[1], 2],
|
||
"translatePluralWithContext": [[1], 2, 3],
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"gui/manual/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"translatableAttribute": {
|
||
"locationAttributes": ["id"]
|
||
},
|
||
"translate": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "txt",
|
||
"filemasks": [
|
||
"gui/manual/intro.txt"
|
||
],
|
||
"options": {
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-gui-userreport.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "txt",
|
||
"filemasks": [
|
||
"gui/userreport/**.txt"
|
||
],
|
||
"options": {
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-gui-campaigns.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"gui/campaigns/**.js",
|
||
"gui/common/campaigns/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"translate": [1],
|
||
"translatePlural": [1, 2],
|
||
"translateWithContext": [[1], 2],
|
||
"translatePluralWithContext": [[1], 2, 3],
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"gui/campaigns/**.xml",
|
||
"gui/common/campaigns/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"translatableAttribute": {
|
||
"locationAttributes": ["id"]
|
||
},
|
||
"translate": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"campaigns/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Name": {},
|
||
"Description": {}
|
||
},
|
||
"context": "Campaign Template"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-gui-other.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"globalscripts/**.js",
|
||
"gui/common/**.js",
|
||
"gui/credits/**.js",
|
||
"gui/hotkeys/**.js",
|
||
"gui/loadgame/**.js",
|
||
"gui/locale/**.js",
|
||
"gui/locale_advanced/**.js",
|
||
"gui/maps/**.js",
|
||
"gui/options/**.js",
|
||
"gui/pregame/**.js",
|
||
"gui/reference/**.js",
|
||
"gui/replaymenu/**.js",
|
||
"gui/splashscreen/**.js",
|
||
"gui/summary/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"translate": [1],
|
||
"translatePlural": [1, 2],
|
||
"translateWithContext": [[1], 2],
|
||
"translatePluralWithContext": [[1], 2, 3],
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"dennis-ignore:",
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"globalscripts/**.xml",
|
||
"gui/common/**.xml",
|
||
"gui/credits/**.xml",
|
||
"gui/hotkeys/**.xml",
|
||
"gui/loadgame/**.xml",
|
||
"gui/locale/**.xml",
|
||
"gui/locale_advanced/**.xml",
|
||
"gui/maps/**.xml",
|
||
"gui/options/**.xml",
|
||
"gui/pregame/**.xml",
|
||
"gui/reference/**.xml",
|
||
"gui/replaymenu/**.xml",
|
||
"gui/splashscreen/**.xml",
|
||
"gui/summary/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"translatableAttribute": {
|
||
"locationAttributes": ["id"]
|
||
},
|
||
"translate": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"gui/credits/texts/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Title": {},
|
||
"Subtitle": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"gui/hotkeys/spec/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"name": {},
|
||
"desc": {}
|
||
},
|
||
"context": "hotkey metadata"
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"gui/options/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"label": {},
|
||
"tooltip": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/resources/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"description": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/resources/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"name": {},
|
||
"subtypes": {
|
||
"extractFromInnerKeys": true
|
||
}
|
||
},
|
||
"comments": [
|
||
"Translation: Word as used at the beginning of a sentence or as a single-word sentence."
|
||
],
|
||
"context": "firstWord"
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/resources/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"name": {},
|
||
"subtypes": {
|
||
"extractFromInnerKeys": true
|
||
}
|
||
},
|
||
"comments": [
|
||
"Translation: Word as used in the middle of a sentence (which may require using lowercase for your language)."
|
||
],
|
||
"context": "withinSentence"
|
||
}
|
||
},
|
||
{
|
||
"extractor": "txt",
|
||
"filemasks": [
|
||
"gui/gamesetup/**.txt",
|
||
"gui/splashscreen/splashscreen.txt",
|
||
"gui/text/tips/**.txt"
|
||
],
|
||
"options": {
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-templates-units.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"simulation/templates/template_unit_*.xml",
|
||
"simulation/templates/units/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"AttackName": {
|
||
"customContext": "Name of an attack, usually the weapon."
|
||
},
|
||
"StatusName": {
|
||
"customContext": "status effect"
|
||
},
|
||
"ApplierTooltip": {
|
||
"customContext": "status effect"
|
||
},
|
||
"ReceiverTooltip": {
|
||
"customContext": "status effect"
|
||
},
|
||
"GenericName": {},
|
||
"SpecificName": {},
|
||
"History": {},
|
||
"VisibleClasses": {
|
||
"splitOnWhitespace": true
|
||
},
|
||
"Tooltip": {},
|
||
"FromClass": {},
|
||
"Shape": {},
|
||
"Rank": {
|
||
"tagAsContext": true
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-templates-buildings.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"simulation/templates/template_structure_*.xml",
|
||
"simulation/templates/structures/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"AttackName": {
|
||
"customContext": "Name of an attack, usually the weapon."
|
||
},
|
||
"StatusName": {
|
||
"customContext": "status effect"
|
||
},
|
||
"ApplierTooltip": {
|
||
"customContext": "status effect"
|
||
},
|
||
"ReceiverTooltip": {
|
||
"customContext": "status effect"
|
||
},
|
||
"GenericName": {},
|
||
"SpecificName": {},
|
||
"History": {},
|
||
"VisibleClasses": {
|
||
"splitOnWhitespace": true
|
||
},
|
||
"Tooltip": {},
|
||
"FromClass": {},
|
||
"Rank": {
|
||
"tagAsContext": true
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-templates-other.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": {
|
||
"includeMasks": [
|
||
"simulation/templates/**.xml"
|
||
],
|
||
"excludeMasks": [
|
||
"simulation/templates/special/players/**.xml",
|
||
"simulation/templates/structures/**.xml",
|
||
"simulation/templates/template_structure_*.xml",
|
||
"simulation/templates/template_unit_*.xml",
|
||
"simulation/templates/units/**.xml"
|
||
]
|
||
},
|
||
"options": {
|
||
"keywords": {
|
||
"AttackName": {
|
||
"customContext": "Name of an attack, usually the weapon."
|
||
},
|
||
"GenericName": {},
|
||
"SpecificName": {},
|
||
"History": {},
|
||
"VisibleClasses": {
|
||
"splitOnWhitespace": true
|
||
},
|
||
"Tooltip": {},
|
||
"DisabledTooltip": {},
|
||
"FromClass": {},
|
||
"Rank": {
|
||
"tagAsContext": true
|
||
}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/damage_types/*.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"name": {},
|
||
"description": {}
|
||
},
|
||
"context": "damage type"
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/status_effects/*.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"statusName": {},
|
||
"applierTooltip": {},
|
||
"receiverTooltip": {}
|
||
},
|
||
"context": "status effect"
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/attack_effects/*.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"name": {},
|
||
"description": {}
|
||
},
|
||
"context": "effect caused by an attack"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-simulation-auras.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/auras/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"auraName": {},
|
||
"auraDescription": {}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-simulation-technologies.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/technologies/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"specificName": {
|
||
"extractFromInnerKeys": true
|
||
},
|
||
"genericName": {},
|
||
"description": {},
|
||
"tooltip": {},
|
||
"requirementsTooltip": {}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-simulation-other.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"simulation/ai/**.js",
|
||
"simulation/components/**.js",
|
||
"simulation/helpers/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"translate": [1],
|
||
"translatePlural": [1, 2],
|
||
"translateWithContext": [[1], 2],
|
||
"translatePluralWithContext": [[1], 2, 3],
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/settings/player_defaults.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Name": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/settings/game_speeds.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Title": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/settings/victory_conditions/*.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Title": {},
|
||
"Description": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/settings/starting_resources.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Title": {}
|
||
},
|
||
"context": "startingResources"
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/settings/trigger_difficulties.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Title": {},
|
||
"Tooltip": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/data/settings/map_sizes.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Name": {},
|
||
"Tooltip": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"simulation/ai/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"name": {},
|
||
"description": {}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-maps.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": {
|
||
"includeMasks": [
|
||
"maps/random/**.json"
|
||
],
|
||
"excludeMasks": [
|
||
"maps/random/rmbiome/**.json"
|
||
]
|
||
},
|
||
"options": {
|
||
"keywords": {
|
||
"Name": {},
|
||
"Description": {}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"maps/scenarios/**.js",
|
||
"maps/skirmishes/**.js",
|
||
"maps/random/**.js",
|
||
"maps/scripts/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"maps/scenarios/**.xml",
|
||
"maps/skirmishes/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"ScriptSettings": {
|
||
"extractJson": {
|
||
"keywords": {
|
||
"Name": {
|
||
"extractFromInnerKeys": true
|
||
},
|
||
"Description": {
|
||
"extractFromInnerKeys": true
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"extractor": "json",
|
||
"filemasks": [
|
||
"maps/random/rmbiome/**.json"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"Description": {
|
||
"extractFromInnerKeys": true
|
||
}
|
||
},
|
||
"context": "biome definition"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"output": "public-tutorials.pot",
|
||
"inputRoot": "..",
|
||
"project": "0 A.D. — Empires Ascendant",
|
||
"copyrightHolder": "Wildfire Games",
|
||
"rules": [
|
||
{
|
||
"extractor": "javascript",
|
||
"filemasks": [
|
||
"maps/tutorials/**.js"
|
||
],
|
||
"options": {
|
||
"format": "javascript-format",
|
||
"keywords": {
|
||
"markForTranslation": [1],
|
||
"markForTranslationWithContext": [[1], 2],
|
||
"markForPluralTranslation": [1, 2]
|
||
},
|
||
"commentTags": [
|
||
"Translation:"
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"extractor": "xml",
|
||
"filemasks": [
|
||
"maps/tutorials/**.xml"
|
||
],
|
||
"options": {
|
||
"keywords": {
|
||
"ScriptSettings": {
|
||
"extractJson": {
|
||
"keywords": {
|
||
"Name": {},
|
||
"Description": {}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|