mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +00:00
Bug 368449 - 'Open All in Tabs' menu-item label accidentally reverted. r=gavin.
This commit is contained in:
parent
20135ccb47
commit
a0b9dfcbbc
@ -416,7 +416,7 @@ var BookmarksEventHandler = {
|
||||
var openInTabs = document.createElement("menuitem");
|
||||
openInTabs.setAttribute("openInTabs", "true");
|
||||
openInTabs.setAttribute("label",
|
||||
gNavigatorBundle.getString("menuOpenInTabs.label"));
|
||||
gNavigatorBundle.getString("menuOpenAllInTabs.label"));
|
||||
target.appendChild(openInTabs);
|
||||
}
|
||||
}
|
||||
|
@ -5713,12 +5713,12 @@ HistoryMenu.populateUndoSubmenu = function PHM_populateUndoSubmenu() {
|
||||
m.addEventListener("click", undoCloseMiddleClick, false);
|
||||
}
|
||||
|
||||
// "open in tabs"
|
||||
// "Open All in Tabs"
|
||||
var strings = gNavigatorBundle;
|
||||
undoPopup.appendChild(document.createElement("menuseparator"));
|
||||
m = undoPopup.appendChild(document.createElement("menuitem"));
|
||||
m.setAttribute("label", strings.getString("menuOpenInTabs.label"));
|
||||
m.setAttribute("accesskey", strings.getString("menuOpenInTabs.accesskey"));
|
||||
m.setAttribute("label", strings.getString("menuOpenAllInTabs.label"));
|
||||
m.setAttribute("accesskey", strings.getString("menuOpenAllInTabs.accesskey"));
|
||||
m.addEventListener("command", function() {
|
||||
for (var i = 0; i < undoItems.length; i++)
|
||||
undoCloseTab();
|
||||
|
@ -123,5 +123,5 @@ tabContext.undoCloseTab=Undo Close Tab
|
||||
tabContext.undoCloseTabAccessKey=U
|
||||
|
||||
# History menu
|
||||
menuOpenInTabs.label=Open in Tabs
|
||||
menuOpenInTabs.accesskey=o
|
||||
menuOpenAllInTabs.label=Open All in Tabs
|
||||
menuOpenAllInTabs.accesskey=o
|
||||
|
Loading…
x
Reference in New Issue
Block a user