State application name in update notification

Fixes #4020
This commit is contained in:
Daniel Molkentin 2015-10-28 20:42:53 +01:00
parent c97dfbf60c
commit 4737c16996

View file

@ -140,13 +140,13 @@ QString OCUpdater::statusString() const
case Downloading:
return tr("Downloading version %1. Please wait...").arg(updateVersion);
case DownloadComplete:
return tr("Version %1 available. Restart application to start the update.").arg(updateVersion);
return tr("%1 version %2 available. Restart application to start the update.").arg(Theme::instance()->appNameGUI(), updateVersion);
case DownloadFailed:
return tr("Could not download update. Please click <a href='%1'>here</a> to download the update manually.").arg(_updateInfo.web());
case DownloadTimedOut:
return tr("Could not check for new updates.");
case UpdateOnlyAvailableThroughSystem:
return tr("New version %1 available. Please use the system's update tool to install it.").arg(updateVersion);
return tr("New %1 version %2 available. Please use the system's update tool to install it.").arg(Theme::instance()->appNameGUI(), updateVersion);
case CheckingServer:
return tr("Checking update server...");
case Unknown: