diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-04-05 11:56:32 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-04-05 11:56:48 +0200 |
commit | ea47da4e59a7ad6bbd99583388dcfb4764a42ce4 (patch) | |
tree | 599499b07e0ab116e1a983855d14d1b0dcc31df1 /fileplugin | |
parent | cf7b9cf5a69359c11962459c4754d8bbe62ef940 (diff) | |
download | kbarcode-ea47da4e59a7ad6bbd99583388dcfb4764a42ce4.tar.gz kbarcode-ea47da4e59a7ad6bbd99583388dcfb4764a42ce4.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>
(cherry picked from commit dcded97665311ec2c62a8b34122b495f720b373a)
Diffstat (limited to 'fileplugin')
-rw-r--r-- | fileplugin/CMakeLists.txt | 5 |
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/ ) |