@codingame/monaco-vscode-authentication-service-override 32.0.0 → 32.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-authentication-service-override",
|
|
3
|
-
"version": "32.0.
|
|
3
|
+
"version": "32.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - authentication service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "32.0.
|
|
18
|
+
"@codingame/monaco-vscode-api": "32.0.1"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
package/vscode/src/vs/workbench/services/authentication/browser/authenticationExtensionsService.js
CHANGED
|
@@ -121,7 +121,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
121
121
|
numberOfRequests += ( Object.keys(accessRequest)).length;
|
|
122
122
|
});
|
|
123
123
|
if (numberOfRequests > 0) {
|
|
124
|
-
const badge = ( new NumberBadge(numberOfRequests, () => ( localize(
|
|
124
|
+
const badge = ( new NumberBadge(numberOfRequests, () => ( localize(16344, "Sign in requested"))));
|
|
125
125
|
this._accountBadgeDisposable.value = this.activityService.showAccountsActivity({
|
|
126
126
|
badge
|
|
127
127
|
});
|
|
@@ -201,17 +201,17 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
201
201
|
} = await this.dialogService.prompt({
|
|
202
202
|
type: Severity.Info,
|
|
203
203
|
message: ( localize(
|
|
204
|
-
|
|
204
|
+
16345,
|
|
205
205
|
"The extension '{0}' wants to access the {1} account '{2}'.",
|
|
206
206
|
extensionName,
|
|
207
207
|
provider.label,
|
|
208
208
|
accountName
|
|
209
209
|
)),
|
|
210
210
|
buttons: [{
|
|
211
|
-
label: ( localize(
|
|
211
|
+
label: ( localize(16346, "&&Allow")),
|
|
212
212
|
run: () => SessionPromptChoice.Allow
|
|
213
213
|
}, {
|
|
214
|
-
label: ( localize(
|
|
214
|
+
label: ( localize(16347, "&&Deny")),
|
|
215
215
|
run: () => SessionPromptChoice.Deny
|
|
216
216
|
}],
|
|
217
217
|
cancelButton: {
|
|
@@ -259,17 +259,17 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
items.push({
|
|
262
|
-
label: ( localize(
|
|
262
|
+
label: ( localize(16348, "Sign in to another account"))
|
|
263
263
|
});
|
|
264
264
|
quickPick.items = items;
|
|
265
265
|
quickPick.title = ( localize(
|
|
266
|
-
|
|
266
|
+
16349,
|
|
267
267
|
"The extension '{0}' wants to access a {1} account",
|
|
268
268
|
extensionName,
|
|
269
269
|
this._authenticationService.getProvider(providerId).label
|
|
270
270
|
));
|
|
271
271
|
quickPick.placeholder = ( localize(
|
|
272
|
-
|
|
272
|
+
16350,
|
|
273
273
|
"Select an account for '{0}' to use or Esc to cancel",
|
|
274
274
|
extensionName
|
|
275
275
|
));
|
|
@@ -361,7 +361,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
361
361
|
group: "3_accessRequests",
|
|
362
362
|
command: {
|
|
363
363
|
id: `${providerId}${extensionId}Access`,
|
|
364
|
-
title: ( localize(
|
|
364
|
+
title: ( localize(16351, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
|
|
365
365
|
}
|
|
366
366
|
}));
|
|
367
367
|
const accessCommand = CommandsRegistry.registerCommand({
|
|
@@ -405,7 +405,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
405
405
|
group: "2_signInRequests",
|
|
406
406
|
command: {
|
|
407
407
|
id: commandId,
|
|
408
|
-
title: ( localize(
|
|
408
|
+
title: ( localize(16352, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
|
|
409
409
|
}
|
|
410
410
|
}));
|
|
411
411
|
const signInCommand = CommandsRegistry.registerCommand({
|