Skip to content

Commit

Permalink
Added plural forms handling correction to notification message
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Ariño Muñoz <[email protected]>
  • Loading branch information
Pabarino committed Feb 20, 2025
1 parent b05a2bc commit 21d5614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/tray/usermodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void User::showDesktopNotification(const Activity &activity)

void User::showDesktopNotification(const ActivityList &activityList)
{
const auto subject = tr("%1 notifications").arg(activityList.count());
const auto subject = tr("%n notification(s)", "", activityList.count());
const auto notificationId = -static_cast<int>(qHash(subject));

if (!canShowNotification(notificationId)) {
Expand Down

0 comments on commit 21d5614

Please sign in to comment.