X-Git-Url: https://scm.cri.ensmp.fr/git/photoprint.git/blobdiff_plain/ccaba0f54cbd41250107d36a49154353425da8b3..b521f0db73266a7bd6b69e6a9891046a03c482ee:/Products/photoprint/update_i18n.sh diff --git a/Products/photoprint/update_i18n.sh b/Products/photoprint/update_i18n.sh new file mode 100755 index 0000000..d7f9001 --- /dev/null +++ b/Products/photoprint/update_i18n.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +i18nextract --path . --site_zcml ../../etc/site.zcml --domain photoprint -o locales + +cat locales/photoprint.pot locales/photoprint-manual.pot > locales/photoprint-all.pot +mv locales/photoprint-all.pot locales/photoprint.pot + +msgmerge --update --no-fuzzy-matching locales/fr/LC_MESSAGES/photoprint.po locales/photoprint.pot +msgmerge --update --no-fuzzy-matching locales/en/LC_MESSAGES/photoprint.po locales/photoprint.pot