Browse Source

Add CMakeL10n rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/8/head
Slávek Banko 10 months ago
parent
commit
ba6db0daa9

+ 28
- 0
CMakeL10n.txt View File

@@ -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()

+ 3
- 0
dcoprss/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "dcoprss" )

+ 3
- 0
filesharing/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdefileshare" )

+ 8
- 0
kdict/CMakeL10n.txt View File

@@ -0,0 +1,8 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kdict"
EXCLUDES "^applet/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kdict/applet/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kdictapplet" )

+ 3
- 0
kget/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kget" )

+ 3
- 0
knewsticker/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "knewsticker" )

+ 29
- 0
kopete/CMakeL10n.txt View File

@@ -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( )

+ 3
- 0
kopete/protocols/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kopete/protocols/jabber/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kopete/protocols/jabber/tdeioslave/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeio_jabberdisco" )

+ 3
- 0
kpf/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( "kpf" )

+ 3
- 0
kpf/src/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kpf" )

+ 8
- 0
kppp/CMakeL10n.txt View File

@@ -0,0 +1,8 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kppp"
EXCLUDES "^logview/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
kppp/logview/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kppplogview" )

+ 3
- 0
krdc/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "krdc" )

+ 10
- 0
krfb/CMakeL10n.txt View File

@@ -0,0 +1,10 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "krfb"
EXCLUDES
"^kcm_krfb/"
"^kinetd/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
krfb/kcm_krfb/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kcm_krfb" )

+ 3
- 0
krfb/kinetd/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kinetd" )

+ 6
- 0
ksirc/CMakeL10n.txt View File

@@ -0,0 +1,6 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "ksirc"
EXCLUDES "^test/"
)

+ 3
- 0
ktalkd/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kcmktalkd" )

+ 3
- 0
lanbrowsing/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
lanbrowsing/kcmlisa/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kcmlanbrowser" )

+ 3
- 0
lanbrowsing/tdeio_lan/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeio_lan" )

+ 3
- 0
tdednssd/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tdednssd/ioslave/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdeio_zeroconf" )

+ 3
- 0
tdefile-plugins/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
tdefile-plugins/torrent/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "tdefile_torrent" )

+ 10
- 0
wifi/CMakeL10n.txt View File

@@ -0,0 +1,10 @@
##### create translation templates ##############

tde_l10n_create_template(
CATALOG "kwifimanager"
EXCLUDES
"^kcmwifi/"
"^kwireless/"
)

tde_l10n_auto_add_subdirectories( )

+ 3
- 0
wifi/kcmwifi/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kcmwifi" )

+ 3
- 0
wifi/kwireless/CMakeL10n.txt View File

@@ -0,0 +1,3 @@
##### create translation templates ##############

tde_l10n_create_template( "kwireless" )

Loading…
Cancel
Save