diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-19 12:13:30 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-19 12:13:30 +0300 |
commit | f41c7578be0102f3a64e333d5be11001745ce45d (patch) | |
tree | d4eff992ac1cf0a4874eeb9a29b21032bfa5dbe0 | |
parent | 58f0febdbb50b05b0dc23a4e624bc20c2f21e2fd (diff) |
Restore the de_rDE => de renaming now that the sync worked and the file exists again
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rwxr-xr-x | translations/handlePlainTranslations.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/translations/handlePlainTranslations.sh b/translations/handlePlainTranslations.sh index b65eae3..a5225cf 100755 --- a/translations/handlePlainTranslations.sh +++ b/translations/handlePlainTranslations.sh @@ -132,6 +132,24 @@ do git checkout -- src/main/res/values/strings.xml fi + # for the default Android app rename the informal german to the formal version + if [ -d src/main/res ]; then + rm -rf src/main/res/values-de + mv src/main/res/values-de-rDE src/main/res/values-de + fi + + # for the Android talk and files app rename the informal german to the formal version + if [ -d app/src/main/res ]; then + rm -rf app/src/main/res/values-de + mv app/src/main/res/values-de-rDE app/src/main/res/values-de + fi + + # for the Android news app rename the informal german to the formal version + if [ -d News-Android-App/src/main/res ]; then + rm -rf News-Android-App/src/main/res/values-de + mv News-Android-App/src/main/res/values-de-rDE News-Android-App/src/main/res/values-de + fi + if [ -e "scripts/metadata/generate_metadata.py" ]; then # copy transifex strings to fastlane python3 scripts/metadata/generate_metadata.py |