COVIDSafe code from version 2.9 (#54)

This commit is contained in:
COVIDSafe Support 2021-12-10 19:05:40 +11:00 committed by GitHub
parent 98d92f7aee
commit 9568c3622c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 407 additions and 278 deletions

View file

@ -11,7 +11,7 @@ mkdir -p "../temp"
#--filter-data translated : Get only translated strings, if it is not transalted then it will refer to the default English
#--dest ../temp : Destination folder
#--unzip-to ../temp/locales : Unzip to this folder
lokalise2 --token "$LOKALISE_TOKEN" --project-id 961497065ee6ad1e440843.11368444 file download --format xml --bundle-structure "values-%LANG_ISO%/strings.xml" --original-filenames=false --filter-data translated --dest ../temp --unzip-to ../temp/locales
lokalise2 --token "$LOKALISE_TOKEN" --project-id 99670955616fccfa149649.92277036 file download --format xml --bundle-structure "values-%LANG_ISO%/strings.xml" --original-filenames=false --filter-data translated --dest ../temp --unzip-to ../temp/locales
#It will replace only the strings.xml in each directory
cp -Rv "../temp/locales/" "../app/src/main/res/"