Make summary translation plural sensitive
This commit is contained in:
parent
1212e5b317
commit
bd8bf91fdb
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user