Skip to content

Commit

Permalink
Merge pull request #6991 from nextcloud/bugfix/notif-tr
Browse files Browse the repository at this point in the history
Make multiple notifications text translatable
  • Loading branch information
mgallien authored Aug 12, 2024
2 parents 5baec6f + b4d719e commit f0e1ebb
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 f0e1ebb

Please sign in to comment.