Make summary translation plural sensitive

pull/1471/head
Nicolas Werner 2 years ago
parent 1212e5b317
commit bd8bf91fdb
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 3
      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(

Loading…
Cancel
Save