mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:04:14 +08:00
fix: update sign-in error message to reflect correct provider name (#238504)
This commit is contained in:
parent
42e96916ac
commit
87c13a70bc
@ -879,7 +879,7 @@ class ChatSetupController extends Disposable {
|
||||
if (!session && !this.willShutdown) {
|
||||
const { confirmed } = await this.dialogService.confirm({
|
||||
type: Severity.Error,
|
||||
message: localize('unknownSignInError', "Failed to sign in to {0}. Would you like to try again?", defaultChat.providerName),
|
||||
message: localize('unknownSignInError', "Failed to sign in to {0}. Would you like to try again?", ChatSetupRequests.providerId(this.configurationService) === defaultChat.enterpriseProviderId ? defaultChat.enterpriseProviderName : defaultChat.providerName),
|
||||
detail: localize('unknownSignInErrorDetail', "You must be signed in to use Copilot."),
|
||||
primaryButton: localize('retry', "Retry")
|
||||
});
|
||||
@ -1090,7 +1090,7 @@ class ChatSetupWelcomeContent extends Disposable {
|
||||
|
||||
switch (this.controller.step) {
|
||||
case ChatSetupStep.SigningIn:
|
||||
buttonLabel = localize('setupChatSignIn', "$(loading~spin) Signing in to {0}...", defaultChat.providerName);
|
||||
buttonLabel = localize('setupChatSignIn', "$(loading~spin) Signing in to {0}...", ChatSetupRequests.providerId(this.configurationService) === defaultChat.enterpriseProviderId ? defaultChat.enterpriseProviderName : defaultChat.providerName);
|
||||
break;
|
||||
case ChatSetupStep.Installing:
|
||||
buttonLabel = localize('setupChatInstalling', "$(loading~spin) Getting Copilot Ready...");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user