diff options
author | Slávek Banko <[email protected]> | 2020-04-05 11:56:32 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-04-05 11:56:32 +0200 |
commit | dcded97665311ec2c62a8b34122b495f720b373a (patch) | |
tree | 96cf7148e37c201d51279a419e303887dd824608 /fileplugin/CMakeLists.txt | |
parent | a46e7cc11eb4298288a2f969991063c72799ef20 (diff) | |
download | kbarcode-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.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/ ) |