diff options
author | Slávek Banko <[email protected]> | 2020-06-28 10:53:51 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-28 10:54:08 +0200 |
commit | 76d47fc6c247730e325c4eb5535fc4430b0c8cb1 (patch) | |
tree | e1f8dbabc79ae5195f5554f52f8c83e37b153804 /src/CMakeLists.txt | |
parent | 4e2d5c5aa1b8e805b3ca64d314cfdc05c2192be2 (diff) | |
download | kdiff3-76d47fc6c247730e325c4eb5535fc4430b0c8cb1.tar.gz kdiff3-76d47fc6c247730e325c4eb5535fc4430b0c8cb1.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]>
(cherry picked from commit 509de40974962520faee091c89ce8281c0d7c0bc)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c6def85..3c8d7c7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -72,8 +72,8 @@ install( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} ) -install( - FILES kdiff3part.desktop +tde_create_translated_desktop( + SOURCE kdiff3part.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) @@ -82,7 +82,4 @@ install( DESTINATION ${DATA_INSTALL_DIR}/kdiff3part ) -install( - FILES ${PROJECT_NAME}.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ${PROJECT_NAME}.desktop ) |