diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -11,11 +11,11 @@ locale/messages.pot: *.j2 | |||
11 | 11 | ||
12 | # Update translation (.po) files with new strings. | 12 | # Update translation (.po) files with new strings. |
13 | locale-update: locale/messages.pot | 13 | locale-update: locale/messages.pot |
14 | pybabel update -i locale/messages.pot -d locale -l en --previous | 14 | msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot |
15 | pybabel update -i locale/messages.pot -d locale -l de --previous | 15 | msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot |
16 | pybabel update -i locale/messages.pot -d locale -l fr --previous | 16 | msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot |
17 | pybabel update -i locale/messages.pot -d locale -l it --previous | 17 | msgmerge -U locale/en/LC_MESSAGES/messages.po locale/messages.pot |
18 | pybabel update -i locale/messages.pot -d locale -l es --previous | 18 | msgmerge -U locale/en/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 | ||