diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ChatPage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index 495aa3c3..8feabfd0 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -373,8 +373,7 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> userSettings, QObject *parent) } QString body; for (const auto &[roomModel, nbNotifs] : missedEvents) { - body += tr("%1 unread messages in room %2\n") - .arg(nbNotifs) + body += tr("%n unread message(s) in room %1\n", nullptr, nbNotifs) .arg(roomModel->roomName()); } emit notificationsManager->systemPostNotificationCb( |