State application name in update notification
authorDaniel Molkentin <danimo@owncloud.com>
Wed, 28 Oct 2015 19:42:53 +0000 (20:42 +0100)
committerDaniel Molkentin <danimo@owncloud.com>
Wed, 28 Oct 2015 19:45:57 +0000 (20:45 +0100)
Fixes #4020

src/gui/updater/ocupdater.cpp

index 64f6927bbdc36f33a7d6aa56283c641eead1fb42..9badb4423ea12db0cf72d7f1bba03d86eed866a8 100644 (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: