summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-24 15:00:14 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-24 15:00:30 +0100
commit285d3fe952b9765b29bbd73baa574eb5311b47e1 (patch)
tree1d84ec4cdae15a588e08a4c7fd013a4e2d086a28
parentf7df86b019c95ab8d8a8db9620093b059258b6d8 (diff)
downloadgwenview-285d3fe952b9765b29bbd73baa574eb5311b47e1.tar.gz
gwenview-285d3fe952b9765b29bbd73baa574eb5311b47e1.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 79687b566d6b868a9b9f63bc2d2009d54fd47462)
-rw-r--r--CMakeL10n.txt28
-rw-r--r--src/CMakeL10n.txt3
2 files changed, 31 insertions, 0 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..0c3b49c
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (C) 2018 Slávek Banko
+# slavek.banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+cmake_minimum_required( VERSION 2.8 )
+
+
+##### include our cmake modules #################
+
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
+include( TDEL10n )
+
+
+##### set directory for POT files ###############
+
+set( POT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../gwenview-i18n/template/messages" )
+
+
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
new file mode 100644
index 0000000..1dd94c4
--- /dev/null
+++ b/src/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "gwenview" )