diff options
author | Slávek Banko <[email protected]> | 2020-06-10 21:25:06 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-06-12 15:23:06 +0200 |
commit | 87f08539f4780f52819ddb9e7d291decbc14fa6f (patch) | |
tree | 902840117702b8d2c955b33f0402e0df6446a22c /kbackgammon/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 <[email protected]>
(cherry picked from commit a25cdc59c6302046b3121276f5a33f6b1b55a538)
Diffstat (limited to 'kbackgammon/CMakeLists.txt')
-rw-r--r-- | kbackgammon/CMakeLists.txt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/kbackgammon/CMakeLists.txt b/kbackgammon/CMakeLists.txt index 9d6eaef3..5f66ebd3 100644 --- a/kbackgammon/CMakeLists.txt +++ b/kbackgammon/CMakeLists.txt @@ -40,10 +40,16 @@ tde_add_executable( kbackgammon AUTOMOC ##### other data ################################ -install( FILES kbackgammon.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} + +tde_create_translated_desktop( kbackgammon.desktop ) + +tde_create_translated_desktop( + SOURCE eventsrc + DESTINATION ${DATA_INSTALL_DIR}/kbackgammon + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kbackgammon-eventsrc ) -install( FILES kbackgammonui.rc eventsrc +install( + FILES kbackgammonui.rc DESTINATION ${DATA_INSTALL_DIR}/kbackgammon ) |