localisation
[photoprint.git] / update_i18n.sh
1 #! /bin/sh
2
3 i18nextract --path . --site_zcml ../../etc/site.zcml --domain photoprint -o locales
4
5 cat locales/photoprint.pot locales/photoprint-manual.pot > locales/photoprint-all.pot
6 mv locales/photoprint-all.pot locales/photoprint.pot
7
8 msgmerge --update --no-fuzzy-matching locales/fr/LC_MESSAGES/photoprint.po locales/photoprint.pot
9 msgmerge --update --no-fuzzy-matching locales/en/LC_MESSAGES/photoprint.po locales/photoprint.pot