mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-11 13:59:13 +00:00

* Translations workflow and tools * improved the name of the workflow * need this commit to trigger the workflow for the first time * swift tools can now run on CI * only strings and stringsdict will be committed * fixed a workflow issue * starting the workflow to save it * fixing downgrade issues * fixing URL usage * install localazy * fixing add-paths typo * downloaded strings * removing on push trigger * Update Tools/Sources/DownloadTranslations.swift Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com> * Added locheck for string verification * code formatting improvement * Update Tools/Sources/Locheck.swift Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com> * pr suggestion --------- Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
31 lines
781 B
JSON
31 lines
781 B
JSON
{
|
|
"readKey": "a7876306080832595063-aa37154bb3772f6146890fca868d155b2228b492c56c91f67abdcdfb74d6142d",
|
|
|
|
"conversion": {
|
|
"actions": [
|
|
{
|
|
"type": "ios-strings",
|
|
"output": "ElementX/Resources/Localizations/${iosLprojFolder}/Localizable.strings",
|
|
"excludeKeys": ["REGEX:.*_android"],
|
|
"filterPlurals": true,
|
|
"replacements": {
|
|
"%s": "%@",
|
|
"$s": "$@"
|
|
}
|
|
},
|
|
{
|
|
"type": "ios-stringsdict",
|
|
"output": "ElementX/Resources/Localizations/${iosLprojFolder}/Localizable.stringsdict",
|
|
"excludeKeys": ["REGEX:.*_android"],
|
|
"replacements": {
|
|
"%s": "%@",
|
|
"$s": "$@"
|
|
},
|
|
"params": {
|
|
"variable": "COUNT"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|