Skip to content

Commit

Permalink
Make multiple notifications text translatable
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and mgallien committed Aug 12, 2024
1 parent 5baec6f commit b4d719e
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 @@ -155,7 +155,7 @@ void User::showDesktopNotification(const Activity &activity)

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

if (!canShowNotification(notificationId)) {
Expand Down

0 comments on commit b4d719e

Please sign in to comment.