@codingame/monaco-vscode-authentication-service-override 20.0.1 → 20.1.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": "20.
|
|
3
|
+
"version": "20.1.1",
|
|
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-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "20.
|
|
19
|
-
"@codingame/monaco-vscode-api": "20.
|
|
20
|
-
"@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common": "20.
|
|
21
|
-
"@codingame/monaco-vscode-f22e7e55-aee8-5b52-a6bc-950efd9f5890-common": "20.
|
|
18
|
+
"@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "20.1.1",
|
|
19
|
+
"@codingame/monaco-vscode-api": "20.1.1",
|
|
20
|
+
"@codingame/monaco-vscode-d941ac7b-412f-57e3-b1bf-f6b0eb253b21-common": "20.1.1",
|
|
21
|
+
"@codingame/monaco-vscode-f22e7e55-aee8-5b52-a6bc-950efd9f5890-common": "20.1.1"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"module": "index.js",
|
package/vscode/src/vs/workbench/services/authentication/browser/authenticationExtensionsService.js
CHANGED
|
@@ -112,7 +112,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
112
112
|
numberOfRequests += ( Object.keys(accessRequest)).length;
|
|
113
113
|
});
|
|
114
114
|
if (numberOfRequests > 0) {
|
|
115
|
-
const badge = ( new NumberBadge(numberOfRequests, () => ( localize(
|
|
115
|
+
const badge = ( new NumberBadge(numberOfRequests, () => ( localize(12848, "Sign in requested"))));
|
|
116
116
|
this._accountBadgeDisposable.value = this.activityService.showAccountsActivity({ badge });
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -179,7 +179,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
179
179
|
const { result } = await this.dialogService.prompt({
|
|
180
180
|
type: Severity.Info,
|
|
181
181
|
message: ( localize(
|
|
182
|
-
|
|
182
|
+
12849,
|
|
183
183
|
"The extension '{0}' wants to access the {1} account '{2}'.",
|
|
184
184
|
extensionName,
|
|
185
185
|
provider.label,
|
|
@@ -187,11 +187,11 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
187
187
|
)),
|
|
188
188
|
buttons: [
|
|
189
189
|
{
|
|
190
|
-
label: ( localize(
|
|
190
|
+
label: ( localize(12850, "&&Allow")),
|
|
191
191
|
run: () => SessionPromptChoice.Allow
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
|
-
label: ( localize(
|
|
194
|
+
label: ( localize(12851, "&&Deny")),
|
|
195
195
|
run: () => SessionPromptChoice.Deny
|
|
196
196
|
}
|
|
197
197
|
],
|
|
@@ -227,16 +227,16 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
227
227
|
items.push({ label: account.label, account });
|
|
228
228
|
}
|
|
229
229
|
});
|
|
230
|
-
items.push({ label: ( localize(
|
|
230
|
+
items.push({ label: ( localize(12852, "Sign in to another account")) });
|
|
231
231
|
quickPick.items = items;
|
|
232
232
|
quickPick.title = ( localize(
|
|
233
|
-
|
|
233
|
+
12853,
|
|
234
234
|
"The extension '{0}' wants to access a {1} account",
|
|
235
235
|
extensionName,
|
|
236
236
|
this._authenticationService.getProvider(providerId).label
|
|
237
237
|
));
|
|
238
238
|
quickPick.placeholder = ( localize(
|
|
239
|
-
|
|
239
|
+
12854,
|
|
240
240
|
"Select an account for '{0}' to use or Esc to cancel",
|
|
241
241
|
extensionName
|
|
242
242
|
));
|
|
@@ -308,7 +308,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
308
308
|
group: '3_accessRequests',
|
|
309
309
|
command: {
|
|
310
310
|
id: `${providerId}${extensionId}Access`,
|
|
311
|
-
title: ( localize(
|
|
311
|
+
title: ( localize(12855, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
|
|
312
312
|
}
|
|
313
313
|
}));
|
|
314
314
|
const accessCommand = CommandsRegistry.registerCommand({
|
|
@@ -352,7 +352,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
352
352
|
group: '2_signInRequests',
|
|
353
353
|
command: {
|
|
354
354
|
id: commandId,
|
|
355
|
-
title: ( localize(
|
|
355
|
+
title: ( localize(12856, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
|
|
356
356
|
}
|
|
357
357
|
}));
|
|
358
358
|
const signInCommand = CommandsRegistry.registerCommand({
|