X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=po%2Fupdate.sh;h=a0a441da7af22c50044e8d2845b8172be57da632;hp=8bfb9acd43e74571cbbfc44d88cd271fa57a073f;hb=d68e9d67200abc51123b357bcdbbc816d4a70791;hpb=2573fe442275287321d828d88a5fb8d743952388 diff --git a/po/update.sh b/po/update.sh index 8bfb9acd..a0a441da 100755 --- a/po/update.sh +++ b/po/update.sh @@ -6,14 +6,5 @@ if [ ! $# -eq 1 ]; then exit 1 fi -CONV=lconvert -BASE=quassel_$1 -PO=$BASE.po -TS=$BASE.ts - -$CONV -i $PO -o $TS && - lupdate ../src -ts $TS && - $CONV -i $TS -o $PO - -# remove cruft -rm ${TS} +msgmerge --no-wrap --width 1 -U $1.po quassel.pot +[ $? -ne 0 ] && echo "Something went wrong"