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:14 +0100
commit79687b566d6b868a9b9f63bc2d2009d54fd47462 (patch)
tree64f23c272a5b74aa52126202738fcc1605f6aa7b
parentdc228facd46a509a399e35d8b43a4fad52e52acc (diff)
downloadgwenview-79687b566d6b868a9b9f63bc2d2009d54fd47462.tar.gz
gwenview-79687b566d6b868a9b9f63bc2d2009d54fd47462.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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" )