From 1cf286b8c215830a9c363c1e0b8b44c10b1c81e9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 13 Jun 2010 23:14:08 +0000 Subject: regenerate with system gettext, looks like new gettext is omitting messages git-svn-id: svn://tug.org/texlive/trunk@18957 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-messages | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'Master/tlpkg/bin') diff --git a/Master/tlpkg/bin/tl-update-messages b/Master/tlpkg/bin/tl-update-messages index 53557a63d32..a637e78968b 100755 --- a/Master/tlpkg/bin/tl-update-messages +++ b/Master/tlpkg/bin/tl-update-messages @@ -2,27 +2,30 @@ # $Id$ # Public domain. Originally written 2009, Norbert Preining. # -# update the master message.pot catalog and merge the result into the +# update the master messages.pot catalog and merge the result into the # respective .po files. -# Convenience variables. -mydir=`dirname $0` -Master=`cd $mydir/../.. && pwd` +PATH=/usr/bin:/bin # force system gettext tools for now (14jun10) + +mydir=`cd \`dirname $0\` && /bin/pwd` +Master=`cd $mydir/../.. && /bin/pwd` transdir=$Master/tlpkg/translations cd $Master || exit 1 cp $transdir/messages.pot $transdir/messages.prev xgettext -o tlpkg/translations/messages.pot -L Perl \ --copyright-holder="TeX Live Team" \ - --package-name="TeX Live" \ - --package-version=2010 \ --msgid-bugs-address=tex-live@tug.org \ -k__ -k\$__ -k%__ -k__x -k__n:1,2 -k__nx:1,2 -k__xn:1,2 -kN__ -k \ - tlpkg/installer/install-menu-perltk.pl \ tlpkg/installer/install-menu-wizard.pl \ + tlpkg/installer/install-menu-perltk.pl \ texmf/scripts/texlive/tlmgrgui.pl \ texmf/scripts/texlive/tlmgrgui/*.pl + --package-version=2010 \ +# --package-name="TeX Live" \ + + cd $transdir || exit 1 tmpa=`mktemp` @@ -32,7 +35,7 @@ sed /POT-Creation-Date:/d $tmpb if cmp -s $tmpa $tmpb ; then echo "$0: no msg changes." mv messages.prev messages.pot - rm -f $tmpa $tmpb + #rm -f $tmpa $tmpb exit 0 fi rm -f $tmpa $tmpb messages.prev -- cgit v1.2.3