diff options
author | Slávek Banko <[email protected]> | 2020-06-10 21:25:06 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-12 14:19:33 +0200 |
commit | a25cdc59c6302046b3121276f5a33f6b1b55a538 (patch) | |
tree | 5c41c38d0c81e99bfe2d3a8564af42cc2d92941f /ksame/CMakeLists.txt | |
parent | dc556f3e9a46e749b36cf773f9211db4ce58d96b (diff) | |
download | tdegames-a25cdc59c6302046b3121276f5a33f6b1b55a538.tar.gz tdegames-a25cdc59c6302046b3121276f5a33f6b1b55a538.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 'ksame/CMakeLists.txt')
-rw-r--r-- | ksame/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ksame/CMakeLists.txt b/ksame/CMakeLists.txt index 1f81e2b4..529e33c8 100644 --- a/ksame/CMakeLists.txt +++ b/ksame/CMakeLists.txt @@ -30,10 +30,15 @@ tde_install_icons( ksame ) ##### other data ################################ -install( FILES stones.png ksameui.rc eventsrc +install( + FILES stones.png ksameui.rc DESTINATION ${DATA_INSTALL_DIR}/ksame ) -install( FILES ksame.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE eventsrc + DESTINATION ${DATA_INSTALL_DIR}/ksame + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/ksame-eventsrc ) + +tde_create_translated_desktop( ksame.desktop ) |