blob: 7256f6e1081d1c226a2df572e511b1cb4bf1cd22 (
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 || {
echo 'Translations are out of sync'
exit 1
}
fi
|