Home
Phabricator
Search
Log In
Files
F8271628
source-fix.patch
victorr (Victor Ryzhykh)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Author
victorr
Created
Apr 29 2020, 7:23 PM
Size
983 B
Mime Type
text/x-diff
Engine
blob
Format
Raw Data
Handle
5305809
Attached To
D29270: Fix broken localization of kcmkwinrules
source-fix.patch
View Options
diff -urN source/kcmkwin/kwinrules/CMakeLists.txt source-patched/kcmkwin/kwinrules/CMakeLists.txt
--- source/kcmkwin/kwinrules/CMakeLists.txt 2020-04-29 20:16:22.000000000 +0300
+++ source-patched/kcmkwin/kwinrules/CMakeLists.txt 2020-04-29 22:13:49.906794584 +0300
@@ -1,5 +1,5 @@
# KI18N Translation Domain for this library
-add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwinrules\")
+add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwinrules\")
add_definitions(-DKCMRULES)
include_directories(../../)
diff -urN source/kcmkwin/kwinrules/Messages.sh source-patched/kcmkwin/kwinrules/Messages.sh
--- source/kcmkwin/kwinrules/Messages.sh 2020-04-29 20:16:22.000000000 +0300
+++ source-patched/kcmkwin/kwinrules/Messages.sh 2020-04-29 21:48:35.723440510 +0300
@@ -1,4 +1,4 @@
#! /usr/bin/env bash
$EXTRACTRC *.ui >> rc.cpp || exit 11
-$XGETTEXT *.cpp *.h -o $podir/kcmkwinrules.pot
+$XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/kcm_kwinrules.pot
rm -f rc.cpp
Log In to Comment