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.
17 lines
569 B
17 lines
569 B
##### prepare display template names ############
|
|
|
|
file( READ ${CMAKE_CURRENT_SOURCE_DIR}/display-templates/names.conf TEMPLATE_NAMES )
|
|
string( REGEX REPLACE "(^|\n)([^ \t]*)[ \t]+([^\n]*)\n" "\\1/* \\2 */ i18n(\"\\3\");\n" TEMPLATE_NAMES "${TEMPLATE_NAMES}" )
|
|
file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/display-templates/names.conf.tde_l10n "${TEMPLATE_NAMES}" )
|
|
|
|
|
|
##### create translation templates ##############
|
|
|
|
tde_l10n_create_template(
|
|
CATALOG "messages/bibletime"
|
|
SOURCES
|
|
"."
|
|
"display-templates/names.conf.tde_l10n"
|
|
"../doc/tips"
|
|
)
|