[Pkg-owncloud-commits] [owncloud-client] 148/470: Notification: Fix plural handling for tray message

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:24:56 UTC 2016


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 a4dcc2784acffa398b03352fb3f4173ff55f0dd2
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Mon Mar 14 16:21:04 2016 +0100

    Notification: Fix plural handling for tray message
---
 src/gui/activitywidget.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp
index 463d2fe..2d17453 100644
--- a/src/gui/activitywidget.cpp
+++ b/src/gui/activitywidget.cpp
@@ -277,8 +277,7 @@ void ActivityWidget::slotBuildNotificationDisplay(const ActivityList& list)
         _guiLogTimer.restart();
 
         // Assemble a tray notification
-        QString msg = tr("You received %1 new notification(s) from %2.").
-                arg(accNotified[accNotified.keys().at(0)]).
+        QString msg = tr("You received %n new notification(s) from %2.", "", accNotified[accNotified.keys().at(0)]).
                 arg(accNotified.keys().at(0));
 
         if( newGuiLogCount >= 2 ) {

-- 
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