aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sync-translations.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/sync-translations.sh b/scripts/sync-translations.sh
index e866dbb..d15a9e6 100755
--- a/scripts/sync-translations.sh
+++ b/scripts/sync-translations.sh
@@ -9,7 +9,8 @@ set -x
./scripts/apply-translations.sh
if [[ "${1:-}" = '--check' ]]; then
- git diff --quiet -- '!scripts/' || {
+ git add locale/
+ git diff --quiet --staged || {
echo 'Translations are out of sync'
exit 1
}