X-Git-Url: https://scm.cri.ensmp.fr/git/photoprint.git/blobdiff_plain/1b83cf35c475d8736a960cb62e756116e99045dc..dbd7599db021faf08eedb8e3c7e5999c87872194:/update_i18n.sh diff --git a/update_i18n.sh b/update_i18n.sh new file mode 100755 index 0000000..d7f9001 --- /dev/null +++ b/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