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
@@ -339,16 +340,14 @@ export class BrowserWindow extends BaseWindow {
339
340
if(!opened){
340
341
awaitthis.dialogService.prompt({
341
342
type: Severity.Warning,
342
-
message: localize('unableToOpenExternal',"The browser interrupted the opening of a new tab or window. Press 'Open' to open it anyway."),
343
-
detail: href,
343
+
message: localize('unableToOpenExternal',"The browser blocked opening a new tab or window. Press 'Retry' to try again."),
344
+
custom: {
345
+
markdownDetails: [{markdown: newMarkdownString(localize('unableToOpenWindowDetail',"Please allow pop-ups for this website in your [browser settings]({0}).",'https://aka.ms/allow-vscode-popup'),true)}]
346
+
},
344
347
buttons: [
345
348
{
346
-
label: localize({key: 'open',comment: ['&& denotes a mnemonic']},"&&Open"),
349
+
label: localize({key: 'retry',comment: ['&& denotes a mnemonic']},"&&Retry"),
message: localize('unableToOpenWindow',"The browser interrupted the opening of a new window. Press 'Retry' to try again."),
364
-
detail: localize('unableToOpenWindowDetail',"To avoid this problem in the future, please ensure to allow popups for this website."),
364
+
message: localize('unableToOpenWindow',"The browser blocked opening a new window. Press 'Retry' to try again."),
365
+
custom: {
366
+
markdownDetails: [{markdown: newMarkdownString(localize('unableToOpenWindowDetail',"Please allow pop-ups for this website in your [browser settings]({0}).",'https://aka.ms/allow-vscode-popup'),true)}]
367
+
},
365
368
buttons: [
366
369
{
367
370
label: localize({key: 'retry',comment: ['&& denotes a mnemonic']},"&&Retry"),
message: localize('unableToOpenExternal',"The browser interrupted the opening of a new tab or window. Press 'Open' to open it anyway."),
503
-
primaryButton: localize({key: 'open',comment: ['&& denotes a mnemonic']},"&&Open")
503
+
message: workspace ?
504
+
localize('unableToOpenExternalWorkspace',"The browser blocked opening a new tab or window for '{0}'. Press 'Retry' to try again.",this.getRecentLabel(workspace)) :
505
+
localize('unableToOpenExternal',"The browser blocked opening a new tab or window. Press 'Retry' to try again."),
506
+
custom: {
507
+
markdownDetails: [{markdown: newMarkdownString(localize('unableToOpenWindowDetail',"Please allow pop-ups for this website in your [browser settings]({0}).",'https://aka.ms/allow-vscode-popup'),true)}]
508
+
},
509
+
buttons: [
510
+
{
511
+
label: localize({key: 'retry',comment: ['&& denotes a mnemonic']},"&&Retry"),
0 commit comments