Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/docker-ci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-10-19 12:13:30 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-19 12:13:30 +0300
commitf41c7578be0102f3a64e333d5be11001745ce45d (patch)
treed4eff992ac1cf0a4874eeb9a29b21032bfa5dbe0
parent58f0febdbb50b05b0dc23a4e624bc20c2f21e2fd (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-xtranslations/handlePlainTranslations.sh18
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