summaryrefslogtreecommitdiffstats
path: root/fileplugin/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-04-05 11:56:32 +0200
committerSlávek Banko <[email protected]>2020-04-05 11:56:32 +0200
commitdcded97665311ec2c62a8b34122b495f720b373a (patch)
tree96cf7148e37c201d51279a419e303887dd824608 /fileplugin/CMakeLists.txt
parenta46e7cc11eb4298288a2f969991063c72799ef20 (diff)
downloadkbarcode-dcded97665311ec2c62a8b34122b495f720b373a.tar.gz
kbarcode-dcded97665311ec2c62a8b34122b495f720b373a.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 'fileplugin/CMakeLists.txt')
-rw-r--r--fileplugin/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/fileplugin/CMakeLists.txt b/fileplugin/CMakeLists.txt
index 78af279..a139813 100644
--- a/fileplugin/CMakeLists.txt
+++ b/fileplugin/CMakeLists.txt
@@ -28,7 +28,8 @@ tde_add_kpart( tdefile_kbarcode AUTOMOC
##### other data
-install(
- FILES tdefile_kbarcode.desktop
+tde_create_translated_desktop(
+ SOURCE tdefile_kbarcode.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/
)