You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/vs/workbench/contrib/workspace/browser/workspaceTrustEditor.ts
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -965,13 +965,13 @@ export class WorkspaceTrustEditor extends EditorPane {
965
965
[
966
966
localize('untrustedTasks',"Tasks are not allowed to run"),
967
967
localize('untrustedDebugging',"Debugging is disabled"),
968
-
localize({key: 'untrustedExtensions',comment: ['Please ensure the markdown link syntax is not broken up with whitespace [text block](link block)']},"[{0} extensions]({1}) are disabled or have limited functionality",numExtensions,`command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`)
968
+
fixBadLocalizedLinks(localize({key: 'untrustedExtensions',comment: ['Please ensure the markdown link syntax is not broken up with whitespace [text block](link block)']},"[{0} extensions]({1}) are disabled or have limited functionality",numExtensions,`command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`))
969
969
] :
970
970
[
971
971
localize('untrustedTasks',"Tasks are not allowed to run"),
972
972
localize('untrustedDebugging',"Debugging is disabled"),
973
-
numSettings ? localize({key: 'untrustedSettings',comment: ['Please ensure the markdown link syntax is not broken up with whitespace [text block](link block)']},"[{0} workspace settings]({1}) are not applied",numSettings,'command:settings.filterUntrusted') : localize('no untrustedSettings',"Workspace settings requiring trust are not applied"),
974
-
localize({key: 'untrustedExtensions',comment: ['Please ensure the markdown link syntax is not broken up with whitespace [text block](link block)']},"[{0} extensions]({1}) are disabled or have limited functionality",numExtensions,`command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`)
973
+
fixBadLocalizedLinks(numSettings ? localize({key: 'untrustedSettings',comment: ['Please ensure the markdown link syntax is not broken up with whitespace [text block](link block)']},"[{0} workspace settings]({1}) are not applied",numSettings,'command:settings.filterUntrusted') : localize('no untrustedSettings',"Workspace settings requiring trust are not applied")),
974
+
fixBadLocalizedLinks(localize({key: 'untrustedExtensions',comment: ['Please ensure the markdown link syntax is not broken up with whitespace [text block](link block)']},"[{0} extensions]({1}) are disabled or have limited functionality",numExtensions,`command:${LIST_WORKSPACE_UNSUPPORTED_EXTENSIONS_COMMAND_ID}`))
0 commit comments