mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Translations workflow and tools (#768)
* 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>
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user