Bug 1782717 - Fix back/forward menu tooltip string for current page item to indicate it will reload page. r=Gijs,flod

The back/forward menu shows tooltips when hovering menuitems. For the
current page, the tooltip says Stay on this page, but the effect of the
menuitem is actually to reload the current page. So change the tooltip
string to reflect that the page will reload when the item is clicked.

Differential Revision: https://phabricator.services.mozilla.com/D153468
This commit is contained in:
Shane Hughes 2022-08-03 09:56:23 +00:00
parent de8e780d94
commit 7a051f00ca
2 changed files with 2 additions and 2 deletions

View File

@ -4403,7 +4403,7 @@ function FillHistoryMenu(aParent) {
const MAX_HISTORY_MENU_ITEMS = 15;
const tooltipBack = gNavigatorBundle.getString("tabHistory.goBack");
const tooltipCurrent = gNavigatorBundle.getString("tabHistory.current");
const tooltipCurrent = gNavigatorBundle.getString("tabHistory.reloadCurrent");
const tooltipForward = gNavigatorBundle.getString("tabHistory.goForward");
function updateSessionHistory(sessionHistory, initial, ssInParent) {

View File

@ -345,7 +345,7 @@ menuUndoCloseWindowLabel=#1 (and #2 other tab);#1 (and #2 other tabs)
menuUndoCloseWindowSingleTabLabel=#1
# Unified Back-/Forward Popup
tabHistory.current=Stay on this page
tabHistory.reloadCurrent=Reload this page
tabHistory.goBack=Go back to this page
tabHistory.goForward=Go forward to this page