@codingame/monaco-vscode-authentication-service-override 9.0.0 → 9.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": "9.0.
|
|
3
|
+
"version": "9.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@9.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@9.0.2"
|
|
30
30
|
}
|
|
31
31
|
}
|
package/vscode/src/vs/workbench/services/authentication/browser/authenticationExtensionsService.js
CHANGED
|
@@ -98,7 +98,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
98
98
|
numberOfRequests += ( (Object.keys(accessRequest))).length;
|
|
99
99
|
});
|
|
100
100
|
if (numberOfRequests > 0) {
|
|
101
|
-
const badge = ( (new NumberBadge(numberOfRequests, () => ( localize(
|
|
101
|
+
const badge = ( (new NumberBadge(numberOfRequests, () => ( localize(2247, "Sign in requested")))));
|
|
102
102
|
this._accountBadgeDisposable.value = this.activityService.showAccountsActivity({ badge });
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -134,7 +134,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
134
134
|
const { result } = await this.dialogService.prompt({
|
|
135
135
|
type: Severity$1.Info,
|
|
136
136
|
message: ( localize(
|
|
137
|
-
|
|
137
|
+
2248,
|
|
138
138
|
"The extension '{0}' wants to access the {1} account '{2}'.",
|
|
139
139
|
extensionName,
|
|
140
140
|
provider.label,
|
|
@@ -142,11 +142,11 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
142
142
|
)),
|
|
143
143
|
buttons: [
|
|
144
144
|
{
|
|
145
|
-
label: ( localize(
|
|
145
|
+
label: ( localize(2249, "&&Allow")),
|
|
146
146
|
run: () => SessionPromptChoice.Allow
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
|
-
label: ( localize(
|
|
149
|
+
label: ( localize(2250, "&&Deny")),
|
|
150
150
|
run: () => SessionPromptChoice.Deny
|
|
151
151
|
}
|
|
152
152
|
],
|
|
@@ -180,15 +180,15 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
180
180
|
items.push({ label: account.label, account });
|
|
181
181
|
}
|
|
182
182
|
});
|
|
183
|
-
items.push({ label: ( localize(
|
|
183
|
+
items.push({ label: ( localize(2251, "Sign in to another account")) });
|
|
184
184
|
quickPick.items = items;
|
|
185
185
|
quickPick.title = ( localize(
|
|
186
|
-
|
|
186
|
+
2252,
|
|
187
187
|
"The extension '{0}' wants to access a {1} account",
|
|
188
188
|
extensionName,
|
|
189
189
|
this._authenticationService.getProvider(providerId).label
|
|
190
190
|
));
|
|
191
|
-
quickPick.placeholder = ( localize(
|
|
191
|
+
quickPick.placeholder = ( localize(2253, "Select an account for '{0}' to use or Esc to cancel", extensionName));
|
|
192
192
|
return await ( (new Promise((resolve, reject) => {
|
|
193
193
|
disposables.add(quickPick.onDidAccept(async (_) => {
|
|
194
194
|
quickPick.dispose();
|
|
@@ -257,7 +257,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
257
257
|
group: '3_accessRequests',
|
|
258
258
|
command: {
|
|
259
259
|
id: `${providerId}${extensionId}Access`,
|
|
260
|
-
title: ( localize(
|
|
260
|
+
title: ( localize(2254, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
|
|
261
261
|
}
|
|
262
262
|
})));
|
|
263
263
|
const accessCommand = CommandsRegistry.registerCommand({
|
|
@@ -301,7 +301,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
301
301
|
group: '2_signInRequests',
|
|
302
302
|
command: {
|
|
303
303
|
id: commandId,
|
|
304
|
-
title: ( localize(
|
|
304
|
+
title: ( localize(2255, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
|
|
305
305
|
}
|
|
306
306
|
})));
|
|
307
307
|
const signInCommand = CommandsRegistry.registerCommand({
|