aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7ca561cc..904cf2cf 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,11 @@ locale/messages.pot: *.j2 common/*.j2 common/*.j2.inc
11 11
12# Update translation (.po) files with new strings. 12# Update translation (.po) files with new strings.
13locale-update: locale/messages.pot 13locale-update: locale/messages.pot
14 pybabel update -i locale/messages.pot -d locale -l en --previous 14 msgmerge -U -m --previous locale/en/LC_MESSAGES/messages.po locale/messages.pot
15 pybabel update -i locale/messages.pot -d locale -l de --previous 15 msgmerge -U -m --previous locale/de/LC_MESSAGES/messages.po locale/messages.pot
16 pybabel update -i locale/messages.pot -d locale -l fr --previous 16 msgmerge -U -m --previous locale/fr/LC_MESSAGES/messages.po locale/messages.pot
17 pybabel update -i locale/messages.pot -d locale -l it --previous 17 msgmerge -U -m --previous locale/es/LC_MESSAGES/messages.po locale/messages.pot
18 pybabel update -i locale/messages.pot -d locale -l es --previous 18 msgmerge -U -m --previous locale/it/LC_MESSAGES/messages.po locale/messages.pot
19 19
20 if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi 20 if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi
21 21