From a6e22b325aaa1b224092dcaa7150293dcc39c570 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 19 Dec 2020 14:39:14 -0300 Subject: Remove --check option from translation scripts --- scripts/sync-translations.sh | 9 --------- tests.sh | 2 +- 2 files changed, 1 insertion(+), 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 diff --git a/tests.sh b/tests.sh index 76d71d2..9fc50c9 100755 --- a/tests.sh +++ b/tests.sh @@ -10,4 +10,4 @@ set -x ./scripts/assert-todos.sh ./scripts/assert-content.sh -./scripts/sync-translations.sh --check +./scripts/sync-translations.sh -- cgit v1.2.3