Bug 448029 - "Check for Updates" label and its variations need separate accesskeys. r=gavin

This commit is contained in:
Vlado Valastiak 2009-04-11 10:46:01 +02:00
parent af4dd1e7b2
commit 019c15684c
4 changed files with 7 additions and 2 deletions

View File

@ -100,7 +100,6 @@
<menuseparator id="updateSeparator"/>
#ifdef MOZ_UPDATER
<menuitem id="checkForUpdates"
accesskey="&updateCmd.accesskey;"
label="&updateCmd.label;"
class="menuitem-iconic"
oncommand="checkForUpdates();"/>

View File

@ -521,6 +521,7 @@ function buildHelpMenu()
}
}
checkForUpdates.label = getStringWithUpdateName("updatesItem_" + key);
checkForUpdates.accessKey = strings.getString("updatesItem_" + key + ".accesskey");
if (um.activeUpdate && updates.isDownloading)
checkForUpdates.setAttribute("loading", "true");
else

View File

@ -29,7 +29,6 @@
<!ENTITY helpReleaseNotes.label "Release Notes">
<!ENTITY helpReleaseNotes.accesskey "N">
<!ENTITY updateCmd.label "Check for Updates…">
<!ENTITY updateCmd.accesskey "o">
<!ENTITY preferencesCmdMac.label "Preferences…">
<!ENTITY preferencesCmdMac.commandkey ",">

View File

@ -79,14 +79,20 @@ sanitizeEverythingWarning=All history will be cleared. Your history includes on
sanitizeEverythingNoVisitsWarning=All history will be cleared.
# Check for Updates
# 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'…