From 3498b16e01093dc21e2b2aaaf10365d13bb5cb1c Mon Sep 17 00:00:00 2001 From: Zach H Date: Sun, 30 Oct 2016 03:54:43 -0400 Subject: [PATCH] update wordings (#2246) --- cockatrice/src/window_main.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cockatrice/src/window_main.cpp b/cockatrice/src/window_main.cpp index 7e434361..94b9174c 100644 --- a/cockatrice/src/window_main.cpp +++ b/cockatrice/src/window_main.cpp @@ -336,16 +336,17 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32 { switch (r) { case Response::RespClientUpdateRequired: { - QString formatedMissingFeatures; - formatedMissingFeatures = "Missing Features: "; + QString formattedMissingFeatures; + formattedMissingFeatures = "Missing Features: "; for (int i = 0; i < missingFeatures.size(); ++i) - formatedMissingFeatures.append(QString("\n %1").arg(QChar(0x2022)) + " " + missingFeatures.value(i) ); + formattedMissingFeatures.append(QString("\n %1").arg(QChar(0x2022)) + " " + missingFeatures.value(i) ); + formattedMissingFeatures.append("\nTo update your client, go to Help -> Update Cockatrice."); QMessageBox msgBox; msgBox.setIcon(QMessageBox::Critical); msgBox.setWindowTitle(tr("Failed Login")); - msgBox.setText(tr("Your client does not support features that the server requires, please update your client and try again.")); - msgBox.setDetailedText(formatedMissingFeatures); + msgBox.setText(tr("Your client seems to be missing features this server requires for connection.")); + msgBox.setDetailedText(formattedMissingFeatures); msgBox.exec(); break; } @@ -966,7 +967,7 @@ void MainWindow::refreshShortcuts() void MainWindow::notifyUserAboutUpdate() { - QMessageBox::information(this, tr("Information"), tr("Your client appears to be missing features that the server supports.\nThis usually means that your client version is out of date, please check to see if there is a new client available for download.")); + QMessageBox::information(this, tr("Information"), tr("This server supports additional features that your client doesn't have.\nThis is most likely not a problem, but this message might mean there is a new version of Cockatrice available or this server is running a custom or pre-release version.\n\nTo update your client, go to Help -> Update Cockatrice.")); } void MainWindow::actOpenCustomFolder()