X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=po%2Fupdate.sh;h=a0a441da7af22c50044e8d2845b8172be57da632;hp=f08443dd8c45762dbec667cecd9cd0979ac82a29;hb=d68e9d67200abc51123b357bcdbbc816d4a70791;hpb=d7ad297d1666aa81943cbac30e7cc8523ec0ede9 diff --git a/po/update.sh b/po/update.sh index f08443dd..a0a441da 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.po quassel.pot [ $? -ne 0 ] && echo "Something went wrong"