annotate misc/update-i18n.sh @ 400:b89ae6d9e315

"LIBPATH is deprecated", and indeed we don't need it
author Chris Cannam
date Wed, 09 Feb 2011 15:16:19 +0000
parents b19bef1bc3f1
children 249fe3768d91
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@382 14 $LUPDATE \
Chris@382 15 ../svcore/*/*.h ../svcore/*/*.cpp \
Chris@382 16 ../svcore/*/*/*.h ../svcore/*/*/*.cpp \
Chris@382 17 ../svgui/*/*.h ../svgui/*/*.cpp \
Chris@382 18 ../svapp/*/*.h ../svapp/*/*.cpp \
Chris@382 19 ../svapp/*/*/*.h ../svapp/*/*/*.cpp \
Chris@382 20 */*.h */*.cpp \
Chris@382 21 -ts i18n/sonic-visualiser_$LANG.ts
Chris@378 22 done
Chris@378 23
Chris@378 24 for LANG in $LANGUAGES; do
Chris@382 25 $LRELEASE i18n/sonic-visualiser_$LANG.ts
Chris@378 26 done
Chris@378 27