X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=po%2Fupdate.sh;h=a0a441da7af22c50044e8d2845b8172be57da632;hp=1301368071c188965cba705153e7ff8acf1cc444;hb=d68e9d67200abc51123b357bcdbbc816d4a70791;hpb=846ce2425763e175e0453f2b3c3a2feab35e58c9 diff --git a/po/update.sh b/po/update.sh index 13013680..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=$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"