diff options
author | nobody <nobody@localhost> | 2000-05-22 06:40:15 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2000-05-22 06:40:15 +0800 |
commit | de2d358926885856d43a5f53aecb3739a9b5f3c8 (patch) | |
tree | 70ea22d6a4da2e07bedfe85a5cddc5e7ad0a1246 /po/update.sh | |
parent | 3f5d9cb60827ca2a5e032e95aa241cc8376ab46f (diff) | |
download | gsoc2013-evolution-de2d358926885856d43a5f53aecb3739a9b5f3c8.tar gsoc2013-evolution-de2d358926885856d43a5f53aecb3739a9b5f3c8.tar.gz gsoc2013-evolution-de2d358926885856d43a5f53aecb3739a9b5f3c8.tar.bz2 gsoc2013-evolution-de2d358926885856d43a5f53aecb3739a9b5f3c8.tar.lz gsoc2013-evolution-de2d358926885856d43a5f53aecb3739a9b5f3c8.tar.xz gsoc2013-evolution-de2d358926885856d43a5f53aecb3739a9b5f3c8.tar.zst gsoc2013-evolution-de2d358926885856d43a5f53aecb3739a9b5f3c8.zip |
This commit was manufactured by cvs2svn to create tag 'gnomoku-0_3'.gnomoku-0_3
svn path=/tags/gnomoku-0_3/; revision=3161
Diffstat (limited to 'po/update.sh')
-rwxr-xr-x | po/update.sh | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/po/update.sh b/po/update.sh deleted file mode 100755 index 74dca77b27..0000000000 --- a/po/update.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -PACKAGE="evolution" - -if [ "x$1" = "x--help" ]; then - -echo Usage: ./update.sh langcode -echo --help display this help and exit -echo -echo Examples of use: -echo ./update.sh ----- just creates a new pot file from the source -echo ./update.sh da -- created new pot file and updated the da.po file - -elif [ "x$1" = "x" ]; then - -echo "Building the $PACKAGE.pot ..." - -xgettext --default-domain=$PACKAGE --directory=.. \ - --add-comments --keyword=_ --keyword=N_ \ - --files-from=./POTFILES.in \ -&& test ! -f $PACKAGE.po \ - || ( rm -f ./$PACKAGE.pot \ -&& mv $PACKAGE.po ./$PACKAGE.pot ); - -else - -xgettext --default-domain=$PACKAGE --directory=.. \ - --add-comments --keyword=_ --keyword=N_ \ - --files-from=./POTFILES.in \ -&& test ! -f $PACKAGE.po \ - || ( rm -f ./PACKAGE.pot \ -&& mv $PACKAGE.po ./$PACKAGE.pot ); - -echo "Building the $PACKAGE.pot ..." -echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..." - -mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po \ -&& rm $1.po.old; - -msgfmt --statistics $1.po - -fi; |