locale should always match the system one in a package environment firefox7
authorWolfgang Rosenauer <wr@rosenauer.org>
Wed, 05 Oct 2011 15:58:57 +0200
branchfirefox7
changeset 339 db8b891eeb1e
parent 337 cf16b6560dd1
child 341 a90633075f60
child 344 880a90eb0f92
locale should always match the system one in a package environment
MozillaFirefox/MozillaFirefox.changes
MozillaFirefox/MozillaFirefox.spec
MozillaFirefox/mozilla-preferences.patch
mozilla-preferences.patch
series
--- a/MozillaFirefox/MozillaFirefox.changes	Fri Sep 30 13:01:04 2011 +0200
+++ b/MozillaFirefox/MozillaFirefox.changes	Wed Oct 05 15:58:57 2011 +0200
@@ -3,6 +3,8 @@
 
 - update to minor release 7.0.1
   * fixed staged addon updates
+- set intl.locale.matchOS=true in the base package as it causes
+  too much confusion when it's only available with branding-openSUSE
 
 -------------------------------------------------------------------
 Fri Sep 23 11:22:22 UTC 2011 - wr@rosenauer.org
--- a/MozillaFirefox/MozillaFirefox.spec	Fri Sep 30 13:01:04 2011 +0200
+++ b/MozillaFirefox/MozillaFirefox.spec	Wed Oct 05 15:58:57 2011 +0200
@@ -66,6 +66,7 @@
 Patch3:         mozilla-prefer_plugin_pref.patch
 Patch4:         mozilla-shared-nss-db.patch
 Patch5:         mozilla-kde.patch
+Patch6:         mozilla-preferences.patch
 Patch7:         mozilla-language.patch
 Patch9:         mozilla-cairo-return.patch
 Patch10:        mozilla-ntlm-full-path.patch
@@ -196,6 +197,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 %patch7 -p1
 %patch9 -p1
 %patch10 -p1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-preferences.patch	Wed Oct 05 15:58:57 2011 +0200
@@ -0,0 +1,1 @@
+../mozilla-preferences.patch
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-preferences.patch	Wed Oct 05 15:58:57 2011 +0200
@@ -0,0 +1,30 @@
+From: Wolfgang Rosenauer <wr@rosenauer.org>
+Subject: use system locale if available
+This setting used to live in the branding-openSUSE package but this is causing too much
+confusion and therefore is currently the only setting we switch in the unbranded
+package unconditionally.
+
+# HG changeset patch
+# Parent 020571ebc3766a68f1e50780b910c51d1bb76087
+diff --git a/modules/libpref/src/init/all.js b/modules/libpref/src/init/all.js
+--- a/modules/libpref/src/init/all.js
++++ b/modules/libpref/src/init/all.js
+@@ -1085,17 +1085,17 @@ pref("intl.charsetmenu.browser.unicode",
+ pref("intl.charsetmenu.mailedit",           "chrome://global/locale/intl.properties");
+ pref("intl.charsetmenu.browser.cache",      "");
+ pref("intl.charsetmenu.mailview.cache",     "");
+ pref("intl.charsetmenu.composer.cache",     "");
+ pref("intl.charsetmenu.browser.cache.size", 5);
+ pref("intl.charset.detector",               "chrome://global/locale/intl.properties");
+ pref("intl.charset.default",                "chrome://global-platform/locale/intl.properties");
+ pref("intl.ellipsis",                       "chrome://global-platform/locale/intl.properties");
+-pref("intl.locale.matchOS",                 false);
++pref("intl.locale.matchOS",                 true);
+ // fallback charset list for Unicode conversion (converting from Unicode)
+ // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
+ // for ISO-8859-1
+ pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
+ pref("font.language.group",                 "chrome://global/locale/intl.properties");
+ 
+ // these locales have right-to-left UI
+ pref("intl.uidirection.ar", "rtl");
--- a/series	Fri Sep 30 13:01:04 2011 +0200
+++ b/series	Wed Oct 05 15:58:57 2011 +0200
@@ -6,6 +6,7 @@
 mozilla-prefer_plugin_pref.patch
 mozilla-shared-nss-db.patch
 mozilla-kde.patch
+mozilla-preferences.patch
 #mozilla-gconf-backend.patch
 #gecko-lockdown.patch
 #toolkit-ui-lockdown.patch