Files
element-call-Github/localazy.json
T
ValereandClaude Opus 5.5 c30bb324e3 Download and upload only app.json from Localazy
The Localazy project is about to hold the native iOS and Android call
screens' strings in a file of their own. Without a condition, the download
would copy that file into locales/, and the upload on every push to main
would send a stale copy back, overwriting edits made in Localazy.

Naming app.json in the upload patterns as well means a copy that arrives
another way, such as a local download from an older checkout, is never sent
either.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 14:10:56 +01:00

32 lines
725 B
JSON

{
"readKey": "a7580769542256117579-70975387172511848f4c6533943d776547bad4853931ba352ee684b738f4494e",
"upload": {
"type": "json",
"deprecate": "file",
"features": ["plural_postfix_us", "filter_untranslated"],
"files": [
{
"pattern": "locales/en/app.json",
"lang": "inherited"
},
{
"group": "existing",
"pattern": "locales/*/app.json",
"excludes": ["locales/en/app.json"],
"lang": "${autodetectLang}"
}
]
},
"download": {
"files": [
{
"conditions": ["equals: ${file}, app.json"],
"output": "locales/${langLsrDash}/${file}"
}
],
"includeSourceLang": "${includeSourceLang|false}"
}
}