fsf changes, meant to be rebased on upstream
[squirrelmail.git] / plugins / demo / getpot
1 #!/bin/sh
2 XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --default-domain=demo --no-location"
3
4 # Allows controlling language option
5 # (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
6 if [ $SM_OLD_GETTEXT ] ; then
7  XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -C";
8 else
9  XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -L php";
10 fi
11
12 xgettext ${XGETTEXT_OPTIONS} *.php --output=demo.pot