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