Bug 1252670 - hard-code URL to SUMO article about desktop runtime being disabled; r=marco

This commit is contained in:
Myk Melez 2016-03-01 15:00:02 -08:00
parent cff86946bf
commit e80ff4889d
2 changed files with 5 additions and 2 deletions

View File

@ -113,9 +113,13 @@ this.startup = function(window) {
let windowTitle = webappBundle.GetStringFromName("disable-warning.title");
let windowText = webappBundle.GetStringFromName("disable-warning.description");
let infoLabel = webappBundle.GetStringFromName("disable-warning.info.label");
let infoURL = webappBundle.GetStringFromName("disable-warning.info.url");
let showAgainLabel = webappBundle.GetStringFromName("disable-warning.show-again");
// Hard-code the URL to the SUMO article, because SUMO will take care
// of directing users to the locale-appropriate version (or the en-US
// version if there isn't a version for the user's locale).
let infoURL = "https://support.mozilla.org/kb/runtime";
let buttonFlags = (Services.prompt.BUTTON_POS_0 * Services.prompt.BUTTON_TITLE_OK) +
(Services.prompt.BUTTON_POS_1 * Services.prompt.BUTTON_TITLE_IS_STRING) +
Services.prompt.BUTTON_POS_0_DEFAULT;

View File

@ -55,5 +55,4 @@ paymentDialog.message=Which payment provider do you want to use?
disable-warning.title=Warning: App Will Be Disabled
disable-warning.description=This app will be disabled after you upgrade to a newer version of Firefox, which no longer includes a feature to run web apps separately from the browser.
disable-warning.info.label=More information…
disable-warning.info.url=https://support.mozilla.org/kb/runtime
disable-warning.show-again=Show this warning the next time I start this app