Changeset 276681 in webkit
- Timestamp:
- Apr 27, 2021, 5:04:53 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Localizations/en.lproj/localizedStrings.js (modified) (1 diff)
-
UserInterface/Views/ContextMenuUtilities.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r276680 r276681 1 2021-04-27 Patrick Angle <pangle@apple.com> 2 3 Web Inspector: Rename "Open in New Tab" context menu item to "Open in New Window" 4 https://bugs.webkit.org/show_bug.cgi?id=225125 5 6 Reviewed by BJ Burg. 7 8 Update the context menu item label, as the "Open in..." context menu item opens the target item in a new window, 9 not a new tab. 10 11 * Localizations/en.lproj/localizedStrings.js: 12 * UserInterface/Views/ContextMenuUtilities.js: 13 (WI.appendContextMenuItemsForURL): 14 1 15 2021-04-27 Patrick Angle <pangle@apple.com> 2 16 -
trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
r275982 r276681 1022 1022 localizedStrings["Only show visual actions"] = "Only show visual actions"; 1023 1023 localizedStrings["Open"] = "Open"; 1024 localizedStrings["Open in New Tab"] = "Open in New Tab"; 1024 /* Context menu item for opening the target item in a new window. */ 1025 localizedStrings["Open in New Window @ Context Menu Item"] = "Open in New Window"; 1025 1026 localizedStrings["Option-click to show source"] = "Option-click to show source"; 1026 1027 localizedStrings["Options"] = "Options"; -
trunk/Source/WebInspectorUI/UserInterface/Views/ContextMenuUtilities.js
r274229 r276681 213 213 214 214 if (!url.startsWith("javascript:") && !url.startsWith("data:")) { 215 contextMenu.appendItem(WI.UIString("Open in New Tab"), () => {215 contextMenu.appendItem(WI.UIString("Open in New Window", "Open in New Window @ Context Menu Item", "Context menu item for opening the target item in a new window."), () => { 216 216 const frame = null; 217 217 WI.openURL(url, frame, {alwaysOpenExternally: true});
Note:
See TracChangeset
for help on using the changeset viewer.