summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-06-02 14:42:10 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-06-02 14:44:28 +0200
commitbec43f19c6713a7f4fe8c5e0b1bd9ffe42722310 (patch)
treec691744940d900e1d8f5e4dfaa78b58cc619c463 /Makefile
parent551df6f133e4f696431605591fa1ff01c598817e (diff)
downloadwww-bec43f19c6713a7f4fe8c5e0b1bd9ffe42722310.tar.gz
www-bec43f19c6713a7f4fe8c5e0b1bd9ffe42722310.tar.bz2
www-bec43f19c6713a7f4fe8c5e0b1bd9ffe42722310.zip
fix existing translations
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