projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor SignalProxy, network and protocol code
[quassel.git]
/
po
/
update.sh
diff --git
a/po/update.sh
b/po/update.sh
index
f08443d
..
a0a441d
100755
(executable)
--- a/
po/update.sh
+++ b/
po/update.sh
@@
-6,16
+6,5
@@
if [ ! $# -eq 1 ]; then
exit 1
fi
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"
[ $? -ne 0 ] && echo "Something went wrong"