blob: e866dbb4845ba0b6481fc45ed01377f6bc7b8dcc (
plain) (
tree)
|
|
#!/usr/bin/env bash
set -Eeuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
cd ../
set -x
./scripts/extract-translations.sh
./scripts/apply-translations.sh
if [[ "${1:-}" = '--check' ]]; then
git diff --quiet -- '!scripts/' || {
echo 'Translations are out of sync'
exit 1
}
fi
|