From dd418226c6a91301002134f699117ba00f1e0804 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 12 Feb 2019 16:13:57 +0100 Subject: Add "check for updates" to main menu and AppMenu v2 Tag #963. --- .../palemoon/base/content/baseMenuOverlay.xul | 10 +- .../palemoon/base/content/browser-appmenu.inc | 9 +- .../palemoon/base/content/utilityOverlay.js | 111 +++++++++++++++++++++ .../en-US/chrome/browser/baseMenuOverlay.dtd | 1 + .../en-US/chrome/browser/browser.properties | 16 +++ 5 files changed, 145 insertions(+), 2 deletions(-) (limited to 'application') diff --git a/application/palemoon/base/content/baseMenuOverlay.xul b/application/palemoon/base/content/baseMenuOverlay.xul index e9019dc55..d7c983671 100644 --- a/application/palemoon/base/content/baseMenuOverlay.xul +++ b/application/palemoon/base/content/baseMenuOverlay.xul @@ -41,7 +41,7 @@ label="&helpMenu.label;" accesskey="&helpMenu.accesskey;"> #endif - + + + +#else + hidden="true"/> +#endif - + +#ifdef MOZ_UPDATER + + +#endif + diff --git a/application/palemoon/locales/en-US/chrome/browser/browser.properties b/application/palemoon/locales/en-US/chrome/browser/browser.properties index dbe6dbaa1..0144af0c7 100644 --- a/application/palemoon/locales/en-US/chrome/browser/browser.properties +++ b/application/palemoon/locales/en-US/chrome/browser/browser.properties @@ -201,6 +201,22 @@ update.openUpdateUI.upgradeButton.accesskey=U update.restart.upgradeButton.label=Upgrade Now update.restart.upgradeButton.accesskey=U +# Check for Updates in the Help Menu +# LOCALIZATION NOTE (updatesItem_*): these are alternative labels for Check for Update item in Help menu. +# Which one is used depends on Update process state. +updatesItem_default=Check for Updates… +updatesItem_defaultFallback=Check for Updates… +updatesItem_default.accesskey=C +updatesItem_downloading=Downloading %S… +updatesItem_downloadingFallback=Downloading Update… +updatesItem_downloading.accesskey=D +updatesItem_resume=Resume Downloading %S… +updatesItem_resumeFallback=Resume Downloading Update… +updatesItem_resume.accesskey=D +updatesItem_pending=Apply Downloaded Update Now… +updatesItem_pendingFallback=Apply Downloaded Update Now… +updatesItem_pending.accesskey=D + # RSS Pretty Print feedShowFeedNew=Subscribe to '%S'… -- cgit v1.2.3