summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-07-21 20:40:01 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-07-21 20:40:01 +0000
commit259ec5ba641c773fa571cbb1d48d1d225fc0520e (patch)
tree1e6d8d2cb8dc3c5f657cedb021deacbb7ae5c541
parent3c121f1ce2fde76fa22bcd3e7bd6fe48cf8bab29 (diff)
only disable text translations, not numerics or time
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13064 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--tools/linux_packaging/ardour.sh.in10
1 files changed, 9 insertions, 1 deletions
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