[frameworks/kcalendarcore] src: Fix tr() message context

Allen Winter <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 55d85c7e16bb246ceb8ea5b176a3e439b103de18 by Allen Winter, on behalf of Volker Krause.
Committed on 10/08/2026 at 15:19.
Pushed by winterz into branch 'master'.

Fix tr() message context

To make the translated error messages actually work.

M  +1    -1    src/exceptions.cpp

https://invent.kde.org/frameworks/kcalendarcore/-/commit/55d85c7e16bb246ceb8ea5b176a3e439b103de18

diff --git a/src/exceptions.cpp b/src/exceptions.cpp
index 4b62eb0ca..6963d1478 100644
--- a/src/exceptions.cpp
+++ b/src/exceptions.cpp
@@ -42,7 +42,7 @@ public:
 
     static QString tr(const char *s, const char *c = nullptr, int n = -1)
     {
-        return QCoreApplication::translate("KCalendarCore::Exception", s, c, n);
+        return QCoreApplication::translate("KCalendarCore::ExceptionPrivate", s, c, n);
     }
 };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.