diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-05-29 20:31:57 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-05-29 20:31:57 +0200 |
commit | bd8bf91fdbc8c6f4306c011384aec648ecfe4b5b (patch) | |
tree | b2c26451dcec487f21661bf5f367bdf0c86a6f01 /src/ChatPage.cpp | |
parent | Copy arguments for notification (diff) | |
download | nheko-bd8bf91fdbc8c6f4306c011384aec648ecfe4b5b.tar.xz |
Make summary translation plural sensitive
Diffstat (limited to '')
-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( |