summaryrefslogtreecommitdiffstats
path: root/CMakeL10n.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-23 19:43:22 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-23 19:49:45 +0100
commitfdc524cb6d7983fccd95088d05187836233a6f75 (patch)
tree3e339d936543532aa427f1b358277599f4436029 /CMakeL10n.txt
parent0276522f7d9344e827315172f4e6ad5932ea8184 (diff)
downloaddesktop-effects-tde-fdc524cb6d7983fccd95088d05187836233a6f75.tar.gz
desktop-effects-tde-fdc524cb6d7983fccd95088d05187836233a6f75.zip
Add CMakeL10n rules.
Update translation template. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e2b7430149235776330be1c14b092126982bc11a)
Diffstat (limited to 'CMakeL10n.txt')
-rw-r--r--CMakeL10n.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..5b83c4c
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (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 )
+
+
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "desktop-effects-tde"
+ SOURCES "*.py" "*.ui"
+ KEYWORDS
+ _ __tr __tr:1,2
+ translate translate:1,2
+)