components/desktop/firefox/patches/firefox31-03-g11n-nav-lang.patch
author Stacy Yeh <stacy.yeh@oracle.com>
Mon, 11 Jan 2016 09:27:45 -0800
changeset 5255 cea0e462549a
permissions -rw-r--r--
22322082 Move Firefox/Thunderbird from Desktop consolidation to Userland

This fixes Mozilla bug#285267 - navigator.language js property doesn't reflect 
browser default language. It appears that this patch was previously 
proposed upstream but not accepted. (https://bugzilla.mozilla.org/show_bug.cgi?id=285267) 

diff --git a/browser/locales/en-US/firefox-l10n.js b/browser/locales/en-US/firefox-l10n.js
index e9027aa..10bdcdb 100644
--- a/browser/locales/en-US/firefox-l10n.js
+++ b/browser/locales/en-US/firefox-l10n.js
@@ -36,4 +36,4 @@
 
 #filter substitution
 
-pref("general.useragent.locale", "@AB_CD@");
+pref("general.useragent.locale", "chrome://global/locale/intl.properties");