mirror of
https://github.com/vector-im/element-call.git
synced 2026-11-07 00:52:28 +00:00
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>
32 lines
725 B
JSON
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}"
|
|
}
|
|
}
|