aboutsummaryrefslogtreecommitdiffstats
path: root/po/update.sh
diff options
context:
space:
mode:
authorAndreas Hydén <ahyden@src.gnome.org>2000-05-10 16:02:35 +0800
committerAndreas Hydén <ahyden@src.gnome.org>2000-05-10 16:02:35 +0800
commit214b65beb19373a0c6c76c45bf73dd08cda897ee (patch)
tree7c09e90b6fbe0028afcda7bbe84bf237110c2e52 /po/update.sh
parentfa460eb6b59f0245eb43336386dfce9b6f030de3 (diff)
downloadgsoc2013-evolution-214b65beb19373a0c6c76c45bf73dd08cda897ee.tar.gz
gsoc2013-evolution-214b65beb19373a0c6c76c45bf73dd08cda897ee.tar.zst
gsoc2013-evolution-214b65beb19373a0c6c76c45bf73dd08cda897ee.zip
Updated Swedish translation. Updated update.sh
svn path=/trunk/; revision=2965
Diffstat (limited to 'po/update.sh')
-rwxr-xr-xpo/update.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/po/update.sh b/po/update.sh
index d99d40e792..74dca77b27 100755
--- a/po/update.sh
+++ b/po/update.sh
@@ -13,6 +13,8 @@ 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 \
@@ -22,16 +24,19 @@ xgettext --default-domain=$PACKAGE --directory=.. \
else
-xgettext --default-domain=gfloppy --directory=.. \
+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 Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po
+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;