X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=po%2Fxgetpo;h=720b2ee55d3df27c116bb1f18d63956d9a9eb2ff;hp=df61ad2a6f96583cd961865c69de2b3878e1c487;hb=00e6f9903aa4a2d310e27e268054ebc704466c6e;hpb=a3f7bbd8d504da8f929a7b9d3a53033f5d93c4ac diff --git a/po/xgetpo b/po/xgetpo index df61ad2a..720b2ee5 100755 --- a/po/xgetpo +++ b/po/xgetpo @@ -7,6 +7,13 @@ # ** # ** $Id$ # + +# force use of same locale in order to keep same sorting order +LC_ALL=en_US.ISO8859-1 +LANG=en_US.ISO8859-1 +export LC_ALL LANG + +# set common gettext options XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --keyword=ngettext:1,2 --default-domain=squirrelmail --no-location --add-comments" # Allows controlling language option @@ -85,6 +92,8 @@ xgettext ${XGETTEXT_OPTIONS} -j \ templates/*.php --output=po/squirrelmail.pot xgettext ${XGETTEXT_OPTIONS} -j \ templates/default/*.tpl --output=po/squirrelmail.pot +xgettext ${XGETTEXT_OPTIONS} -j \ + templates/default_advanced/*.tpl --output=po/squirrelmail.pot xgettext ${XGETTEXT_OPTIONS} -j \ po/independent_strings.txt --output=po/squirrelmail.pot