Mercurial > hg > sonic-visualiser
annotate 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 |
rev | line source |
---|---|
Chris@378 | 1 #!/bin/sh |
Chris@378 | 2 |
Chris@378 | 3 LUPDATE="lupdate" |
Chris@378 | 4 LRELEASE="lrelease" |
Chris@378 | 5 |
Chris@378 | 6 if lupdate-qt4 -version >/dev/null 2>&1; then |
Chris@378 | 7 LUPDATE="lupdate-qt4" |
Chris@378 | 8 LRELEASE="lrelease-qt4" |
Chris@378 | 9 fi |
Chris@378 | 10 |
Chris@378 | 11 LANGUAGES="ru en_GB en_US cs_CZ" |
Chris@378 | 12 |
Chris@378 | 13 for LANG in $LANGUAGES; do |
Chris@378 | 14 $LUPDATE */*.h */*/*.h */*.cpp */*/*.cpp \ |
Chris@378 | 15 -ts sv/i18n/sonic-visualiser_$LANG.ts |
Chris@378 | 16 done |
Chris@378 | 17 |
Chris@378 | 18 for LANG in $LANGUAGES; do |
Chris@378 | 19 $LRELEASE sv/i18n/sonic-visualiser_$LANG.ts |
Chris@378 | 20 done |
Chris@378 | 21 |