diff options
author | EuAndreh <eu@euandre.org> | 2020-12-19 14:39:14 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-19 14:39:14 -0300 |
commit | a6e22b325aaa1b224092dcaa7150293dcc39c570 (patch) | |
tree | 3351a5095d60e6034b9cd0936303ccab410154cd | |
parent | Remove placeholder values from is_audio section of feed.atom (diff) | |
download | euandre.org-a6e22b325aaa1b224092dcaa7150293dcc39c570.tar.gz euandre.org-a6e22b325aaa1b224092dcaa7150293dcc39c570.tar.xz |
Remove --check option from translation scripts
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 |