From 4737c169967b86e3009cbebcf3d9e1d0d589f150 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Wed, 28 Oct 2015 20:42:53 +0100 Subject: [PATCH] State application name in update notification Fixes #4020 --- src/gui/updater/ocupdater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/updater/ocupdater.cpp b/src/gui/updater/ocupdater.cpp index 64f6927bb..9badb4423 100644 --- a/src/gui/updater/ocupdater.cpp +++ b/src/gui/updater/ocupdater.cpp @@ -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 here 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: -- 2.30.2