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.
22 lines
600 B
22 lines
600 B
6 years ago
|
##### prepare svnfrontend/svnactions.cpp ########
|
||
|
|
||
|
file( READ "${CMAKE_CURRENT_SOURCE_DIR}/svnfrontend/svnactions.cpp" _svnactions_file )
|
||
|
string( REGEX REPLACE
|
||
|
"(^|\n)(#define) ([^\n]*)i18n\\("
|
||
|
"\\1/*\\2*/ \\3i18n("
|
||
|
_svnactions_l10n "${_svnactions_file}"
|
||
|
)
|
||
|
file( WRITE "${CMAKE_CURRENT_SOURCE_DIR}/svnfrontend/svnactions.cpp.tde_l10n" "${_svnactions_l10n}" )
|
||
|
|
||
|
|
||
|
##### create translation templates ##############
|
||
|
|
||
|
tde_l10n_create_template(
|
||
|
CATALOG "tdesvn"
|
||
|
SOURCES
|
||
|
"."
|
||
|
"svnfrontend/svnactions.cpp.tde_l10n"
|
||
|
EXCLUDES
|
||
|
"^svnfrontend/svnactions\\\\.cpp\$"
|
||
|
)
|