From 5715b4d4c5d7414d78c55f5645997744a7775c0c Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Jan 07 2009 15:02:25 +0000 Subject: Resolves: #441973, Firefox ignores --- 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 diff --git a/firefox.spec b/firefox.spec index 1e82238..346bd44 100644 --- a/firefox.spec +++ b/firefox.spec @@ -18,7 +18,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 3.0.5 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.mozilla.org/projects/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Group: Applications/Internet @@ -322,6 +322,10 @@ fi #--------------------------------------------------------------------- %changelog +* Wed Jan 7 2009 Jan Horak - 3.0.5-2 +- Fixed wrong LANG and LC_MESSAGES variables interpretation (#441973) + in startup script. + * Tue Dec 16 2008 Christopher Aillon 3.0.5-1 - Update to 3.0.5