mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-06 03:15:48 -06:00
13 lines
427 B
Bash
13 lines
427 B
Bash
#!/usr/bin/env bash
|
|
set -Eeuo pipefail
|
|
|
|
__script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
readonly __script_dir
|
|
|
|
echo "Updating source language..."
|
|
crowdin download sources --identity=../crowdin_credentials.yml --config ../crowdin.yml --preserve-hierarchy
|
|
echo "Updating translations..."
|
|
crowdin download --identity=../crowdin_credentials.yml --config ../crowdin.yml
|
|
pushd "$__script_dir/../"
|
|
flutter gen-l10n
|
|
popd |