summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-23 19:25:41 +0200
committerMontel Laurent <[email protected]>2017-06-23 19:25:41 +0200
commitf32ed51812bbc3cbc4ae435fd1f9a80218901c41 (patch)
treecb04184201bda78295c892dcd534e9955f038287
parentea1b6b94353a387c7a5f610f954655a4a1d409a4 (diff)
Allow to translate resource
-rw-r--r--resources/facebook/CMakeLists.txt1
-rwxr-xr-xresources/facebook/Messages.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/resources/facebook/CMakeLists.txt b/resources/facebook/CMakeLists.txt
index f3185c7..563b5b8 100644
--- a/resources/facebook/CMakeLists.txt
+++ b/resources/facebook/CMakeLists.txt
@@ -1,3 +1,4 @@
+add_definitions(-DTRANSLATION_DOMAIN=\"akonadi_facebook_resource\")
include_directories(BEFORE ${CMAKE_CURRENT_BINARY_DIR})
set(fbresource_SRCS
diff --git a/resources/facebook/Messages.sh b/resources/facebook/Messages.sh
new file mode 100755
index 0000000..c784f80
--- /dev/null
+++ b/resources/facebook/Messages.sh
@@ -0,0 +1,3 @@
+#! /usr/bin/env bash
+$EXTRACTRC *.ui *.kcfg >> rc.cpp
+$XGETTEXT *.cpp -o $podir/akonadi_facebook_resource.pot