chore: update languages

This commit is contained in:
Sorunome 2020-09-03 11:44:42 +02:00
commit c68902d24d
22 changed files with 2451 additions and 3460 deletions

View file

@ -32,13 +32,14 @@ build_web:
# - cd assets/js/ && curl -L 'https://gitlab.com/famedly/libraries/olm/-/jobs/artifacts/master/download?job=build_js' > olm.zip && cd ../../
# - cd assets/js/ && unzip olm.zip && cd ../../
# - cd assets/js/ && rm olm.zip && cd ../../
- cd assets/js/ && mv javascript package && cd ../../
# - cd assets/js/ && mv javascript package && cd ../../
- cd web/ && rm sql-wasm.js sql-wasm.wasm && cd ../
- cd web/ && curl -L 'https://github.com/sql-js/sql.js/releases/latest/download/sqljs-wasm.zip' > sqljs-wasm.zip && cd ../
- cd web/ && unzip sqljs-wasm.zip && cd ../
- cd web/ && rm sqljs-wasm.zip && cd ../
- flutter pub get
- flutter clean
- flutter pub get
- flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/l10n/l10n.dart lib/l10n/intl_*.arb
- flutter build web --release --verbose
# TODO: upload elsewhere
artifacts:
@ -69,6 +70,8 @@ build_android_apk:
- cd android && echo "keyAlias=key" >> key.properties && cd ..
- cd android && echo "storeFile=../key.jks" >> key.properties && cd ..
- cd android/app && echo $GOOGLE_SERVICES >> google-services.json && cd ../..
- flutter pub get
- flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/l10n/l10n.dart lib/l10n/intl_*.arb
- flutter build apk --release
- mkdir -p build/with-olm
- cp build/app/outputs/apk/release/app-release.apk build/with-olm/
@ -91,6 +94,8 @@ build_android_apk_no_olm:
- cd android && echo "keyAlias=key" >> key.properties && cd ..
- cd android && echo "storeFile=../key.jks" >> key.properties && cd ..
- cd android/app && echo $GOOGLE_SERVICES >> google-services.json && cd ../..
- flutter pub get
- flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/l10n/l10n.dart lib/l10n/intl_*.arb
- flutter build apk --release
- mkdir -p build/without-olm
- cp build/app/outputs/apk/release/app-release.apk build/without-olm/