diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-23 16:09:10 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-23 16:09:10 +0000 |
commit | a8bf2e9402967b912bf92923761db8cd08fb33d5 (patch) | |
tree | c120e09f85e6cc4e185ee5c338b6c9b182829129 /tools | |
parent | 9d29fb8e0a07564054701c8053d015f3f6cb0a0a (diff) |
more i18n fixes, this time removing a hack that broke i18n in bundles, and also only initializing NLS stuff if ENABLE_NLS is in effect. note that if translations are disabled by the user, we set the localedir used to look for message catalogs to a dir that is assumed to not exist (/this/cannot/exist) which should block all translation from happening.
git-svn-id: svn://localhost/ardour2/branches/3.0@13975 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rw-r--r-- | tools/linux_packaging/ardour.sh.in | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/linux_packaging/ardour.sh.in b/tools/linux_packaging/ardour.sh.in index 3c8e77fb7f..6545e80b40 100644 --- a/tools/linux_packaging/ardour.sh.in +++ b/tools/linux_packaging/ardour.sh.in @@ -51,15 +51,6 @@ export LD_LIBRARY_PATH=$INSTALL_DIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} sed "s?@ROOTDIR@/modules?$LIB_DIR/modules?" < $ETC_DIR/pango.modules.in > $USER_ARDOUR_DIR/pango.modules sed "s?@ROOTDIR@/loaders?$LIB_DIR/loaders?" < $ETC_DIR/gdk-pixbuf.loaders.in > $USER_ARDOUR_DIR/gdk-pixbuf.loaders - -# 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 - export LANG=C -fi - - if [ "T" = "$DEBUG" ]; then export ARDOUR_INSIDE_GDB=1 exec gdb $INSTALL_DIR/bin/ardour-3.0 |