Notification: Fix plural handling for tray message

This commit is contained in:
Klaas Freitag 2016-03-14 16:21:04 +01:00
parent 9a2f1456c5
commit a4dcc2784a

View file

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