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.
14 lines
488 B
14 lines
488 B
##### prepare category_list as a C source #######
|
|
|
|
file( READ ${CMAKE_CURRENT_SOURCE_DIR}/category_list _category_list )
|
|
string( REGEX REPLACE "\nX-TDE-Category=([^\n]*)" "\ni18n(\"Screen saver category\", \"\\1\");" _category_list ${_category_list} )
|
|
file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/category_list.tde_l10n "${_category_list}" )
|
|
|
|
|
|
##### create translation templates ##############
|
|
|
|
tde_l10n_create_template(
|
|
CATALOG "kcmscreensaver"
|
|
SOURCES "." "category_list.tde_l10n"
|
|
)
|