aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/sync-translations.sh9
-rwxr-xr-xtests.sh2
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
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