Skip to content

Commit 103d079

Browse files
committed
Fix forward port action name in places it shouldn't contain 'a'
Fixes microsoft/vscode-remote-release#2241
1 parent 34dea96 commit 103d079

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/vs/workbench/contrib/remote/browser/tunnelView.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ namespace ForwardPortAction {
663663
export const INLINE_ID = 'remote.tunnel.forwardInline';
664664
export const COMMANDPALETTE_ID = 'remote.tunnel.forwardCommandPalette';
665665
export const LABEL = nls.localize('remote.tunnel.forward', "Forward a Port");
666+
export const TREEITEM_LABEL = nls.localize('remote.tunnel.forwardItem', "Forward Port");
666667
const forwardPrompt = nls.localize('remote.tunnel.forwardPrompt', "Port number or address (eg. 3000 or 10.10.10.10:2000).");
667668

668669
function parseInput(value: string): { host: string, port: number } | undefined {
@@ -1011,7 +1012,7 @@ MenuRegistry.appendMenuItem(MenuId.TunnelContext, ({
10111012
order: 1,
10121013
command: {
10131014
id: ForwardPortAction.INLINE_ID,
1014-
title: ForwardPortAction.LABEL,
1015+
title: ForwardPortAction.TREEITEM_LABEL,
10151016
},
10161017
when: ContextKeyExpr.or(TunnelTypeContextKey.isEqualTo(TunnelType.Candidate), TunnelTypeContextKey.isEqualTo(TunnelType.Add))
10171018
}));
@@ -1038,7 +1039,7 @@ MenuRegistry.appendMenuItem(MenuId.TunnelInline, ({
10381039
order: 0,
10391040
command: {
10401041
id: ForwardPortAction.INLINE_ID,
1041-
title: ForwardPortAction.LABEL,
1042+
title: ForwardPortAction.TREEITEM_LABEL,
10421043
icon: { id: 'codicon/plus' }
10431044
},
10441045
when: TunnelTypeContextKey.isEqualTo(TunnelType.Candidate)

0 commit comments

Comments
 (0)