SOURCES: mozilla-thunderbird-myspell.patch - thunderbird related ....
glen
glen at pld-linux.org
Mon Mar 5 03:47:33 CET 2007
Author: glen Date: Mon Mar 5 02:47:33 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- thunderbird related .js file changes
---- Files affected:
SOURCES:
mozilla-thunderbird-myspell.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/mozilla-thunderbird-myspell.patch
diff -u SOURCES/mozilla-thunderbird-myspell.patch:1.1 SOURCES/mozilla-thunderbird-myspell.patch:1.2
--- SOURCES/mozilla-thunderbird-myspell.patch:1.1 Mon Mar 5 03:36:42 2007
+++ SOURCES/mozilla-thunderbird-myspell.patch Mon Mar 5 03:47:27 2007
@@ -207,16 +207,42 @@
MOZ_NATIVE_ZLIB = @SYSTEM_ZLIB@
MOZ_NATIVE_JPEG = @SYSTEM_JPEG@
MOZ_NATIVE_PNG = @SYSTEM_PNG@
---- mozilla/toolkit/content/inlineSpellCheckUI.js~ 2006-11-27 23:43:52.000000000 +0200
-+++ mozilla/toolkit/content/inlineSpellCheckUI.js 2007-03-05 00:41:13.030876638 +0200
-@@ -202,6 +166,10 @@
- for (var i = 0; i < list.length; i ++) {
- // get the display name for this dictionary
- isoStrArray = list[i].split("-");
-+ // if we can't split by Mozilla locale names (en-US), try system separator (en_US)
-+ if (isoStrArray.length < 2) {
-+ isoStrArray = list[i].split("_");
-+ }
- var displayName = "";
- if (this.mLanguageBundle && isoStrArray[0]) {
- try {
+--- mozilla/mailnews/compose/resources/content/MsgComposeCommands.js~ 2006-12-31 00:16:49.000000000 +0200
++++ mozilla/mailnews/compose/resources/content/MsgComposeCommands.js 2007-03-05 04:35:59.280678222 +0200
+@@ -2154,6 +2154,10 @@
+ {
+ langId = dictList[i];
+ isoStrArray = dictList[i].split("-");
++ // if we can't split by Mozilla locale names (en-US), try system separator (en_US)
++ if (isoStrArray.length < 2) {
++ isoStrArray = list[i].split("_");
++ }
+
+ if (languageBundle && isoStrArray[0])
+ langLabel = languageBundle.getString(isoStrArray[0].toLowerCase());
+#--- mozilla/mail/components/compose/content/MsgComposeCommands.js~ 2007-01-16 02:37:55.000000000 +0200
+#+++ mozilla/mail/components/compose/content/MsgComposeCommands.js 2007-03-05 04:37:41.320669980 +0200
+#@@ -2235,6 +2235,10 @@
+# {
+# langId = dictList[i];
+# isoStrArray = dictList[i].split("-");
+#+ // if we can't split by Mozilla locale names (en-US), try system separator (en_US)
+#+ if (isoStrArray.length < 2) {
+#+ isoStrArray = list[i].split("_");
+#+ }
+#
+# if (languageBundle && isoStrArray[0])
+# langLabel = languageBundle.getString(isoStrArray[0].toLowerCase());
+--- mozilla/mail/components/preferences/compose.js~ 2006-11-28 03:06:50.000000000 +0200
++++ mozilla/mail/components/preferences/compose.js 2007-03-05 04:39:00.815779020 +0200
+@@ -337,6 +337,10 @@
+ try {
+ langId = dictList[i];
+ isoStrArray = dictList[i].split("-");
++ // if we can't split by Mozilla locale names (en-US), try system separator (en_US)
++ if (isoStrArray.length < 2) {
++ isoStrArray = list[i].split("_");
++ }
+
+ if (languageBundle && isoStrArray[0])
+ langLabel = languageBundle.getString(isoStrArray[0].toLowerCase());
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mozilla-thunderbird-myspell.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list