From fdc524cb6d7983fccd95088d05187836233a6f75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Sun, 23 Dec 2018 19:43:22 +0100
Subject: Add CMakeL10n rules. Update translation template.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e2b7430149235776330be1c14b092126982bc11a)
---
 CMakeL10n.txt | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 CMakeL10n.txt

(limited to 'CMakeL10n.txt')

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
+)
-- 
cgit v1.2.1