Mercurial > hg > sonic-visualiser
annotate misc/update-i18n.sh @ 1354:ae68ebb5fbe8 3.0-integration
Fixes to mp3 decode in subrepo. Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames, fixing the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). Add MAD_BUFFER_GUARD padding at end of mp3 buffer, in order to ensure last frame is decoded successfully (otherwise the decoded audio is truncated). Both gleaned from madplay source code.
author | Chris Cannam |
---|---|
date | Thu, 24 Nov 2016 17:10:40 +0000 |
parents | bd3cb9d6db66 |
children |
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@1098 | 6 if lupdate-qt5 -version >/dev/null 2>&1; then |
Chris@1098 | 7 LUPDATE="lupdate-qt5" |
Chris@1098 | 8 LRELEASE="lrelease-qt5" |
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@1098 | 15 svcore/*/*.h svcore/*/*.cpp \ |
Chris@1098 | 16 svcore/*/*/*.h svcore/*/*/*.cpp \ |
Chris@1098 | 17 svgui/*/*.h svgui/*/*.cpp \ |
Chris@1098 | 18 svapp/*/*.h svapp/*/*.cpp \ |
Chris@382 | 19 */*.h */*.cpp \ |
Chris@382 | 20 -ts i18n/sonic-visualiser_$LANG.ts |
Chris@378 | 21 done |
Chris@378 | 22 |
Chris@378 | 23 for LANG in $LANGUAGES; do |
Chris@382 | 24 $LRELEASE i18n/sonic-visualiser_$LANG.ts |
Chris@378 | 25 done |
Chris@378 | 26 |