Manager: Fix the status bar update message showing even on latest builds
Also fix translations and show an error message if the check fails
This commit is contained in:
@@ -84,7 +84,7 @@ UpdateCheckDialog::upToDate()
|
||||
ui->progressBar->setMaximum(100);
|
||||
ui->progressBar->setValue(100);
|
||||
ui->statusLabel->setVisible(true);
|
||||
const auto statusText = tr("You are running the latest %1 version of 86Box: %2").arg(updateChannel == UpdateCheck::UpdateChannel::Stable ? "stable" : "beta", currentVersion);
|
||||
const auto statusText = tr("You are running the latest %1 version of 86Box: %2").arg(updateChannel == UpdateCheck::UpdateChannel::Stable ? tr("stable") : tr("beta"), currentVersion);
|
||||
ui->statusLabel->setText(statusText);
|
||||
ui->buttonBox->setStandardButtons(QDialogButtonBox::Ok);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user