summaryrefslogtreecommitdiffstats
path: root/kworldclock/bio/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-11 14:54:26 +0200
committerSlávek Banko <[email protected]>2020-06-12 14:21:08 +0200
commit7c7c238be19c9d17b1182d0b0fad31479aa7f59a (patch)
treedc86c967040e3d25bdabd4af40e606f2484930dc /kworldclock/bio/CMakeLists.txt
parent0dc9e3c5476898c5fd5308cbdd84755b7b6c1c23 (diff)
downloadtdeartwork-7c7c238be19c9d17b1182d0b0fad31479aa7f59a.tar.gz
tdeartwork-7c7c238be19c9d17b1182d0b0fad31479aa7f59a.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kworldclock/bio/CMakeLists.txt')
-rw-r--r--kworldclock/bio/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/kworldclock/bio/CMakeLists.txt b/kworldclock/bio/CMakeLists.txt
index 4c6d195e..433f4155 100644
--- a/kworldclock/bio/CMakeLists.txt
+++ b/kworldclock/bio/CMakeLists.txt
@@ -14,5 +14,10 @@ install( FILES
200.jpg
400.jpg
800.jpg
- bio.desktop
DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/bio" )
+
+tde_create_translated_desktop(
+ SOURCE bio.desktop
+ DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/alt"
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes
+)