Add CMakeL10n rules.

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

@ -0,0 +1,35 @@
#################################################
#
# (C) 2019 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/tdevelop" )
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "tdevelop"
EXCLUDES
"^kdevdesigner/src/"
"^parts/tipofday/"
)
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( "tdevdesigner" )

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

@ -0,0 +1,6 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "tdevtipofday"
SOURCES "." "tips"
)
Loading…
Cancel
Save