Skip to content

Commit

Permalink
Merge pull request #364 from nextcloud/androidFilesTransifex
Browse files Browse the repository at this point in the history
Android Files now uses same project structure as Android Talk
  • Loading branch information
tobiasKaminsky committed Mar 14, 2022
2 parents e346438 + 9a89a90 commit 33e8f57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions translations/handlePlainTranslations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ $1 = "nextcloud" -a $2 = "android" ]; then
for version in $versions
do
git checkout $version
cp src/main/res/values/strings.xml stable-values/$version.xml
cp app/src/main/res/values/strings.xml stable-values/$version.xml
done

cd stable-values
Expand All @@ -52,7 +52,7 @@ if [ $1 = "nextcloud" -a $2 = "android" ]; then

cat combined.xml

mv combined.xml ../src/main/res/values/strings.xml
mv combined.xml ../app/src/main/res/values/strings.xml

cd ..

Expand Down Expand Up @@ -92,7 +92,7 @@ tx push -s

# undo local changes
if [ $1 = "nextcloud" -a $2 = "android" ]; then
git checkout -- src/main/res/values/strings.xml
git checkout -- app/src/main/res/values/strings.xml
git checkout master
fi

Expand Down Expand Up @@ -125,7 +125,7 @@ do
# reset combined source file
git checkout -- src/main/res/values/strings.xml
fi
# for the Android talk app rename the informal german to the formal version
# 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
Expand Down

0 comments on commit 33e8f57

Please sign in to comment.