summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-08 13:59:13 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-08 13:59:13 (GMT)
commit95c20b135ca5e0262b364ade83b204a57f63d070 (patch)
treefa3dc223b24986227e1b27cb2d2f7ee82ee1463b
parentc679a7b77c88cb5907d967536fd050f868ba1c18 (diff)
Allow to translate
-rw-r--r--kaddressbook/importexportplugins/CMakeLists.txt2
-rw-r--r--kaddressbook/importexportplugins/Messages.sh (renamed from kaddressbook/plugins/Messages.sh)2
2 files changed, 3 insertions, 1 deletions
diff --git a/kaddressbook/importexportplugins/CMakeLists.txt b/kaddressbook/importexportplugins/CMakeLists.txt
index 0400b8d..f146e9c 100644
--- a/kaddressbook/importexportplugins/CMakeLists.txt
+++ b/kaddressbook/importexportplugins/CMakeLists.txt
@@ -1,3 +1,5 @@
+add_definitions(-DTRANSLATION_DOMAIN=\"kaddressbook_importexportplugins\")
+
add_subdirectory(vcards)
add_subdirectory(csv)
add_subdirectory(gmx)
diff --git a/kaddressbook/plugins/Messages.sh b/kaddressbook/importexportplugins/Messages.sh
index 10f9c89..678f06e 100644
--- a/kaddressbook/plugins/Messages.sh
+++ b/kaddressbook/importexportplugins/Messages.sh
@@ -1,2 +1,2 @@
#! /bin/sh
-$XGETTEXT `find . -name '*.cpp' -o -name '*.h' | grep -v '/tests/' | grep -v '/autotests/'` -o $podir/kaddressbook_plugins.pot
+$XGETTEXT `find . -name '*.cpp' -o -name '*.h' | grep -v '/tests/' | grep -v '/autotests/'` -o $podir/kaddressbook_importexportplugins.pot