trial_error
This commit is contained in:
parent
da42d9e049
commit
ca2e3e5eab
1 changed files with 6 additions and 6 deletions
|
@ -117,8 +117,8 @@ void DlgUpdate::finishedUpdateCheck(bool needToUpdate, bool isCompatible, Releas
|
|||
QMessageBox::information(this, tr("Cockatrice Update"),
|
||||
tr("Cockatrice is up to date!") + "<br><br>"
|
||||
+ tr("You are already running the latest version available in the chosen release channel.") + "<br>"
|
||||
+ tr("Current version") + QString(": %1<br>").arg(settingsCache->getUpdateReleaseChannel()->getName().toUtf8())
|
||||
+ tr("Current release channel") + QString(": %1").arg(VERSION_STRING));
|
||||
+ tr("Current version") + QString(": %1<br>").arg(VERSION_STRING)
|
||||
+ tr("Current release channel") + QString(": %1").arg(settingsCache->getUpdateReleaseChannel()->getName().toUtf8()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -131,7 +131,7 @@ void DlgUpdate::finishedUpdateCheck(bool needToUpdate, bool isCompatible, Releas
|
|||
reply = QMessageBox::question(this, tr("Update Available"),
|
||||
tr("A new version of Cockatrice is available!") + "<br><br>"
|
||||
+ tr("New version") + QString(": %1<br>").arg(release->getName())
|
||||
+ tr("Publishing date") + QString(": %2 <a href=\"%3\">(").arg(publishDate, release->getDescriptionUrl()) + tr("Changelog") + ")</a><br><br>"
|
||||
+ tr("Publishing date") + QString(": %1 <a href=\"%2\">(").arg(publishDate, release->getDescriptionUrl()) + tr("Changelog") + ")</a><br><br>"
|
||||
+ tr("Do you want to update now?"),
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
|
||||
|
@ -140,10 +140,10 @@ void DlgUpdate::finishedUpdateCheck(bool needToUpdate, bool isCompatible, Releas
|
|||
} else {
|
||||
QMessageBox::information(this, tr("Cockatrice Update"),
|
||||
tr("A new version of Cockatrice is available!") + "<br><br>"
|
||||
+ tr("New version") + ": %1<br>"
|
||||
+ tr("Publishing date") + ": %2 <a href=\"%3\">(" + tr("Changelog") + ")</a><br><br>"
|
||||
+ tr("New version") + QString(": %1<br>").arg(release->getName())
|
||||
+ tr("Publishing date") + QString(": %1 <a href=\"%2\">(").arg(publishDate, release->getDescriptionUrl()) + tr("Changelog") + ")</a><br><br>"
|
||||
+ tr("Unfortunately there are no download packages available for your operating system. \nYou may have to build from source yourself.") + "<br><br>"
|
||||
+ tr("Please check the download page manually and visit the wiki for instructions on compiling.")).arg(release->getName(), publishDate, release->getDescriptionUrl());
|
||||
+ tr("Please check the download page manually and visit the wiki for instructions on compiling."));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue