summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2017-01-19 20:21:08 +0100
committertg(x) <*@tg-x.net>2017-01-19 20:21:08 +0100
commitccb4b08e5279b1d659e475f57fba44fd5ad0cd4f (patch)
tree542c9b978e27dc842cf65b3a92d8318b338c8e9c
parent3130f81589a6833e9b86e05fcf36e511650b3000 (diff)
i18n: conflict warning
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7d5e6be0..c7be6555 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,8 @@ locale-update: locale/messages.pot
pybabel update -i locale/messages.pot -d locale -l it --previous
pybabel update -i locale/messages.pot -d locale -l es --previous
+ if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi
+
locale-compile:
pybabel compile -d locale -l en --use-fuzzy
pybabel compile -d locale -l de --use-fuzzy