Merge pull request #7917 from nextcloud/backport/7916/stable-3.16

[stable-3.16] chore(i18n): Use correct plural syntax
This commit is contained in:
Claudio Cambra 2025-02-25 15:58:07 +08:00 committed by GitHub
commit 9dcd7d0232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,7 +174,7 @@ void User::showDesktopNotification(const Activity &activity)
void User::showDesktopNotification(const ActivityList &activityList)
{
const auto subject = tr("%n notifications", nullptr, activityList.count());
const auto subject = tr("%n notification(s)", nullptr, activityList.count());
const auto notificationId = -static_cast<int>(qHash(subject));
if (!canShowNotification(notificationId)) {