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