Mercurial > hg > sonic-visualiser
view misc/update-i18n.sh @ 1866:65d244ee39f9
Experimentally add a rule to re-run Repoint if the project or lock file is newer than the .repoint.point file. This sort of thing isn't sufficient for all uses of Repoint because some of the initial qmake project file info is brought in by Repoint, so it has to be run before qmake as well. Also it's not clear yet how it will interact with archived builds (i.e. source releases) -- to be tested.
author | Chris Cannam |
---|---|
date | Tue, 19 Jun 2018 15:03:24 +0100 |
parents | bd3cb9d6db66 |
children |
line wrap: on
line source
#!/bin/sh LUPDATE="lupdate" LRELEASE="lrelease" if lupdate-qt5 -version >/dev/null 2>&1; then LUPDATE="lupdate-qt5" LRELEASE="lrelease-qt5" fi LANGUAGES="ru en_GB en_US cs_CZ" for LANG in $LANGUAGES; do $LUPDATE \ svcore/*/*.h svcore/*/*.cpp \ svcore/*/*/*.h svcore/*/*/*.cpp \ svgui/*/*.h svgui/*/*.cpp \ svapp/*/*.h svapp/*/*.cpp \ */*.h */*.cpp \ -ts i18n/sonic-visualiser_$LANG.ts done for LANG in $LANGUAGES; do $LRELEASE i18n/sonic-visualiser_$LANG.ts done