diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-16 18:30:12 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-19 10:59:29 +0200 |
commit | bb8c686cb39a1490b8738037a70a9926d8260891 (patch) | |
tree | 3b1ede7af76cc89884ea1bba650dd0cc6442f9f6 /cervisia/CMakeLists.txt | |
parent | 02c8258b5adb8e5025937fd96f5b1a585a9096a6 (diff) | |
download | tdesdk-bb8c686cb39a1490b8738037a70a9926d8260891.tar.gz tdesdk-bb8c686cb39a1490b8738037a70a9926d8260891.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 7fa2dd79a4f7711a65b45724448c1529dfb94e9f)
Diffstat (limited to 'cervisia/CMakeLists.txt')
-rw-r--r-- | cervisia/CMakeLists.txt | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/cervisia/CMakeLists.txt b/cervisia/CMakeLists.txt index 2a0b4523..a2edf936 100644 --- a/cervisia/CMakeLists.txt +++ b/cervisia/CMakeLists.txt @@ -32,9 +32,10 @@ link_directories( tde_install_icons( ) -install( FILES - cervisia.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE cervisia.desktop + PO_DIR cervisia-desktops +) install( FILES cervisiapart.kcfg @@ -44,9 +45,16 @@ install( FILES cervisiaui.rc DESTINATION ${DATA_INSTALL_DIR}/cervisiapart ) -install( FILES - cervisiashellui.rc eventsrc - DESTINATION ${DATA_INSTALL_DIR}/cervisia ) +install( + FILES cervisiashellui.rc + DESTINATION ${DATA_INSTALL_DIR}/cervisia +) + +tde_create_translated_desktop( + SOURCE eventsrc + DESTINATION ${DATA_INSTALL_DIR}/cervisia + PO_DIR cervisia-eventsrc +) install( FILES cervisia.upd |