From ba6db0daa96b932cb8a5cfe83ae1449c90c1b7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 20 Dec 2018 02:51:42 +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 ++++++++++++++++++ dcoprss/CMakeL10n.txt | 3 ++ filesharing/CMakeL10n.txt | 3 ++ kdict/CMakeL10n.txt | 8 +++++ kdict/applet/CMakeL10n.txt | 3 ++ kget/CMakeL10n.txt | 3 ++ knewsticker/CMakeL10n.txt | 3 ++ kopete/CMakeL10n.txt | 29 +++++++++++++++++++ kopete/protocols/CMakeL10n.txt | 3 ++ kopete/protocols/jabber/CMakeL10n.txt | 3 ++ .../protocols/jabber/tdeioslave/CMakeL10n.txt | 3 ++ kpf/CMakeL10n.txt | 3 ++ kpf/src/CMakeL10n.txt | 3 ++ kppp/CMakeL10n.txt | 8 +++++ kppp/logview/CMakeL10n.txt | 3 ++ krdc/CMakeL10n.txt | 3 ++ krfb/CMakeL10n.txt | 10 +++++++ krfb/kcm_krfb/CMakeL10n.txt | 3 ++ krfb/kinetd/CMakeL10n.txt | 3 ++ ksirc/CMakeL10n.txt | 6 ++++ ktalkd/CMakeL10n.txt | 3 ++ lanbrowsing/CMakeL10n.txt | 3 ++ lanbrowsing/kcmlisa/CMakeL10n.txt | 3 ++ lanbrowsing/tdeio_lan/CMakeL10n.txt | 3 ++ tdednssd/CMakeL10n.txt | 3 ++ tdednssd/ioslave/CMakeL10n.txt | 3 ++ tdefile-plugins/CMakeL10n.txt | 3 ++ tdefile-plugins/torrent/CMakeL10n.txt | 3 ++ wifi/CMakeL10n.txt | 10 +++++++ wifi/kcmwifi/CMakeL10n.txt | 3 ++ wifi/kwireless/CMakeL10n.txt | 3 ++ 31 files changed, 171 insertions(+) create mode 100644 CMakeL10n.txt create mode 100644 dcoprss/CMakeL10n.txt create mode 100644 filesharing/CMakeL10n.txt create mode 100644 kdict/CMakeL10n.txt create mode 100644 kdict/applet/CMakeL10n.txt create mode 100644 kget/CMakeL10n.txt create mode 100644 knewsticker/CMakeL10n.txt create mode 100644 kopete/CMakeL10n.txt create mode 100644 kopete/protocols/CMakeL10n.txt create mode 100644 kopete/protocols/jabber/CMakeL10n.txt create mode 100644 kopete/protocols/jabber/tdeioslave/CMakeL10n.txt create mode 100644 kpf/CMakeL10n.txt create mode 100644 kpf/src/CMakeL10n.txt create mode 100644 kppp/CMakeL10n.txt create mode 100644 kppp/logview/CMakeL10n.txt create mode 100644 krdc/CMakeL10n.txt create mode 100644 krfb/CMakeL10n.txt create mode 100644 krfb/kcm_krfb/CMakeL10n.txt create mode 100644 krfb/kinetd/CMakeL10n.txt create mode 100644 ksirc/CMakeL10n.txt create mode 100644 ktalkd/CMakeL10n.txt create mode 100644 lanbrowsing/CMakeL10n.txt create mode 100644 lanbrowsing/kcmlisa/CMakeL10n.txt create mode 100644 lanbrowsing/tdeio_lan/CMakeL10n.txt create mode 100644 tdednssd/CMakeL10n.txt create mode 100644 tdednssd/ioslave/CMakeL10n.txt create mode 100644 tdefile-plugins/CMakeL10n.txt create mode 100644 tdefile-plugins/torrent/CMakeL10n.txt create mode 100644 wifi/CMakeL10n.txt create mode 100644 wifi/kcmwifi/CMakeL10n.txt create mode 100644 wifi/kwireless/CMakeL10n.txt diff --git a/CMakeL10n.txt b/CMakeL10n.txt new file mode 100644 index 00000000..284caa42 --- /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/tdenetwork" ) + + +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories() diff --git a/dcoprss/CMakeL10n.txt b/dcoprss/CMakeL10n.txt new file mode 100644 index 00000000..6e5975a7 --- /dev/null +++ b/dcoprss/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "dcoprss" ) diff --git a/filesharing/CMakeL10n.txt b/filesharing/CMakeL10n.txt new file mode 100644 index 00000000..f17d9a9d --- /dev/null +++ b/filesharing/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdefileshare" ) diff --git a/kdict/CMakeL10n.txt b/kdict/CMakeL10n.txt new file mode 100644 index 00000000..9cfe37de --- /dev/null +++ b/kdict/CMakeL10n.txt @@ -0,0 +1,8 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kdict" + EXCLUDES "^applet/" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/kdict/applet/CMakeL10n.txt b/kdict/applet/CMakeL10n.txt new file mode 100644 index 00000000..afb2338c --- /dev/null +++ b/kdict/applet/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kdictapplet" ) diff --git a/kget/CMakeL10n.txt b/kget/CMakeL10n.txt new file mode 100644 index 00000000..dbaaa4a5 --- /dev/null +++ b/kget/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kget" ) diff --git a/knewsticker/CMakeL10n.txt b/knewsticker/CMakeL10n.txt new file mode 100644 index 00000000..1f23f145 --- /dev/null +++ b/knewsticker/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "knewsticker" ) diff --git a/kopete/CMakeL10n.txt b/kopete/CMakeL10n.txt new file mode 100644 index 00000000..fc613c39 --- /dev/null +++ b/kopete/CMakeL10n.txt @@ -0,0 +1,29 @@ +##### prepare styles XSL files ################## + +file( GLOB_RECURSE _styles_xsl + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/styles/*.xsl +) +foreach( _style_xsl ${_styles_xsl} ) + tde_l10n_prepare_xml( + SOURCE ${_style_xsl} + TAGS "kopete-i18n" + CONTEXT "Translators: The %FOO% placeholders are variables that are substituted in the code, please leave them untranslated" + ) + list( REMOVE_ITEM _styles_xsl "${_style_xsl}" ) + list( APPEND _styles_xsl "${_style_xsl}.tde_l10n" ) +endforeach( ) + + +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kopete" + SOURCES "." ${_styles_xsl} + EXCLUDES + "^libkopete/compat/" + "^protocols/testbed/" + "^styles/.*\\\\.xsl$" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/kopete/protocols/CMakeL10n.txt b/kopete/protocols/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/kopete/protocols/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/kopete/protocols/jabber/CMakeL10n.txt b/kopete/protocols/jabber/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/kopete/protocols/jabber/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/kopete/protocols/jabber/tdeioslave/CMakeL10n.txt b/kopete/protocols/jabber/tdeioslave/CMakeL10n.txt new file mode 100644 index 00000000..cc3c4b07 --- /dev/null +++ b/kopete/protocols/jabber/tdeioslave/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdeio_jabberdisco" ) diff --git a/kpf/CMakeL10n.txt b/kpf/CMakeL10n.txt new file mode 100644 index 00000000..e2d458ab --- /dev/null +++ b/kpf/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( "kpf" ) diff --git a/kpf/src/CMakeL10n.txt b/kpf/src/CMakeL10n.txt new file mode 100644 index 00000000..61bc6a98 --- /dev/null +++ b/kpf/src/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kpf" ) diff --git a/kppp/CMakeL10n.txt b/kppp/CMakeL10n.txt new file mode 100644 index 00000000..c2c45537 --- /dev/null +++ b/kppp/CMakeL10n.txt @@ -0,0 +1,8 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kppp" + EXCLUDES "^logview/" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/kppp/logview/CMakeL10n.txt b/kppp/logview/CMakeL10n.txt new file mode 100644 index 00000000..1c678f3e --- /dev/null +++ b/kppp/logview/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kppplogview" ) diff --git a/krdc/CMakeL10n.txt b/krdc/CMakeL10n.txt new file mode 100644 index 00000000..3628ef19 --- /dev/null +++ b/krdc/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "krdc" ) diff --git a/krfb/CMakeL10n.txt b/krfb/CMakeL10n.txt new file mode 100644 index 00000000..2a8874a2 --- /dev/null +++ b/krfb/CMakeL10n.txt @@ -0,0 +1,10 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "krfb" + EXCLUDES + "^kcm_krfb/" + "^kinetd/" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/krfb/kcm_krfb/CMakeL10n.txt b/krfb/kcm_krfb/CMakeL10n.txt new file mode 100644 index 00000000..61c0fa3d --- /dev/null +++ b/krfb/kcm_krfb/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcm_krfb" ) diff --git a/krfb/kinetd/CMakeL10n.txt b/krfb/kinetd/CMakeL10n.txt new file mode 100644 index 00000000..44bd8e57 --- /dev/null +++ b/krfb/kinetd/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kinetd" ) diff --git a/ksirc/CMakeL10n.txt b/ksirc/CMakeL10n.txt new file mode 100644 index 00000000..e421400e --- /dev/null +++ b/ksirc/CMakeL10n.txt @@ -0,0 +1,6 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "ksirc" + EXCLUDES "^test/" +) diff --git a/ktalkd/CMakeL10n.txt b/ktalkd/CMakeL10n.txt new file mode 100644 index 00000000..bf91215a --- /dev/null +++ b/ktalkd/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcmktalkd" ) diff --git a/lanbrowsing/CMakeL10n.txt b/lanbrowsing/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/lanbrowsing/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/lanbrowsing/kcmlisa/CMakeL10n.txt b/lanbrowsing/kcmlisa/CMakeL10n.txt new file mode 100644 index 00000000..272d2bb6 --- /dev/null +++ b/lanbrowsing/kcmlisa/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcmlanbrowser" ) diff --git a/lanbrowsing/tdeio_lan/CMakeL10n.txt b/lanbrowsing/tdeio_lan/CMakeL10n.txt new file mode 100644 index 00000000..98b7a0e3 --- /dev/null +++ b/lanbrowsing/tdeio_lan/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdeio_lan" ) diff --git a/tdednssd/CMakeL10n.txt b/tdednssd/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/tdednssd/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/tdednssd/ioslave/CMakeL10n.txt b/tdednssd/ioslave/CMakeL10n.txt new file mode 100644 index 00000000..8c5fc780 --- /dev/null +++ b/tdednssd/ioslave/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdeio_zeroconf" ) diff --git a/tdefile-plugins/CMakeL10n.txt b/tdefile-plugins/CMakeL10n.txt new file mode 100644 index 00000000..b585ce4a --- /dev/null +++ b/tdefile-plugins/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_auto_add_subdirectories( ) diff --git a/tdefile-plugins/torrent/CMakeL10n.txt b/tdefile-plugins/torrent/CMakeL10n.txt new file mode 100644 index 00000000..18ae2ab0 --- /dev/null +++ b/tdefile-plugins/torrent/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "tdefile_torrent" ) diff --git a/wifi/CMakeL10n.txt b/wifi/CMakeL10n.txt new file mode 100644 index 00000000..07af0a83 --- /dev/null +++ b/wifi/CMakeL10n.txt @@ -0,0 +1,10 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "kwifimanager" + EXCLUDES + "^kcmwifi/" + "^kwireless/" +) + +tde_l10n_auto_add_subdirectories( ) diff --git a/wifi/kcmwifi/CMakeL10n.txt b/wifi/kcmwifi/CMakeL10n.txt new file mode 100644 index 00000000..2afa32e6 --- /dev/null +++ b/wifi/kcmwifi/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kcmwifi" ) diff --git a/wifi/kwireless/CMakeL10n.txt b/wifi/kwireless/CMakeL10n.txt new file mode 100644 index 00000000..8873a6ce --- /dev/null +++ b/wifi/kwireless/CMakeL10n.txt @@ -0,0 +1,3 @@ +##### create translation templates ############## + +tde_l10n_create_template( "kwireless" )