From 259ec5ba641c773fa571cbb1d48d1d225fc0520e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 21 Jul 2012 20:40:01 +0000 Subject: [PATCH] only disable text translations, not numerics or time git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13064 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/linux_packaging/ardour.sh.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/linux_packaging/ardour.sh.in b/tools/linux_packaging/ardour.sh.in index 2d45607a9a..7b3f51dbec 100644 --- a/tools/linux_packaging/ardour.sh.in +++ b/tools/linux_packaging/ardour.sh.in @@ -54,7 +54,15 @@ sed "s?@ROOTDIR@/loaders?$LIB_DIR/loaders?" < $ETC_DIR/gdk-pixbuf.loaders.in > $ # Hack to fix i18n issue where the grid button gets translated even when translations are disabled. if [ ! -e $USER_ARDOUR_DIR/.love_is_the_language_of_audio ]; then - # Translations are disabled. Force english + # Translations are disabled. Force english, except for numerics and time/date + if [ x$LANG != x ] ; then + if [ x$LC_NUMERIC = x ] ; then + export LC_NUMERIC=$LANG + fi + if [ x$LC_TIME = x ] ; then + export LC_TIME=$LANG + fi + fi export LANG=C fi