mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
Make the SeaMonkey spellcheck dialog get the more dictionaries URL from a localised preference rather than a localised RDF file b=339145 r=glazou,KaiRo sr=jag
This commit is contained in:
parent
133dd4fc4f
commit
4db941397c
@ -66,6 +66,7 @@ pref("editor.table.maintain_structure", true);
|
||||
pref("editor.prettyprint", true);
|
||||
|
||||
pref("editor.throbber.url","chrome://editor-region/locale/region.properties");
|
||||
pref("editor.spellcheckers.url","chrome://editor-region/locale/region.properties");
|
||||
|
||||
pref("editor.toolbars.showbutton.new", true);
|
||||
pref("editor.toolbars.showbutton.open", true);
|
||||
|
@ -455,7 +455,8 @@ function SelectLanguage()
|
||||
gLastSelectedLang = item;
|
||||
}
|
||||
else {
|
||||
window.opener.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", xlateURL('urn:clienturl:composer:spellcheckers'));
|
||||
opener.open(GetPrefs().getComplexValue("editor.spellcheckers.url",
|
||||
Components.interfaces.nsIPrefLocalizedString).data);
|
||||
if (gLastSelectedLang)
|
||||
gDialog.LanguageMenulist.selectedItem = gLastSelectedLang;
|
||||
}
|
||||
|
@ -2,3 +2,4 @@
|
||||
# editor.js
|
||||
# editor.properties
|
||||
editor.throbber.url=http://www.mozilla.org/projects/seamonkey/
|
||||
editor.spellcheckers.url=http://dictionaries.mozdev.org/installation.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user