@codingame/monaco-vscode-authentication-service-override 11.0.1 → 11.0.2
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": "11.0.
|
|
3
|
+
"version": "11.0.2",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@11.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@11.0.2"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/vscode/src/vs/workbench/services/authentication/browser/authenticationExtensionsService.js
CHANGED
|
@@ -109,7 +109,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
109
109
|
numberOfRequests += ( (Object.keys(accessRequest))).length;
|
|
110
110
|
});
|
|
111
111
|
if (numberOfRequests > 0) {
|
|
112
|
-
const badge = ( (new NumberBadge(numberOfRequests, () => ( localize(
|
|
112
|
+
const badge = ( (new NumberBadge(numberOfRequests, () => ( localize(2250, "Sign in requested")))));
|
|
113
113
|
this._accountBadgeDisposable.value = this.activityService.showAccountsActivity({ badge });
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -176,7 +176,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
176
176
|
const { result } = await this.dialogService.prompt({
|
|
177
177
|
type: Severity$1.Info,
|
|
178
178
|
message: ( localize(
|
|
179
|
-
|
|
179
|
+
2251,
|
|
180
180
|
"The extension '{0}' wants to access the {1} account '{2}'.",
|
|
181
181
|
extensionName,
|
|
182
182
|
provider.label,
|
|
@@ -184,11 +184,11 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
184
184
|
)),
|
|
185
185
|
buttons: [
|
|
186
186
|
{
|
|
187
|
-
label: ( localize(
|
|
187
|
+
label: ( localize(2252, "&&Allow")),
|
|
188
188
|
run: () => SessionPromptChoice.Allow
|
|
189
189
|
},
|
|
190
190
|
{
|
|
191
|
-
label: ( localize(
|
|
191
|
+
label: ( localize(2253, "&&Deny")),
|
|
192
192
|
run: () => SessionPromptChoice.Deny
|
|
193
193
|
}
|
|
194
194
|
],
|
|
@@ -224,15 +224,15 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
224
224
|
items.push({ label: account.label, account });
|
|
225
225
|
}
|
|
226
226
|
});
|
|
227
|
-
items.push({ label: ( localize(
|
|
227
|
+
items.push({ label: ( localize(2254, "Sign in to another account")) });
|
|
228
228
|
quickPick.items = items;
|
|
229
229
|
quickPick.title = ( localize(
|
|
230
|
-
|
|
230
|
+
2255,
|
|
231
231
|
"The extension '{0}' wants to access a {1} account",
|
|
232
232
|
extensionName,
|
|
233
233
|
this._authenticationService.getProvider(providerId).label
|
|
234
234
|
));
|
|
235
|
-
quickPick.placeholder = ( localize(
|
|
235
|
+
quickPick.placeholder = ( localize(2256, "Select an account for '{0}' to use or Esc to cancel", extensionName));
|
|
236
236
|
return await ( (new Promise((resolve, reject) => {
|
|
237
237
|
disposables.add(quickPick.onDidAccept(async (_) => {
|
|
238
238
|
quickPick.dispose();
|
|
@@ -301,7 +301,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
301
301
|
group: '3_accessRequests',
|
|
302
302
|
command: {
|
|
303
303
|
id: `${providerId}${extensionId}Access`,
|
|
304
|
-
title: ( localize(
|
|
304
|
+
title: ( localize(2257, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
|
|
305
305
|
}
|
|
306
306
|
})));
|
|
307
307
|
const accessCommand = CommandsRegistry.registerCommand({
|
|
@@ -345,7 +345,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
345
345
|
group: '2_signInRequests',
|
|
346
346
|
command: {
|
|
347
347
|
id: commandId,
|
|
348
|
-
title: ( localize(
|
|
348
|
+
title: ( localize(2258, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
|
|
349
349
|
}
|
|
350
350
|
})));
|
|
351
351
|
const signInCommand = CommandsRegistry.registerCommand({
|