projects
/
quassel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
switch build process from Qt to gettext translations
[quassel.git]
/
i18n
/
update.sh
1
#!/usr/bin/env bash
2
if [ ! $# -eq 1 ]; then
3
exec >&2
4
echo "Usage: $0 <language>"
5
echo " language: two-letter language code + country code if applicable (de, en_GB)"
6
exit 1
7
fi
8
9
CONV=lconvert
10
BASE=quassel_${1}
11
PO=${BASE}.po
12
TS=${BASE}.ts
13
14
$CONV -i ${PO} -o ${TS} &&
15
lupdate ../src -ts ${TS} &&
16
$CONV -i ${TS} -o ${PO}