Mercurial > hg > sonic-visualiser
comparison misc/update-i18n.sh @ 378:84fd4bb8d656
* Add misc/ directory from SVN repo
author | Chris Cannam |
---|---|
date | Mon, 18 Oct 2010 13:44:25 +0100 |
parents | |
children | b19bef1bc3f1 |
comparison
equal
deleted
inserted
replaced
361:101f05420cba | 378:84fd4bb8d656 |
---|---|
1 #!/bin/sh | |
2 | |
3 LUPDATE="lupdate" | |
4 LRELEASE="lrelease" | |
5 | |
6 if lupdate-qt4 -version >/dev/null 2>&1; then | |
7 LUPDATE="lupdate-qt4" | |
8 LRELEASE="lrelease-qt4" | |
9 fi | |
10 | |
11 LANGUAGES="ru en_GB en_US cs_CZ" | |
12 | |
13 for LANG in $LANGUAGES; do | |
14 $LUPDATE */*.h */*/*.h */*.cpp */*/*.cpp \ | |
15 -ts sv/i18n/sonic-visualiser_$LANG.ts | |
16 done | |
17 | |
18 for LANG in $LANGUAGES; do | |
19 $LRELEASE sv/i18n/sonic-visualiser_$LANG.ts | |
20 done | |
21 |