mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-01 20:30:27 +00:00
041fff53f9
We try to derive the dictionary to use based on the following priorities: 1) Content preference: the language the user set for the site before. 2) The value of "spellchecker.dictionary.override" which reflects a global choice of language explicitly set by the user. 3) Language set by the website, or any other dictionary that partly matches that. Eg. if the website is "en-GB", a user who only has "en-US" will get that. If the website is generic "en", the user will get one of the "en-*" installed, pretty much at random. 4) The user's locale 5) Leave the current dictionary set. 6) The content of the "LANG" environment variable (if set) 7) The first spell check dictionary installed. Stop using the (broken) spellchecker.dictionary "holding pref"