SOURCES: mozilla-thunderbird-myspell.patch - this version seems to...

glen glen at pld-linux.org
Tue Mar 6 01:16:13 CET 2007


Author: glen                         Date: Tue Mar  6 00:16:13 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- this version seems to work for en_US, but not et_EE (perhaps et not present

---- Files affected:
SOURCES:
   mozilla-thunderbird-myspell.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/mozilla-thunderbird-myspell.patch
diff -u SOURCES/mozilla-thunderbird-myspell.patch:1.2 SOURCES/mozilla-thunderbird-myspell.patch:1.3
--- SOURCES/mozilla-thunderbird-myspell.patch:1.2	Mon Mar  5 03:47:27 2007
+++ SOURCES/mozilla-thunderbird-myspell.patch	Tue Mar  6 01:16:08 2007
@@ -215,24 +215,24 @@
        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("_");
++        isoStrArray = dictList[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 = dictList[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 @@
@@ -241,7 +241,7 @@
          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("_");
++          isoStrArray = dictList[i].split("_");
 +        }
  
          if (languageBundle && isoStrArray[0])
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mozilla-thunderbird-myspell.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list