[frameworks/knotifications] /: Remove message extraction in KNotifications

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 88cd2e2bb4093a77389e6ba92db03edbf510137c by Volker Krause.
Committed on 07/07/2026 at 16:48.
Pushed by vkrause into branch 'master'.

Remove message extraction in KNotifications

There's actually not a single translated message in here, the entire
translation machinery is just running idle on a bunch of obsolete
messages and we are installing a set of empty catalogs as a result.

M  +0    -3    CMakeLists.txt
M  +0    -2    src/CMakeLists.txt
D  +0    -6    src/Messages.sh

https://invent.kde.org/frameworks/knotifications/-/commit/88cd2e2bb4093a77389e6ba92db03edbf510137c

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cc7ee5d5..80fef5cb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,6 @@ include(GenerateExportHeader)
 include(ECMSetupVersion)
 include(ECMGenerateHeaders)
 include(ECMQtDeclareLoggingCategory)
-include(ECMPoQmTools)
 include(ECMGenerateExportHeader)
 include(ECMDeprecationSettings)
 include(ECMQmlModule)
@@ -103,8 +102,6 @@ add_feature_info(PYTHON_BINDINGS ${BUILD_PYTHON_BINDINGS} "Python bindings")
 
 remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
 
-ecm_install_po_files_as_qm(poqm)
-
 ecm_set_disabled_deprecation_versions(
     QT 6.11
     KF 6.27
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2cbe3a8c..5000809f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -9,8 +9,6 @@ set_target_properties(KF6Notifications PROPERTIES
     EXPORT_NAME Notifications
 )
 
-ecm_create_qm_loader(KF6Notifications knotifications6_qt)
-
 target_sources(KF6Notifications PRIVATE
   knotification.cpp
   knotificationreplyaction.cpp
diff --git a/src/Messages.sh b/src/Messages.sh
deleted file mode 100755
index a2fe633b..00000000
--- a/src/Messages.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-# Extract strings from all source files.
-# EXTRACT_TR_STRINGS extracts strings with lupdate and convert them to .pot with
-# lconvert.
-$EXTRACT_TR_STRINGS `find . -name \*.cpp -o -name \*.h -o -name \*.ui -o -name \*.qml` -o $podir/knotifications6_qt.pot
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.