diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-10 21:25:06 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-12 15:23:06 +0200 |
commit | 87f08539f4780f52819ddb9e7d291decbc14fa6f (patch) | |
tree | 902840117702b8d2c955b33f0402e0df6446a22c /ksame/CMakeLists.txt | |
parent | bd46b20a12f3634ad167206c497bb9a050ac533c (diff) | |
download | tdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.tar.gz tdegames-87f08539f4780f52819ddb9e7d291decbc14fa6f.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 a25cdc59c6302046b3121276f5a33f6b1b55a538)
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 ) |