Bug 366367: SeaMonkey link on mailnews start page incorrect in suiterunner; p=Bruno 'Aqualon' Escherl <aqualon@aquachan.de>, r=KaiRo, sr=neil
git-svn-id: svn://10.0.0.236/trunk@218711 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ed53ac652d
commit
262681fa30
@ -77,9 +77,14 @@
|
||||
</div>
|
||||
|
||||
<script type="application/x-javascript">
|
||||
// get dictionaries and release notes URLs from prefs
|
||||
// get vendor, dictionaries and release notes URLs from prefs
|
||||
var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
|
||||
.getService(Components.interfaces.nsIURLFormatter);
|
||||
var vendorURL = formatter.formatURLPref("app.vendorURL");
|
||||
var vendor = document.getElementById("vendorURL");
|
||||
if (vendor)
|
||||
vendor.setAttribute("href", vendorURL);
|
||||
|
||||
var dictURL = formatter.formatURLPref("spellchecker.dictionaries.download.url");
|
||||
var dictionaries = document.getElementById("dictURL");
|
||||
if (dictionaries)
|
||||
|
||||
@ -36,8 +36,9 @@
|
||||
- ***** END LICENSE BLOCK ***** -->
|
||||
|
||||
<!ENTITY startpage.title "Welcome to &brandShortName; Mail & Newsgroups">
|
||||
<!--# LOCALIZATION NOTE (headline.label): the URL for <a id="vendorURL"> is fetched from brand.properties -->
|
||||
<!ENTITY headline.label
|
||||
'Welcome to <a href="&vendorURL;">&brandShortName;</a> Mail & Newsgroups!'>
|
||||
'Welcome to <a id="vendorURL" href="">&brandShortName;</a> Mail & Newsgroups!'>
|
||||
<!ENTITY description.label
|
||||
"&brandShortName; Mail & Newsgroups is a powerful open-source mail and news
|
||||
client, supporting advanced junk mail detection and other useful features.">
|
||||
|
||||
@ -205,6 +205,7 @@ pref("layout.spellcheckDefault", 1);
|
||||
pref("accessibility.typeaheadfind.flashBar", 0);
|
||||
|
||||
pref("app.releaseNotesURL", "chrome://branding/locale/brand.properties");
|
||||
pref("app.vendorURL", "chrome://branding/locale/brand.properties");
|
||||
|
||||
// App-specific update preferences
|
||||
|
||||
|
||||
@ -7,4 +7,5 @@ extensions.getMoreExtensionsURL=https://%LOCALE%.add-ons.mozilla.org/%LOCALE%/%A
|
||||
extensions.getMoreThemesURL=https://%LOCALE%.add-ons.mozilla.org/%LOCALE%/%APP%/%VERSION%/themes/
|
||||
spellchecker.dictionaries.download.url=https://%LOCALE%.add-ons.mozilla.org/%LOCALE%/%APP%/%VERSION%/dictionaries/
|
||||
app.releaseNotesURL=http://www.mozilla.org/projects/seamonkey/releases/seamonkey%VERSION%/
|
||||
app.vendorURL=http://www.mozilla.org/projects/seamonkey/
|
||||
keyword.moreInfoURL=http://www.mozilla.org/docs/end-user/internet-keywords.html
|
||||
|
||||
@ -201,6 +201,7 @@ pref("spellchecker.dictionaries.download.url", "chrome://branding/locale/brand.p
|
||||
pref("layout.spellcheckDefault", 1);
|
||||
|
||||
pref("app.releaseNotesURL", "chrome://branding/locale/brand.properties");
|
||||
pref("app.vendorURL", "chrome://branding/locale/brand.properties");
|
||||
|
||||
pref("extensions.getMoreLocalesURL", "chrome://branding/locale/brand.properties");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user