aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-19 14:39:14 -0300
committerEuAndreh <eu@euandre.org>2020-12-19 14:39:14 -0300
commita6e22b325aaa1b224092dcaa7150293dcc39c570 (patch)
tree3351a5095d60e6034b9cd0936303ccab410154cd
parentRemove placeholder values from is_audio section of feed.atom (diff)
downloadeuandre.org-a6e22b325aaa1b224092dcaa7150293dcc39c570.tar.gz
euandre.org-a6e22b325aaa1b224092dcaa7150293dcc39c570.tar.xz
Remove --check option from translation scripts
-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