Modernisation de l'inscription (suite).
[Plinn.git] / Products / Plinn / update-i18n.sh
1 #! /bin/sh
2
3 if [ !$1 ]; then
4 ZCML=$INSTANCE_HOME/etc/site.zcml
5 else
6 ZCML=$1
7 fi
8
9 i18nextract --path . --site_zcml $ZCML --domain plinn -o locales
10
11 cat locales/plinn-manual.pot >> locales/plinn.pot
12
13 msgmerge --update --no-fuzzy-matching locales/fr/LC_MESSAGES/plinn.po locales/plinn.pot
14 msgmerge --update --no-fuzzy-matching locales/en/LC_MESSAGES/plinn.po locales/plinn.pot