summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-12-20 02:51:42 +0100
committerSlávek Banko <[email protected]>2018-12-20 15:23:42 +0100
commit97f214b04a5daefc5cd54aa59144306d63b55e1c (patch)
tree224ce06033cafde0360d78efc7aae27bfadca0bf
parent97d7431a4bc6c2c71749001d568efe5a3e23db16 (diff)
downloadtdenetwork-97f214b04a5daefc5cd54aa59144306d63b55e1c.tar.gz
tdenetwork-97f214b04a5daefc5cd54aa59144306d63b55e1c.zip
Add CMakeL10n rules.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit ba6db0daa96b932cb8a5cfe83ae1449c90c1b7f1)
-rw-r--r--CMakeL10n.txt28
-rw-r--r--dcoprss/CMakeL10n.txt3
-rw-r--r--filesharing/CMakeL10n.txt3
-rw-r--r--kdict/CMakeL10n.txt8
-rw-r--r--kdict/applet/CMakeL10n.txt3
-rw-r--r--kget/CMakeL10n.txt3
-rw-r--r--knewsticker/CMakeL10n.txt3
-rw-r--r--kopete/CMakeL10n.txt29
-rw-r--r--kopete/protocols/CMakeL10n.txt3
-rw-r--r--kopete/protocols/jabber/CMakeL10n.txt3
-rw-r--r--kopete/protocols/jabber/tdeioslave/CMakeL10n.txt3
-rw-r--r--kpf/CMakeL10n.txt3
-rw-r--r--kpf/src/CMakeL10n.txt3
-rw-r--r--kppp/CMakeL10n.txt8
-rw-r--r--kppp/logview/CMakeL10n.txt3
-rw-r--r--krdc/CMakeL10n.txt3
-rw-r--r--krfb/CMakeL10n.txt10
-rw-r--r--krfb/kcm_krfb/CMakeL10n.txt3
-rw-r--r--krfb/kinetd/CMakeL10n.txt3
-rw-r--r--ksirc/CMakeL10n.txt6
-rw-r--r--ktalkd/CMakeL10n.txt3
-rw-r--r--lanbrowsing/CMakeL10n.txt3
-rw-r--r--lanbrowsing/kcmlisa/CMakeL10n.txt3
-rw-r--r--lanbrowsing/tdeio_lan/CMakeL10n.txt3
-rw-r--r--tdednssd/CMakeL10n.txt3
-rw-r--r--tdednssd/ioslave/CMakeL10n.txt3
-rw-r--r--tdefile-plugins/CMakeL10n.txt3
-rw-r--r--tdefile-plugins/torrent/CMakeL10n.txt3
-rw-r--r--wifi/CMakeL10n.txt10
-rw-r--r--wifi/kcmwifi/CMakeL10n.txt3
-rw-r--r--wifi/kwireless/CMakeL10n.txt3
31 files changed, 171 insertions, 0 deletions
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" )