@codingame/monaco-vscode-authentication-service-override 22.1.5 → 22.1.7
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": "22.1.
|
|
3
|
+
"version": "22.1.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - authentication service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-4bf376c2-03c7-58cb-8303-c67aeefa3d3d-common": "22.1.
|
|
19
|
-
"@codingame/monaco-vscode-api": "22.1.
|
|
20
|
-
"@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common": "22.1.
|
|
21
|
-
"@codingame/monaco-vscode-f22e7e55-aee8-5b52-a6bc-950efd9f5890-common": "22.1.
|
|
18
|
+
"@codingame/monaco-vscode-4bf376c2-03c7-58cb-8303-c67aeefa3d3d-common": "22.1.7",
|
|
19
|
+
"@codingame/monaco-vscode-api": "22.1.7",
|
|
20
|
+
"@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common": "22.1.7",
|
|
21
|
+
"@codingame/monaco-vscode-f22e7e55-aee8-5b52-a6bc-950efd9f5890-common": "22.1.7"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"module": "index.js",
|
package/vscode/src/vs/workbench/services/authentication/browser/authenticationExtensionsService.js
CHANGED
|
@@ -113,7 +113,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
113
113
|
numberOfRequests += ( Object.keys(accessRequest)).length;
|
|
114
114
|
});
|
|
115
115
|
if (numberOfRequests > 0) {
|
|
116
|
-
const badge = ( new NumberBadge(numberOfRequests, () => ( localize(
|
|
116
|
+
const badge = ( new NumberBadge(numberOfRequests, () => ( localize(13182, "Sign in requested"))));
|
|
117
117
|
this._accountBadgeDisposable.value = this.activityService.showAccountsActivity({ badge });
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -180,7 +180,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
180
180
|
const { result } = await this.dialogService.prompt({
|
|
181
181
|
type: Severity.Info,
|
|
182
182
|
message: ( localize(
|
|
183
|
-
|
|
183
|
+
13183,
|
|
184
184
|
"The extension '{0}' wants to access the {1} account '{2}'.",
|
|
185
185
|
extensionName,
|
|
186
186
|
provider.label,
|
|
@@ -188,11 +188,11 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
188
188
|
)),
|
|
189
189
|
buttons: [
|
|
190
190
|
{
|
|
191
|
-
label: ( localize(
|
|
191
|
+
label: ( localize(13184, "&&Allow")),
|
|
192
192
|
run: () => SessionPromptChoice.Allow
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
label: ( localize(
|
|
195
|
+
label: ( localize(13185, "&&Deny")),
|
|
196
196
|
run: () => SessionPromptChoice.Deny
|
|
197
197
|
}
|
|
198
198
|
],
|
|
@@ -228,16 +228,16 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
228
228
|
items.push({ label: account.label, account });
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
|
-
items.push({ label: ( localize(
|
|
231
|
+
items.push({ label: ( localize(13186, "Sign in to another account")) });
|
|
232
232
|
quickPick.items = items;
|
|
233
233
|
quickPick.title = ( localize(
|
|
234
|
-
|
|
234
|
+
13187,
|
|
235
235
|
"The extension '{0}' wants to access a {1} account",
|
|
236
236
|
extensionName,
|
|
237
237
|
this._authenticationService.getProvider(providerId).label
|
|
238
238
|
));
|
|
239
239
|
quickPick.placeholder = ( localize(
|
|
240
|
-
|
|
240
|
+
13188,
|
|
241
241
|
"Select an account for '{0}' to use or Esc to cancel",
|
|
242
242
|
extensionName
|
|
243
243
|
));
|
|
@@ -309,7 +309,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
309
309
|
group: '3_accessRequests',
|
|
310
310
|
command: {
|
|
311
311
|
id: `${providerId}${extensionId}Access`,
|
|
312
|
-
title: ( localize(
|
|
312
|
+
title: ( localize(13189, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
|
|
313
313
|
}
|
|
314
314
|
}));
|
|
315
315
|
const accessCommand = CommandsRegistry.registerCommand({
|
|
@@ -355,7 +355,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
355
355
|
group: '2_signInRequests',
|
|
356
356
|
command: {
|
|
357
357
|
id: commandId,
|
|
358
|
-
title: ( localize(
|
|
358
|
+
title: ( localize(13190, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
|
|
359
359
|
}
|
|
360
360
|
}));
|
|
361
361
|
const signInCommand = CommandsRegistry.registerCommand({
|