summaryrefslogtreecommitdiffstats
path: root/kalzium/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-27 12:51:39 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-27 19:20:18 +0100
commit3aac1fb851abb5452f06a01194806ec41b0dacd8 (patch)
tree09d7b09ec160ff1fc30b121d22a7e468ea1fb0b9 /kalzium/src
parent3946c8ef277ca9a214cb9edbcc7cdfc710a5ca3a (diff)
downloadtdeedu-3aac1fb851abb5452f06a01194806ec41b0dacd8.tar.gz
tdeedu-3aac1fb851abb5452f06a01194806ec41b0dacd8.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit b97668ea3912b7562afd4e4af132a88e8fd5ab16)
Diffstat (limited to 'kalzium/src')
-rw-r--r--kalzium/src/CMakeL10n.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/kalzium/src/CMakeL10n.txt b/kalzium/src/CMakeL10n.txt
new file mode 100644
index 00000000..d15678c5
--- /dev/null
+++ b/kalzium/src/CMakeL10n.txt
@@ -0,0 +1,30 @@
+##### prepare xml files #########################
+
+tde_l10n_prepare_xml(
+ SOURCE data/data.xml
+ TAGS name
+)
+
+tde_l10n_prepare_xml(
+ SOURCE data/knowledge.xml
+ TAGS name desc refitem
+)
+
+tde_l10n_prepare_xml(
+ SOURCE data/tools.xml
+ TAGS name desc
+)
+
+
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "kalzium"
+ SOURCES
+ "."
+ "data/data.xml.tde_l10n"
+ "data/knowledge.xml.tde_l10n"
+ "data/tools.xml.tde_l10n"
+ ATTRIBUTES
+ "data/data.xml:name,origin"
+)