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 memurats committed Aug 13, 2024
1 parent 6947f0b commit f372ba0
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 @@ -154,7 +154,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 f372ba0

Please sign in to comment.