mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +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;
|
||||
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 a new issue