summaryrefslogtreecommitdiffstats
path: root/kfloppy/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
commit296306a273438f476ab2266d1c03616de1fd5ef7 (patch)
tree7788ff1608858031d0b9816452591f2c62f42bc0 /kfloppy/CMakeLists.txt
parent5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff)
downloadtdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.tar.gz
tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.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 <slavek.banko@axis.cz>
Diffstat (limited to 'kfloppy/CMakeLists.txt')
-rw-r--r--kfloppy/CMakeLists.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/kfloppy/CMakeLists.txt b/kfloppy/CMakeLists.txt
index d5ed6bc..8100afc 100644
--- a/kfloppy/CMakeLists.txt
+++ b/kfloppy/CMakeLists.txt
@@ -38,12 +38,13 @@ tde_install_icons( kfloppy)
##### other data ################################
-install( FILES KFloppy.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
+tde_create_translated_desktop(
+ SOURCE KFloppy.desktop
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfloppy-desktops
)
-install( FILES floppy_format.desktop
- DESTINATION
- ${DATA_INSTALL_DIR}/konqueror/servicemenus
+tde_create_translated_desktop(
+ SOURCE floppy_format.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kfloppy-desktops
)
-