X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=po%2Fupdate.sh;h=8e86009572152ac3d083065e1db3b7a3a0e01180;hb=97dd282be4132a8107efb92c9cd42162c4f0f51d;hp=3d26edd37fa3aa4d620f2ac89a4a3b28b9757052;hpb=ccb629e221999a8364cfb6e001c6548222670fcb;p=quassel.git diff --git a/po/update.sh b/po/update.sh index 3d26edd3..8e860095 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 -no-obsolete ../src -ts $TS && - $CONV -i $TS -o $PO - -# remove cruft -rm ${TS} +msgmerge --no-wrap --width 1 -U $1 quassel.pot +[ $? -ne 0 ] && echo "Something went wrong"