diff --git a/src/plugins/copilot/authwidget.cpp b/src/plugins/copilot/authwidget.cpp index f29e3d3a150..5047657b4ca 100644 --- a/src/plugins/copilot/authwidget.cpp +++ b/src/plugins/copilot/authwidget.cpp @@ -24,7 +24,7 @@ AuthWidget::AuthWidget(QWidget *parent) { using namespace Layouting; - m_button = new QPushButton(Tr::tr("Sign in")); + m_button = new QPushButton(Tr::tr("Sign In")); m_button->setEnabled(false); m_progressIndicator = new Utils::ProgressIndicator(Utils::ProgressIndicatorSize::Small); m_progressIndicator->setVisible(false); @@ -91,13 +91,13 @@ void AuthWidget::updateClient(const Utils::FilePath &nodeJs, const Utils::FilePa { LanguageClientManager::shutdownClient(m_client); m_client = nullptr; - setState(Tr::tr("Sign in"), false); + setState(Tr::tr("Sign In"), false); m_button->setEnabled(false); if (!nodeJs.isExecutableFile() || !agent.exists()) { return; } - setState(Tr::tr("Sign in"), true); + setState(Tr::tr("Sign In"), true); m_client = new CopilotClient(nodeJs, agent); connect(m_client, &Client::initialized, this, &AuthWidget::checkStatus); @@ -117,7 +117,7 @@ void AuthWidget::signIn() QDesktopServices::openUrl(QUrl(response.result()->verificationUri())); - m_statusLabel->setText(Tr::tr("A browser window will open, enter the code %1 when " + m_statusLabel->setText(Tr::tr("A browser window will open. Enter the code %1 when " "asked.\nThe code has been copied to your clipboard.") .arg(response.result()->userCode())); m_statusLabel->setVisible(true); @@ -129,7 +129,7 @@ void AuthWidget::signIn() if (response.error()) { QMessageBox::critical(this, - Tr::tr("Login failed"), + Tr::tr("Login Failed"), Tr::tr( "The login request failed: ") + response.error()->message());