aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-16 19:24:56 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-16 19:25:38 +0000
commita12ca687e0caacbe94e45209d6d4555481a62936 (patch)
treebfc797ed53c227ead2cd61123c8c2797d6ed47f2 /utils
parentMerge pull request #5746 (diff)
downloadmonero-a12ca687e0caacbe94e45209d6d4555481a62936.tar.xz
translations: add a ready file to control which translations to build
Some translations are committed before they're ready to be used
Diffstat (limited to 'utils')
-rwxr-xr-xutils/translations/build-translations.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/utils/translations/build-translations.sh b/utils/translations/build-translations.sh
index 0956e633f..1217dca0a 100755
--- a/utils/translations/build-translations.sh
+++ b/utils/translations/build-translations.sh
@@ -12,5 +12,15 @@ then
fi
echo "using $lrelease"
-"$lrelease" translations/*.ts
+if test -f translations/ready
+then
+ languages=""
+ for language in $(cat translations/ready)
+ do
+ languages="$languages translations/$language.ts"
+ done
+else
+ languages="translations/*.ts"
+fi
+"$lrelease" $languages