@codingame/monaco-vscode-authentication-service-override 8.0.2 → 8.0.3
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": "8.0.
|
|
3
|
+
"version": "8.0.3",
|
|
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@8.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@8.0.3"
|
|
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(2141, "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
|
+
2142,
|
|
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(2143, "&&Allow")),
|
|
146
146
|
run: () => SessionPromptChoice.Allow
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
|
-
label: ( localize(
|
|
149
|
+
label: ( localize(2144, "&&Deny")),
|
|
150
150
|
run: () => SessionPromptChoice.Deny
|
|
151
151
|
}
|
|
152
152
|
],
|
|
@@ -179,15 +179,15 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
179
179
|
items.push({ label: account.label, account });
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
|
-
items.push({ label: ( localize(
|
|
182
|
+
items.push({ label: ( localize(2145, "Sign in to another account")) });
|
|
183
183
|
quickPick.items = items;
|
|
184
184
|
quickPick.title = ( localize(
|
|
185
|
-
|
|
185
|
+
2146,
|
|
186
186
|
"The extension '{0}' wants to access a {1} account",
|
|
187
187
|
extensionName,
|
|
188
188
|
this._authenticationService.getProvider(providerId).label
|
|
189
189
|
));
|
|
190
|
-
quickPick.placeholder = ( localize(
|
|
190
|
+
quickPick.placeholder = ( localize(2147, "Select an account for '{0}' to use or Esc to cancel", extensionName));
|
|
191
191
|
return await ( (new Promise((resolve, reject) => {
|
|
192
192
|
quickPick.onDidAccept(async (_) => {
|
|
193
193
|
quickPick.dispose();
|
|
@@ -256,7 +256,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
256
256
|
group: '3_accessRequests',
|
|
257
257
|
command: {
|
|
258
258
|
id: `${providerId}${extensionId}Access`,
|
|
259
|
-
title: ( localize(
|
|
259
|
+
title: ( localize(2148, "Grant access to {0} for {1}... (1)", provider.label, extensionName))
|
|
260
260
|
}
|
|
261
261
|
})));
|
|
262
262
|
const accessCommand = CommandsRegistry.registerCommand({
|
|
@@ -300,7 +300,7 @@ let AuthenticationExtensionsService = class AuthenticationExtensionsService exte
|
|
|
300
300
|
group: '2_signInRequests',
|
|
301
301
|
command: {
|
|
302
302
|
id: commandId,
|
|
303
|
-
title: ( localize(
|
|
303
|
+
title: ( localize(2149, "Sign in with {0} to use {1} (1)", provider.label, extensionName))
|
|
304
304
|
}
|
|
305
305
|
})));
|
|
306
306
|
const signInCommand = CommandsRegistry.registerCommand({
|