Closed Bug 423241 Opened 17 years ago Closed 17 years ago

spellchecker.dictionary defaults to ""

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: ajschult784)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
We set the spellchecker.dictionary pref to "" in browser-prefs.js and don't do anything further to set a real default. The result is that the languages dropdown in the mail composition pref pane has nothing selected initially. Spellcheck itself seems to still work (rbgray noticed this testing 1.1.9) TBird pulls it in here: http://mxr.mozilla.org/seamonkey/source/mail/locales/en-US/all-l10n.js#40 attached patch does the same for us.
Attachment #309727 - Flags: review?(kairo)
Comment on attachment 309727 [details] [diff] [review] patch >Index: suite-l10n.js This gets processed properly (suite-l10n.js in dist/bin/defaults/prefs is good), but the pref doesn't actually get used. It looks like browser-prefs.js overrides suite-l10n.js. Removing the pref from browser-prefs.js fixes things, but it's not clear to me what the correct fix is here.
Comment on attachment 309727 [details] [diff] [review] patch r=me by reading bug 373787 (which did this for Thunderbird)
Attachment #309727 - Flags: review?(kairo) → review+
Attached patch patch IISplinter Review
As mentioned, suite-l10n.js doesn't override browser-prefs.js. We need to rename it to come before browser-prefs, or just not set the pref in browser-prefs (if the pref is not set at all, we continue to function as we do now with it set to ""). Also, the pref is not 'localized', which is defined as existing in a properties file.
Attachment #309727 - Attachment is obsolete: true
Attachment #313284 - Flags: review?(neil)
Assignee: mail → ajschult
Attachment #313284 - Flags: review?(neil) → review+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: