From a31088e9f34b5df2df067bee7e6e2579436915a0 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 7 Jan 2009 15:49:05 +0000 Subject: Fixed wrong LANG and LC_MESSAGES variables interpretation (#441973)\nin startup script. --- firefox.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firefox.sh.in') diff --git a/firefox.sh.in b/firefox.sh.in index e8f5048..6994e0b 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -140,10 +140,10 @@ export GNOME_DISABLE_CRASH_DIALOG MOZARGS= # Try without a local variant first, then with a local variant # So that pt-BR doesn't try to use pt for example -SHORTMOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*||g"` +SHORTMOZLOCALE=`echo $LC_MESSAGES | sed "s|_\([^.]*\).*||g"` [ -f $MOZ_EXTENSIONS_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org/chrome/$SHORTMOZLOCALE.jar ] && MOZARGS="-UILocale $SHORTMOZLOCALE" -MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"` +MOZLOCALE=`echo $LC_MESSAGES | sed "s|_\([^.]*\).*|-\1|g"` [ -f $MOZ_EXTENSIONS_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org/chrome/$MOZLOCALE.jar ] && MOZARGS="-UILocale $MOZLOCALE" # Prepare command line arguments -- cgit