update wordings (#2246)
This commit is contained in:
parent
a1840ea9d3
commit
3498b16e01
1 changed files with 7 additions and 6 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue