Add CMakeL10n rules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 72b5adf49c)
r14.0.x
Slávek Banko 6 years ago
parent e4794189af
commit 6d8ca11287
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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/tdepim" )
##### create translation templates ##############
tde_l10n_auto_add_subdirectories()

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "akregator" )

@ -0,0 +1,10 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kleopatra"
EXCLUDES
"^kwatchgnupg/"
"^lib/"
)
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kwatchgnupg" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "libkleopatra" )

@ -0,0 +1,27 @@
##### prepare editors UI files ##################
file( GLOB_RECURSE _editors_ui
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/editors/*.ui
)
foreach( _editor_ui ${_editors_ui} )
tde_l10n_prepare_xml(
SOURCE ${_editor_ui}
CONTEXT "Instant messaging"
)
list( REMOVE_ITEM _editors_ui "${_editor_ui}" )
list( APPEND _editors_ui "${_editor_ui}.tde_l10n" )
endforeach( )
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kaddressbook"
SOURCES "." ${_editors_ui}
EXCLUDES
"^editors/.*\\\\.ui$"
"^kcmconfigs/"
)
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kcmkabconfig" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kalarm" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kandy" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "karm" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kdgantt" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kgantt" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kitchensync" )

@ -0,0 +1,7 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kmail"
SOURCES "." "tips"
KEYWORDS "translate"
)

@ -0,0 +1,6 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kmailcvt"
SOURCES "." "*.cxx" "*.hxx"
)

@ -0,0 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kmobile"
EXCLUDES "^tdeioslave/"
)
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdeio_mobile" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "knode" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "knotes" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "konsolekalendar" )

@ -0,0 +1,5 @@
##### create translation templates ##############
tde_l10n_create_template( "kontact" )
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kcmkontactnt" )

@ -0,0 +1,6 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "korganizer"
SOURCES "." "tips"
)

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "korn" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "ktnef" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "libkcal" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "libkholidays" )

@ -0,0 +1,6 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "libkmime"
EXCLUDES "^tests/"
)

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "libkpgp" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "libkpimexchange" )

@ -0,0 +1,6 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "libksieve"
EXCLUDES "^tests/"
)

@ -0,0 +1,10 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "libtdepim"
SOURCES
"."
"../libemailfunctions"
"../libkpimidentities"
EXCLUDES "(^|/)tests/"
)

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,15 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kmail_text_calendar_plugin"
SOURCES
attendeeselector.cpp
delegateselector.cpp
text_calendar.cpp
ui_attendeeselector.ui
)
tde_l10n_create_template(
CATALOG "kmail_text_vcard_plugin"
SOURCES "text_vcard.cpp"
)

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdeabc2mutt" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdefile_ics" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdefile_palm" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdefile_rfc822" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdefile_vcf" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdeio_imap4" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdeio_sieve" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_birthday" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_blogging" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_caldav" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_carddav" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_xmlrpc" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_exchange" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_featureplan" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_groupdav" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_groupware" )

@ -0,0 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kres_groupwise"
EXCLUDES "^tdeioslave/"
)
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdeio_groupwise" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_kolab" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdepimresources" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_remote" )

@ -0,0 +1,10 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kres_scalix"
EXCLUDES
"^scalixadmin/"
"^tdeioslave/"
)
tde_l10n_auto_add_subdirectories( )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "scalixadmin" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdeio_scalix" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdeabc_slox" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "kres_tvanytime" )

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "tdepimwizards" )
Loading…
Cancel
Save