[Pkg-owncloud-commits] [owncloud-client] 185/484: State application name in update notification

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 4737c169967b86e3009cbebcf3d9e1d0d589f150
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Wed Oct 28 20:42:53 2015 +0100

    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 64f6927..9badb44 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 <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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list