From 5e1e58d1973342091993872d1502ac96da346c7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 30 Apr 2014 09:03:23 +0200 Subject: [PATCH] Enable i18n for kwincompositing Was missing Messages.sh, extracts from cpp and qml. REVIEW: 117892 --- kcmkwin/kwincompositing/CMakeLists.txt | 2 ++ kcmkwin/kwincompositing/Messages.sh | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 kcmkwin/kwincompositing/Messages.sh diff --git a/kcmkwin/kwincompositing/CMakeLists.txt b/kcmkwin/kwincompositing/CMakeLists.txt index ab75c60871..afc70f413e 100644 --- a/kcmkwin/kwincompositing/CMakeLists.txt +++ b/kcmkwin/kwincompositing/CMakeLists.txt @@ -1,4 +1,6 @@ ######################################################################### +# KI18N Translation Domain for this library +add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwincompositing\") add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS) add_definitions(-DQT_NO_URL_CAST_FROM_STRING) diff --git a/kcmkwin/kwincompositing/Messages.sh b/kcmkwin/kwincompositing/Messages.sh new file mode 100644 index 0000000000..1c9a5a8c94 --- /dev/null +++ b/kcmkwin/kwincompositing/Messages.sh @@ -0,0 +1,2 @@ +#! /usr/bin/env bash +$XGETTEXT *.h *.cpp qml/*.qml -o $podir/kcmkwincompositing.pot