You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
##### 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"
|
|
|
|
)
|
|
|
|
|
|
|
|
tde_l10n_create_template(
|
|
|
|
CATALOG "desktop_files/kig-desktops/"
|
|
|
|
SOURCES *.desktop
|
|
|
|
EXCLUDES
|
|
|
|
"^mimetypes/"
|
|
|
|
"^tdefile/"
|
|
|
|
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
|
|
|
|
)
|
|
|
|
|
|
|
|
tde_l10n_create_template(
|
|
|
|
CATALOG "desktop_files/kig-mimetypes/"
|
|
|
|
SOURCES mimetypes/*.desktop
|
|
|
|
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
|
|
|
|
)
|
|
|
|
|
|
|
|
tde_l10n_create_template(
|
|
|
|
CATALOG "desktop_files/kig-tdefile/"
|
|
|
|
SOURCES tdefile/*.desktop
|
|
|
|
DESTINATION "${CMAKE_SOURCE_DIR}/translations"
|
|
|
|
)
|