@codingame/monaco-vscode-authentication-service-override 10.1.2 → 10.1.4
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": "10.1.
|
|
3
|
+
"version": "10.1.4",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git@github.com
|
|
12
|
+
"url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@10.1.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.1.4"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/vscode/src/vs/workbench/services/authentication/browser/authenticationExtensionsService.js
CHANGED
|
@@ -108,7 +108,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
108
108
|
numberOfRequests += ( (Object.keys(accessRequest))).length;
|
|
109
109
|
});
|
|
110
110
|
if (numberOfRequests > 0) {
|
|
111
|
-
const badge = ( (new NumberBadge(numberOfRequests, () => ( localize(
|
|
111
|
+
const badge = ( (new NumberBadge(numberOfRequests, () => ( localize(2253, "Sign in requested")))));
|
|
112
112
|
this._accountBadgeDisposable.value = this.activityService.showAccountsActivity({ badge });
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -169,7 +169,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
169
169
|
const { result } = await this.dialogService.prompt({
|
|
170
170
|
type: Severity$1.Info,
|
|
171
171
|
message: ( localize(
|
|
172
|
-
|
|
172
|
+
2254,
|
|
173
173
|
"The extension '{0}' wants to access the {1} account '{2}'.",
|
|
174
174
|
extensionName,
|
|
175
175
|
provider.label,
|
|
@@ -177,11 +177,11 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
177
177
|
)),
|
|
178
178
|
buttons: [
|
|
179
179
|
{
|
|
180
|
-
label: ( localize(
|
|
180
|
+
label: ( localize(2255, "&&Allow")),
|
|
181
181
|
run: () => SessionPromptChoice.Allow
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
|
-
label: ( localize(
|
|
184
|
+
label: ( localize(2256, "&&Deny")),
|
|
185
185
|
run: () => SessionPromptChoice.Deny
|
|
186
186
|
}
|
|
187
187
|
],
|
|
@@ -217,15 +217,15 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
217
217
|
items.push({ label: account.label, account });
|
|
218
218
|
}
|
|
219
219
|
});
|
|
220
|
-
items.push({ label: ( localize(
|
|
220
|
+
items.push({ label: ( localize(2257, "Sign in to another account")) });
|
|
221
221
|
quickPick.items = items;
|
|
222
222
|
quickPick.title = ( localize(
|
|
223
|
-
|
|
223
|
+
2258,
|
|
224
224
|
"The extension '{0}' wants to access a {1} account",
|
|
225
225
|
extensionName,
|
|
226
226
|
this._authenticationService.getProvider(providerId).label
|
|
227
227
|
));
|
|
228
|
-
quickPick.placeholder = ( localize(
|
|
228
|
+
quickPick.placeholder = ( localize(2259, "Select an account for '{0}' to use or Esc to cancel", extensionName));
|
|
229
229
|
return await ( (new Promise((resolve, reject) => {
|
|
230
230
|
disposables.add(quickPick.onDidAccept(async (_) => {
|
|
231
231
|
quickPick.dispose();
|
|
@@ -294,7 +294,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
294
294
|
group: '3_accessRequests',
|
|
295
295
|
command: {
|
|
296
296
|
id: `${providerId}${extensionId}Access`,
|
|
297
|
-
title: ( localize(
|
|
297
|
+
title: ( localize(2260, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
|
|
298
298
|
}
|
|
299
299
|
})));
|
|
300
300
|
const accessCommand = CommandsRegistry.registerCommand({
|
|
@@ -338,7 +338,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
338
338
|
group: '2_signInRequests',
|
|
339
339
|
command: {
|
|
340
340
|
id: commandId,
|
|
341
|
-
title: ( localize(
|
|
341
|
+
title: ( localize(2261, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
|
|
342
342
|
}
|
|
343
343
|
})));
|
|
344
344
|
const signInCommand = CommandsRegistry.registerCommand({
|