X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=po%2Fupdate.sh;h=8e86009572152ac3d083065e1db3b7a3a0e01180;hb=25e93f53be9b25f376c4f782f5e77d8e59b6cf10;hp=f08443dd8c45762dbec667cecd9cd0979ac82a29;hpb=d7ad297d1666aa81943cbac30e7cc8523ec0ede9;p=quassel.git diff --git a/po/update.sh b/po/update.sh index f08443dd..8e860095 100755 --- a/po/update.sh +++ b/po/update.sh @@ -6,16 +6,5 @@ if [ ! $# -eq 1 ]; then exit 1 fi -CONV=lconvert -POT=quassel.pot -BASE=quassel_$1 -PO=$BASE.po -TS=$BASE.ts - -( [ -f $PO ] || ( [ -f $POT ] && cp $POT $PO ) ) && - $CONV -i $PO -o $TS && - lupdate -no-obsolete ../src -ts $TS && - $CONV -i $TS -o $PO && - rm $TS - +msgmerge --no-wrap --width 1 -U $1 quassel.pot [ $? -ne 0 ] && echo "Something went wrong"