From 0cf7cca2ab6a26db35251706124b6a903a32d2b6 Mon Sep 17 00:00:00 2001 From: Victor Ruzhykh Date: Mon, 11 Feb 2019 20:12:41 +0200 Subject: [PATCH] Make the new Window Decoration KCM translatable Differential Revision: https://phabricator.kde.org/D18931 --- kcmkwin/kwindecoration/CMakeLists.txt | 2 +- kcmkwin/kwindecoration/Messages.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kcmkwin/kwindecoration/CMakeLists.txt b/kcmkwin/kwindecoration/CMakeLists.txt index e04ed3a877..a1e8b612dd 100644 --- a/kcmkwin/kwindecoration/CMakeLists.txt +++ b/kcmkwin/kwindecoration/CMakeLists.txt @@ -1,5 +1,5 @@ # KI18N Translation Domain for this library -add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwindecoration\") +add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwindecoration\") add_subdirectory(declarative-plugin) diff --git a/kcmkwin/kwindecoration/Messages.sh b/kcmkwin/kwindecoration/Messages.sh index 3f9d8a3d83..d1d5819863 100644 --- a/kcmkwin/kwindecoration/Messages.sh +++ b/kcmkwin/kwindecoration/Messages.sh @@ -1,4 +1,4 @@ #!bin/sh $EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp -$XGETTEXT `find . -name \*.qml -o -name \*.cpp -o -name \*.h` -o $podir/kcmkwindecoration.pot +$XGETTEXT `find . -name \*.qml -o -name \*.cpp -o -name \*.h` -o $podir/kcm_kwindecoration.pot rm -f rc.cpp