summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-12-29 18:17:12 +0100
committerSlávek Banko <slavek.banko@axis.cz>2018-12-29 18:17:14 +0100
commit2fecb1619e74ee7badafd44db4775c6a9721af93 (patch)
tree8f3e530ea484cae035e8e0b2f6c7c3b736a56a24
parent5f1cd4174ea25f89f1e3342705b12d9ca382093a (diff)
downloadtdeaccessibility-2fecb1619e74ee7badafd44db4775c6a9721af93.tar.gz
tdeaccessibility-2fecb1619e74ee7badafd44db4775c6a9721af93.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--CMakeL10n.txt28
-rw-r--r--kbstateapplet/CMakeL10n.txt3
-rw-r--r--kmag/CMakeL10n.txt3
-rw-r--r--kmousetool/CMakeL10n.txt3
-rw-r--r--kmousetool/kmousetool/CMakeL10n.txt3
-rw-r--r--kmouth/CMakeL10n.txt3
-rw-r--r--ksayit/CMakeL10n.txt3
-rw-r--r--ksayit/KTTSD_Lib/CMakeL10n.txt3
-rw-r--r--ksayit/src/CMakeL10n.txt3
-rw-r--r--kttsd/CMakeL10n.txt17
10 files changed, 69 insertions, 0 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..cb4ad3c
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,28 @@
+#################################################
+#
+# (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 )
+
+
+##### set directory for POT files ###############
+
+set( POT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../tde-i18n/template/messages/tdeaccessibility" )
+
+
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/kbstateapplet/CMakeL10n.txt b/kbstateapplet/CMakeL10n.txt
new file mode 100644
index 0000000..bc9000b
--- /dev/null
+++ b/kbstateapplet/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "kbstateapplet" )
diff --git a/kmag/CMakeL10n.txt b/kmag/CMakeL10n.txt
new file mode 100644
index 0000000..d95b69c
--- /dev/null
+++ b/kmag/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "kmag" )
diff --git a/kmousetool/CMakeL10n.txt b/kmousetool/CMakeL10n.txt
new file mode 100644
index 0000000..b585ce4
--- /dev/null
+++ b/kmousetool/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/kmousetool/kmousetool/CMakeL10n.txt b/kmousetool/kmousetool/CMakeL10n.txt
new file mode 100644
index 0000000..f6aa453
--- /dev/null
+++ b/kmousetool/kmousetool/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "kmousetool" )
diff --git a/kmouth/CMakeL10n.txt b/kmouth/CMakeL10n.txt
new file mode 100644
index 0000000..935b156
--- /dev/null
+++ b/kmouth/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "kmouth" )
diff --git a/ksayit/CMakeL10n.txt b/ksayit/CMakeL10n.txt
new file mode 100644
index 0000000..b585ce4
--- /dev/null
+++ b/ksayit/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/ksayit/KTTSD_Lib/CMakeL10n.txt b/ksayit/KTTSD_Lib/CMakeL10n.txt
new file mode 100644
index 0000000..0c25e47
--- /dev/null
+++ b/ksayit/KTTSD_Lib/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "libKTTSD" )
diff --git a/ksayit/src/CMakeL10n.txt b/ksayit/src/CMakeL10n.txt
new file mode 100644
index 0000000..1688cbd
--- /dev/null
+++ b/ksayit/src/CMakeL10n.txt
@@ -0,0 +1,3 @@
+##### create translation templates ##############
+
+tde_l10n_create_template( "ksayit" )
diff --git a/kttsd/CMakeL10n.txt b/kttsd/CMakeL10n.txt
new file mode 100644
index 0000000..54d662b
--- /dev/null
+++ b/kttsd/CMakeL10n.txt
@@ -0,0 +1,17 @@
+##### prepare plugins/festivalint/voices ########
+
+tde_l10n_prepare_xml(
+ SOURCE plugins/festivalint/voices
+ TAGS name
+ CONTEXT FestivalVoiceName
+)
+
+
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "kttsd"
+ SOURCES
+ "."
+ "plugins/festivalint/voices.tde_l10n"
+)