mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Notification: Fix plural handling for tray message
This commit is contained in:
parent
9a2f1456c5
commit
a4dcc2784a
1 changed files with 1 additions and 2 deletions
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue