summaryrefslogtreecommitdiffstats
path: root/kgpg
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:24:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-09 03:24:40 +0200
commit2fa177c5d6d5801a5a13ff21bf5c3e6757874e03 (patch)
treeb1f89091a3c7d4ead83f215596c7e2382c3af2c3 /kgpg
parent6afcd26d9e618e16f646bfefd33e30aa3c653798 (diff)
downloadtdeutils-2fa177c5d6d5801a5a13ff21bf5c3e6757874e03.tar.gz
tdeutils-2fa177c5d6d5801a5a13ff21bf5c3e6757874e03.zip
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kgpg')
-rw-r--r--kgpg/CMakeLists.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/kgpg/CMakeLists.txt b/kgpg/CMakeLists.txt
index ef72aab..7f6540b 100644
--- a/kgpg/CMakeLists.txt
+++ b/kgpg/CMakeLists.txt
@@ -59,7 +59,7 @@ install( FILES kgpg_anim.gif kgpg_docked.png
tde_create_translated_desktop(
SOURCE kgpg.desktop
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kgpg-desktops
+ PO_DIR kgpg-desktops
)
install(
@@ -71,13 +71,11 @@ install( FILES kgpg.rc listkeys.rc tips
DESTINATION ${DATA_INSTALL_DIR}/kgpg
)
-foreach( _desktop encryptfile.desktop encryptfolder.desktop )
- tde_create_translated_desktop(
- SOURCE ${_desktop}
- DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
- PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kgpg-desktops
- )
-endforeach()
+tde_create_translated_desktop(
+ SOURCE encryptfile.desktop encryptfolder.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+ PO_DIR kgpg-desktops
+)
install( FILES kgpg.kcfg
DESTINATION ${KCFG_INSTALL_DIR}