summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/rpm/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-31 19:18:47 +0200
commitcfe279f15a6ca1dad65d63f289a6a6a8a91bb024 (patch)
treea94e1b610ad1a7989454fea921479fcd34e6da7d /tdefile-plugins/rpm/CMakeLists.txt
parent1520d3a0913a80a9071c15c1a039e2b1c7dbb993 (diff)
downloadtdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.tar.gz
tdeadmin-cfe279f15a6ca1dad65d63f289a6a6a8a91bb024.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 'tdefile-plugins/rpm/CMakeLists.txt')
-rw-r--r--tdefile-plugins/rpm/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdefile-plugins/rpm/CMakeLists.txt b/tdefile-plugins/rpm/CMakeLists.txt
index 8e161e3..a3e44ef 100644
--- a/tdefile-plugins/rpm/CMakeLists.txt
+++ b/tdefile-plugins/rpm/CMakeLists.txt
@@ -25,6 +25,8 @@ tde_add_kpart( tdefile_rpm AUTOMOC
##### other data ################################
-install( FILES tdefile_rpm.desktop
+tde_create_translated_desktop(
+ SOURCE tdefile_rpm.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops
)