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