From 657ff9546470dfd74435cf9a68ab705dbd9ab3f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 20 Dec 2018 18:41:24 +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 (cherry picked from commit d44616976482cae1d41c583d00192a6b274b7e9e) --- CMakeL10n.txt | 28 ++++++++++++++++++++++++ k3bsetup/CMakeL10n.txt | 3 +++ libk3b/CMakeL10n.txt | 3 +++ libk3bdevice/CMakeL10n.txt | 3 +++ src/CMakeL10n.txt | 9 ++++++++ tdefile-plugins/CMakeL10n.txt | 3 +++ tdefile-plugins/k3bproject/CMakeL10n.txt | 3 +++ tdeioslaves/CMakeL10n.txt | 3 +++ tdeioslaves/videodvd/CMakeL10n.txt | 3 +++ 9 files changed, 58 insertions(+) create mode 100644 CMakeL10n.txt create mode 100644 k3bsetup/CMakeL10n.txt create mode 100644 libk3b/CMakeL10n.txt create mode 100644 libk3bdevice/CMakeL10n.txt create mode 100644 src/CMakeL10n.txt create mode 100644 tdefile-plugins/CMakeL10n.txt create mode 100644 tdefile-plugins/k3bproject/CMakeL10n.txt create mode 100644 tdeioslaves/CMakeL10n.txt create mode 100644 tdeioslaves/videodvd/CMakeL10n.txt diff --git a/CMakeL10n.txt b/CMakeL10n.txt new file mode 100644 index 0000000..a87d06b --- /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}/../k3b-i18n/template/messages" ) + + +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/k3bsetup/CMakeL10n.txt b/k3bsetup/CMakeL10n.txt new file mode 100644 index 0000000..d7a288b --- /dev/null +++ b/k3bsetup/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "k3bsetup" ) diff --git a/libk3b/CMakeL10n.txt b/libk3b/CMakeL10n.txt new file mode 100644 index 0000000..a273c04 --- /dev/null +++ b/libk3b/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "libk3b" ) diff --git a/libk3bdevice/CMakeL10n.txt b/libk3bdevice/CMakeL10n.txt new file mode 100644 index 0000000..af7ba49 --- /dev/null +++ b/libk3bdevice/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "libk3bdevice" ) diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt new file mode 100644 index 0000000..e03d90c --- /dev/null +++ b/src/CMakeL10n.txt @@ -0,0 +1,9 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "k3b" + SOURCES + "." + "../plugins" + "tips" +) diff --git a/tdefile-plugins/CMakeL10n.txt b/tdefile-plugins/CMakeL10n.txt new file mode 100644 index 0000000..b585ce4 --- /dev/null +++ b/tdefile-plugins/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/tdefile-plugins/k3bproject/CMakeL10n.txt b/tdefile-plugins/k3bproject/CMakeL10n.txt new file mode 100644 index 0000000..2124ffe --- /dev/null +++ b/tdefile-plugins/k3bproject/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdefile_k3b" ) diff --git a/tdeioslaves/CMakeL10n.txt b/tdeioslaves/CMakeL10n.txt new file mode 100644 index 0000000..b585ce4 --- /dev/null +++ b/tdeioslaves/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/tdeioslaves/videodvd/CMakeL10n.txt b/tdeioslaves/videodvd/CMakeL10n.txt new file mode 100644 index 0000000..95965ff --- /dev/null +++ b/tdeioslaves/videodvd/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdeio_videodvd" )