mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-18 19:36:00 +01:00
only disable text translations, not numerics or time
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13064 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3c121f1ce2
commit
259ec5ba64
1 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue