summaryrefslogtreecommitdiffstats
path: root/kiosktool
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-13 02:36:49 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-13 02:36:49 +0100
commitd754910274408fa59eceedd1bba3339df800de1c (patch)
treede832a671806fdc5c7e9d142b8cab64bf175d407 /kiosktool
parent209a85e33d013c6b24549f528a51b543816ebe34 (diff)
downloadkiosktool-d754910274408fa59eceedd1bba3339df800de1c.tar.gz
kiosktool-d754910274408fa59eceedd1bba3339df800de1c.zip
Add CMakeL10n rules.
Create translation template. Modify CMake rules for translations to make them independent of languages. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kiosktool')
-rw-r--r--kiosktool/CMakeL10n.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/kiosktool/CMakeL10n.txt b/kiosktool/CMakeL10n.txt
new file mode 100644
index 0000000..4205120
--- /dev/null
+++ b/kiosktool/CMakeL10n.txt
@@ -0,0 +1,17 @@
+##### prepare kiosk_data.xml as C source ########
+
+tde_l10n_prepare_xml(
+ SOURCE kiosk_data.xml
+ TAGS caption description
+ C_FORMAT
+ PRESERVE ""
+)
+
+
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "kiosktool"
+ SOURCES "." "kiosk_data.xml.tde_l10n"
+ EXCLUDES "^kcms/"
+)