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-03 13:09:03 +0300
committerJoas Schilling <coding@schilljs.com>2022-10-03 13:09:03 +0300
commita54466be555cf328f103b41f6603056fa5d86244 (patch)
tree54faf973e6fd4504ae3ac8a3cf3a0fd7d5f26709
parent8ab71c367a80877975fec61032460d87ecb1e3c9 (diff)
Transifexs new API returns formal german as de already, de_DE doesn't exist anymorebugfix/noid/fix-android-translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rwxr-xr-xtranslations/handlePlainTranslations.sh16
1 files changed, 1 insertions, 15 deletions
diff --git a/translations/handlePlainTranslations.sh b/translations/handlePlainTranslations.sh
index e36c1fa..ebeae60 100755
--- a/translations/handlePlainTranslations.sh
+++ b/translations/handlePlainTranslations.sh
@@ -126,24 +126,10 @@ do
# pull translations
tx pull -f -a --minimum-perc=50
- # for the default Android app rename the informal german to the formal version
+ # reset combined source file
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
-
- # reset combined source file
git checkout -- src/main/res/values/strings.xml
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