diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-13 23:14:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-13 23:14:08 +0000 |
commit | 1cf286b8c215830a9c363c1e0b8b44c10b1c81e9 (patch) | |
tree | 7c49192c84630128458701c30df49f45c2f01f91 /Master/tlpkg/bin | |
parent | 1e061dc1f18cae400e3c78bc7cb96a839180190d (diff) |
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
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-messages | 19 |
1 files changed, 11 insertions, 8 deletions
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 <messages.pot >$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 |