Use Localazy's langAliases for Indonesian (#4801)
This commit is contained in:
committed by
GitHub
parent
5a8919b6e3
commit
f2abc1799d
@@ -38,14 +38,6 @@ if [[ $allFiles == 1 ]]; then
|
||||
find . -name 'translations.xml' -exec ./tools/localazy/formatXmlResourcesFile.py {} \;
|
||||
fi
|
||||
|
||||
set +e
|
||||
echo "Moving files from values-id to values-in..."
|
||||
find . -type d -name 'values-id' -execdir mv {}/translations.xml {}/../values-in/translations.xml \; 2> /dev/null
|
||||
|
||||
echo "Deleting all the folders values-id..."
|
||||
find . -type d -name 'values-id' -exec rm -rf {} \; 2> /dev/null
|
||||
set -e
|
||||
|
||||
echo "Checking forbidden terms..."
|
||||
find . -name 'localazy.xml' -exec ./tools/localazy/checkForbiddenTerms.py {} \;
|
||||
if [[ $allFiles == 1 ]]; then
|
||||
|
||||
@@ -65,7 +65,10 @@ for entry in config["modules"]:
|
||||
"excludeKeys": list(map(lambda i: "REGEX:" + i, excludeRegex)),
|
||||
"conditions": [
|
||||
"!equals: ${langAndroidResNoScript}, en | equals: ${file}, content.json"
|
||||
]
|
||||
],
|
||||
"langAliases": {
|
||||
"id": "in"
|
||||
}
|
||||
}
|
||||
allActions.append(actionTranslation)
|
||||
allRegexToExcludeFromMainModule.extend(entry["includeRegex"])
|
||||
@@ -88,7 +91,10 @@ if allFiles:
|
||||
"excludeKeys": list(map(lambda i: "REGEX:" + i, allRegexToExcludeFromMainModule + regexToAlwaysExclude)),
|
||||
"conditions": [
|
||||
"!equals: ${langAndroidResNoScript}, en | equals: ${file}, content.json"
|
||||
]
|
||||
],
|
||||
"langAliases": {
|
||||
"id": "in"
|
||||
}
|
||||
}
|
||||
allActions.append(mainActionTranslation)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user