Bug 348842: Make get-more-dictionaries use the canonical localized-service URL format, r=vlad

This commit is contained in:
flamingice%sourmilk.net 2006-08-18 17:02:40 +00:00
Родитель 7a3765e3cc
Коммит 350acb8d93
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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 {