Skip to content

Commit eb92c8b

Browse files
committed
Improve wording for terminal windows
1 parent 31beca6 commit eb92c8b

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/vs/workbench/contrib/terminal/browser/terminalMenus.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function setupTerminalMenus(): void {
5454
group: TerminalMenuBarGroup.Create,
5555
command: {
5656
id: TerminalCommandId.NewInNewWindow,
57-
title: localize({ key: 'miNewInNewWindow', comment: ['&& denotes a mnemonic'] }, "New in New &&Window"),
57+
title: localize({ key: 'miNewInNewWindow', comment: ['&& denotes a mnemonic'] }, "New Terminal &&Window"),
5858
precondition: ContextKeyExpr.has(TerminalContextKeyStrings.IsOpen)
5959
},
6060
order: 2,
@@ -724,7 +724,7 @@ export function getTerminalActionBarArgs(location: ITerminalLocationOptions, pro
724724
const splitLocation = (location === TerminalLocation.Editor || (typeof location === 'object' && 'viewColumn' in location && location.viewColumn === ACTIVE_GROUP)) ? { viewColumn: SIDE_GROUP } : { splitActiveTerminal: true };
725725

726726
dropdownActions.push(disposableStore.add(new Action(TerminalCommandId.New, terminalStrings.new, undefined, true, () => terminalService.createAndFocusTerminal())));
727-
dropdownActions.push(disposableStore.add(new Action(TerminalCommandId.NewInNewWindow, terminalStrings.newInNewWindow.short, undefined, true, () => terminalService.createAndFocusTerminal({
727+
dropdownActions.push(disposableStore.add(new Action(TerminalCommandId.NewInNewWindow, terminalStrings.newInNewWindow.value, undefined, true, () => terminalService.createAndFocusTerminal({
728728
location: {
729729
viewColumn: AUX_WINDOW_GROUP,
730730
auxiliary: { compact: true },

src/vs/workbench/contrib/terminal/common/terminalStrings.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ export const terminalStrings = {
2525
},
2626
moveToEditor: localize2('moveToEditor', "Move Terminal into Editor Area"),
2727
moveIntoNewWindow: localize2('moveIntoNewWindow', "Move Terminal into New Window"),
28-
newInNewWindow: {
29-
...localize2('newInNewWindow', "New Terminal in New Window"),
30-
short: localize('newInNewWindow.short', "New in New Window")
31-
},
28+
newInNewWindow: localize2('newInNewWindow', "New Terminal Window"),
3229
moveToTerminalPanel: localize2('workbench.action.terminal.moveToTerminalPanel', "Move Terminal into Panel"),
3330
changeIcon: localize2('workbench.action.terminal.changeIcon', "Change Icon..."),
3431
changeColor: localize2('workbench.action.terminal.changeColor', "Change Color..."),

0 commit comments

Comments
 (0)