From 7c152fcbe4bee97e09af281807df3106787c5ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 1 Jan 2019 03:08:13 +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 (cherry picked from commit 47e3b8c07e89067296c1839c00fa94f39422c4a9) --- CMakeL10n.txt | 35 +++++++++++++++++++++++++++++++++++ kdevdesigner/CMakeL10n.txt | 3 +++ kdevdesigner/src/CMakeL10n.txt | 3 +++ parts/CMakeL10n.txt | 3 +++ parts/tipofday/CMakeL10n.txt | 6 ++++++ 5 files changed, 50 insertions(+) create mode 100644 CMakeL10n.txt create mode 100644 kdevdesigner/CMakeL10n.txt create mode 100644 kdevdesigner/src/CMakeL10n.txt create mode 100644 parts/CMakeL10n.txt create mode 100644 parts/tipofday/CMakeL10n.txt diff --git a/CMakeL10n.txt b/CMakeL10n.txt new file mode 100644 index 00000000..36799e40 --- /dev/null +++ b/CMakeL10n.txt @@ -0,0 +1,35 @@ +################################################# +# +# (C) 2019 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/tdevelop" ) + + +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "tdevelop" + EXCLUDES + "^kdevdesigner/src/" + "^parts/tipofday/" +) + +tde_l10n_auto_add_subdirectories() diff --git a/kdevdesigner/CMakeL10n.txt b/kdevdesigner/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/kdevdesigner/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/kdevdesigner/src/CMakeL10n.txt b/kdevdesigner/src/CMakeL10n.txt new file mode 100644 index 00000000..3003e91b --- /dev/null +++ b/kdevdesigner/src/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdevdesigner" ) diff --git a/parts/CMakeL10n.txt b/parts/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/parts/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/parts/tipofday/CMakeL10n.txt b/parts/tipofday/CMakeL10n.txt new file mode 100644 index 00000000..7d07b2f9 --- /dev/null +++ b/parts/tipofday/CMakeL10n.txt @@ -0,0 +1,6 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "tdevtipofday" + SOURCES "." "tips" +) -- cgit v1.2.1