blob: e63464d33c17e525562580faa4efd1dbdc92e6ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
##### prepare kig templates #####################
file( GLOB_RECURSE _kigt_files
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/macros/*.kigt
)
list( SORT _kigt_files )
unset( _kigt_l10n )
foreach( _kigt_file ${_kigt_files} )
tde_l10n_prepare_xml(
SOURCE ${_kigt_file}
TAGS "Name" "Description" "UseText" "SelectStatement"
C_FORMAT
)
list( APPEND _kigt_l10n "${_kigt_file}.tde_l10n" )
endforeach( )
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "kig"
SOURCES
"."
"data/tips"
${_kigt_l10n}
EXCLUDES
"^tdefile/"
)
tde_l10n_create_template(
CATALOG "tdefile_drgeo"
SOURCES "tdefile/tdefile_drgeo.cpp" "tdefile/tdefile_drgeo.h"
)
tde_l10n_create_template(
CATALOG "tdefile_kig"
SOURCES "tdefile/tdefile_kig.cpp" "tdefile/tdefile_kig.h"
)
|