Skip to content

Commit

Permalink
Merge pull request nextcloud#6995 from nextcloud/backport/6991/stable…
Browse files Browse the repository at this point in the history
…-3.13

[stable-3.13] Make multiple notifications text translatable
  • Loading branch information
mgallien authored Aug 12, 2024
2 parents 66c355a + 4870214 commit a543fef
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 a543fef

Please sign in to comment.