diff options
author | Slávek Banko <[email protected]> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-24 15:49:49 +0200 |
commit | a1066b66a7b397f1cdac40d6970b9640184fe8f6 (patch) | |
tree | 023614a603e30a1f7a3ae99c3bbc366fcb4b2178 /kregexpeditor/CMakeLists.txt | |
parent | 2f27665e4d477b9016dc38bf4d83945a371f9c0d (diff) | |
download | tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.tar.gz tdeutils-a1066b66a7b397f1cdac40d6970b9640184fe8f6.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 296306a273438f476ab2266d1c03616de1fd5ef7)
Diffstat (limited to 'kregexpeditor/CMakeLists.txt')
-rw-r--r-- | kregexpeditor/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kregexpeditor/CMakeLists.txt b/kregexpeditor/CMakeLists.txt index 777fcaa..358ca6a 100644 --- a/kregexpeditor/CMakeLists.txt +++ b/kregexpeditor/CMakeLists.txt @@ -100,11 +100,13 @@ tde_install_icons( ) ##### other data ################################ -install( FILES kregexpeditor.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} +tde_create_translated_desktop( + SOURCE kregexpeditor.desktop + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kregexpeditor-desktops ) -install( FILES kregexpeditorgui.desktop +tde_create_translated_desktop( + SOURCE kregexpeditorgui.desktop DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kregexpeditor-desktops ) - |