diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-12-09 04:00:36 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-12-09 16:45:28 +0100 |
commit | c0bebcf76b3162137d5d5ef1d8bf441802c9e653 (patch) | |
tree | 1d457aa6164d1f6d72be71ebdd58916f047f8888 /kcontrol/screensaver/CMakeL10n.txt | |
parent | 2c7795c2c73cc4dd6cb1d1563e3d00e7119bcbf5 (diff) | |
download | tdebase-c0bebcf76b3162137d5d5ef1d8bf441802c9e653.tar.gz tdebase-c0bebcf76b3162137d5d5ef1d8bf441802c9e653.zip |
Add CMakeL10n rules.
Update TIMEZONES list.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b95b665c78a047fc540e2bc4a8c19be6db03b825)
Diffstat (limited to 'kcontrol/screensaver/CMakeL10n.txt')
-rw-r--r-- | kcontrol/screensaver/CMakeL10n.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kcontrol/screensaver/CMakeL10n.txt b/kcontrol/screensaver/CMakeL10n.txt new file mode 100644 index 000000000..41ee20412 --- /dev/null +++ b/kcontrol/screensaver/CMakeL10n.txt @@ -0,0 +1,13 @@ +##### 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" +) |