diff --git a/webapprt/Startup.jsm b/webapprt/Startup.jsm index a6ad8a9a7e6..7d4ff38cfe9 100644 --- a/webapprt/Startup.jsm +++ b/webapprt/Startup.jsm @@ -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; diff --git a/webapprt/locales/en-US/webapprt/webapp.properties b/webapprt/locales/en-US/webapprt/webapp.properties index 89f6990bffd..c12d3d4b54f 100644 --- a/webapprt/locales/en-US/webapprt/webapp.properties +++ b/webapprt/locales/en-US/webapprt/webapp.properties @@ -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