update czech translation, pot file and update.sh script
[quassel.git] / po / update.sh
index 1301368..8e86009 100755 (executable)
@@ -6,16 +6,5 @@ if [ ! $# -eq 1 ]; then
   exit 1
 fi
 
   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"
 [ $? -ne 0 ] && echo "Something went wrong"