@@ -123,33 +123,15 @@ viewsRegistry.registerViewWelcomeContent(WelcomeView.ID, {
123
123
124
124
let debugKeybindingLabel = '' ;
125
125
viewsRegistry . registerViewWelcomeContent ( WelcomeView . ID , {
126
- content : localize (
127
- {
128
- key : 'runAndDebugAction' ,
129
- comment : [
130
- '{0} will be replaced with a keybinding' ,
131
- 'Please do not translate the word "command", it is part of our internal syntax which must not change' ,
132
- '{Locked="](command:{1})"}'
133
- ]
134
- } ,
135
- "[Run and Debug{0}](command:{1})" , debugKeybindingLabel , DEBUG_START_COMMAND_ID ) ,
126
+ content : `[${ localize ( 'runAndDebugAction' , "Run and Debug" ) } ${ debugKeybindingLabel } ](command:${ DEBUG_START_COMMAND_ID } )` ,
136
127
when : CONTEXT_DEBUGGERS_AVAILABLE ,
137
128
group : ViewContentGroups . Debug ,
138
129
// Allow inserting more buttons directly after this one (by setting order to 1).
139
130
order : 1
140
131
} ) ;
141
132
142
133
viewsRegistry . registerViewWelcomeContent ( WelcomeView . ID , {
143
- content : localize (
144
- {
145
- key : 'detectThenRunAndDebug' ,
146
- comment : [
147
- 'Please do not translate the word "command", it is part of our internal syntax which must not change' ,
148
- '{Locked="](command:{0})"}' ,
149
-
150
- ]
151
- } ,
152
- "[Show all automatic debug configurations](command:{0})." , SELECT_AND_START_ID ) ,
134
+ content : `[${ localize ( 'detectThenRunAndDebug' , "Show all automatic debug configurations" ) } ](command:${ SELECT_AND_START_ID } ).` ,
153
135
when : CONTEXT_DEBUGGERS_AVAILABLE ,
154
136
group : ViewContentGroups . Debug ,
155
137
order : 10
0 commit comments