From b97668ea3912b7562afd4e4af132a88e8fd5ab16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 27 Dec 2018 12:51:39 +0100 Subject: Add CMakeL10n rules. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kalzium/CMakeL10n.txt | 3 +++ kalzium/src/CMakeL10n.txt | 30 ++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 kalzium/CMakeL10n.txt create mode 100644 kalzium/src/CMakeL10n.txt (limited to 'kalzium') diff --git a/kalzium/CMakeL10n.txt b/kalzium/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/kalzium/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) 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" +) -- cgit v1.2.1