diff options
Diffstat (limited to '')
-rwxr-xr-x | scripts/sync-translations.sh | 9 | ||||
-rwxr-xr-x | tests.sh | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/scripts/sync-translations.sh b/scripts/sync-translations.sh index 2ba7d35..4becea6 100755 --- a/scripts/sync-translations.sh +++ b/scripts/sync-translations.sh @@ -7,12 +7,3 @@ set -x ./scripts/extract-translations.sh ./scripts/apply-translations.sh - -if [[ "${1:-}" = '--check' ]]; then - git add locale/ - git diff --quiet --staged -- ':!scripts/' || { - echo 'Translations are out of sync:' - git diff --staged -- ':!scripts/' - exit 1 - } -fi @@ -10,4 +10,4 @@ set -x ./scripts/assert-todos.sh ./scripts/assert-content.sh -./scripts/sync-translations.sh --check +./scripts/sync-translations.sh |