mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Make summary translation plural sensitive
This commit is contained in:
parent
1212e5b317
commit
bd8bf91fdb
1 changed files with 1 additions and 2 deletions
|
@ -373,8 +373,7 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> userSettings, QObject *parent)
|
||||||
}
|
}
|
||||||
QString body;
|
QString body;
|
||||||
for (const auto &[roomModel, nbNotifs] : missedEvents) {
|
for (const auto &[roomModel, nbNotifs] : missedEvents) {
|
||||||
body += tr("%1 unread messages in room %2\n")
|
body += tr("%n unread message(s) in room %1\n", nullptr, nbNotifs)
|
||||||
.arg(nbNotifs)
|
|
||||||
.arg(roomModel->roomName());
|
.arg(roomModel->roomName());
|
||||||
}
|
}
|
||||||
emit notificationsManager->systemPostNotificationCb(
|
emit notificationsManager->systemPostNotificationCb(
|
||||||
|
|
Loading…
Reference in a new issue