From 2fecb1619e74ee7badafd44db4775c6a9721af93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 29 Dec 2018 18:17:12 +0100 Subject: [PATCH] Add CMakeL10n rules. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeL10n.txt | 28 ++++++++++++++++++++++++++++ kbstateapplet/CMakeL10n.txt | 3 +++ kmag/CMakeL10n.txt | 3 +++ kmousetool/CMakeL10n.txt | 3 +++ kmousetool/kmousetool/CMakeL10n.txt | 3 +++ kmouth/CMakeL10n.txt | 3 +++ ksayit/CMakeL10n.txt | 3 +++ ksayit/KTTSD_Lib/CMakeL10n.txt | 3 +++ ksayit/src/CMakeL10n.txt | 3 +++ kttsd/CMakeL10n.txt | 17 +++++++++++++++++ 10 files changed, 69 insertions(+) create mode 100644 CMakeL10n.txt create mode 100644 kbstateapplet/CMakeL10n.txt create mode 100644 kmag/CMakeL10n.txt create mode 100644 kmousetool/CMakeL10n.txt create mode 100644 kmousetool/kmousetool/CMakeL10n.txt create mode 100644 kmouth/CMakeL10n.txt create mode 100644 ksayit/CMakeL10n.txt create mode 100644 ksayit/KTTSD_Lib/CMakeL10n.txt create mode 100644 ksayit/src/CMakeL10n.txt create mode 100644 kttsd/CMakeL10n.txt 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" +)