зеркало из https://github.com/mozilla/gecko-dev.git
Bug 348842: Make get-more-dictionaries use the canonical localized-service URL format, r=vlad
This commit is contained in:
Родитель
7a3765e3cc
Коммит
350acb8d93
|
@ -77,7 +77,7 @@ pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/1/%APP_ID
|
|||
pref("extensions.blocklist.detailsURL", "http://www.mozilla.com/blocklist/");
|
||||
|
||||
// Dictionary download preference
|
||||
pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/%VERSION%/dictionaries/");
|
||||
pref("browser.dictionaries.download.url", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/firefox/%VERSION%/dictionaries/");
|
||||
|
||||
// App-specific update preferences
|
||||
|
||||
|
|
|
@ -5286,7 +5286,7 @@ nsContextMenu.prototype = {
|
|||
|
||||
addDictionaries : function()
|
||||
{
|
||||
var uri = gPrefService.getCharPref("browser.dictionaries.download.url");
|
||||
var uri = formatURL("browser.dictionaries.download.url", null, true);
|
||||
|
||||
var locale = "-";
|
||||
try {
|
||||
|
|
Загрузка…
Ссылка в новой задаче