From b4d719e914c14c71cb8d42a2b042f31e7bff72de Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Mon, 12 Aug 2024 15:53:53 +0800 Subject: [PATCH] Make multiple notifications text translatable Signed-off-by: Claudio Cambra --- src/gui/tray/usermodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/tray/usermodel.cpp b/src/gui/tray/usermodel.cpp index a817d2a7ce62e..7ecf98a61f26c 100644 --- a/src/gui/tray/usermodel.cpp +++ b/src/gui/tray/usermodel.cpp @@ -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(qHash(subject)); if (!canShowNotification(notificationId)) {