summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-12-29 18:17:12 +0100
committerSlávek Banko <[email protected]>2018-12-29 18:27:39 +0100
commitd8c73a4e811b4c26b62b5ded2c2f82364dbef035 (patch)
treea6c5210dfbbc5724cc7ec0d626aa75b8c7c11cc4
parent55f3c6f7768177d1b862eb88a0d0f731df7f39d8 (diff)
downloadtdeaccessibility-d8c73a4e811b4c26b62b5ded2c2f82364dbef035.tar.gz
tdeaccessibility-d8c73a4e811b4c26b62b5ded2c2f82364dbef035.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 2fecb1619e74ee7badafd44db4775c6a9721af93)
-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"
+)