summaryrefslogtreecommitdiff
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 26fc16d..a62eaca 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,11 @@ locale/messages.pot: *.j2
# Update translation (.po) files with new strings.
locale-update: locale/messages.pot
- pybabel update -i locale/messages.pot -d locale -l en --previous
- pybabel update -i locale/messages.pot -d locale -l de --previous
- pybabel update -i locale/messages.pot -d locale -l fr --previous
- pybabel update -i locale/messages.pot -d locale -l it --previous
- pybabel update -i locale/messages.pot -d locale -l es --previous
+ msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot
+ msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot
+ msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot
+ msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot
+ msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot
if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi