diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2023-02-19 15:40:48 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2023-02-19 15:44:39 +0100 |
| commit | ece5ecce2586d96c8c3c10203f427510edc30f31 (patch) | |
| tree | ed92a1dc133e2a3f7456a369e9726bc119dbc8fa /configdialog/CMakeLists.txt | |
| parent | 9818b210e2163e93e67a40b75b7420feae9c4e16 (diff) | |
| download | kbfx-ece5ecce.tar.gz kbfx-ece5ecce.zip | |
Copy translations to a new directory layout.
Use common rules for build and install translations.
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'configdialog/CMakeLists.txt')
| -rw-r--r-- | configdialog/CMakeLists.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/configdialog/CMakeLists.txt b/configdialog/CMakeLists.txt index 1828f07..869f6ed 100644 --- a/configdialog/CMakeLists.txt +++ b/configdialog/CMakeLists.txt @@ -48,6 +48,15 @@ INSTALL(FILES kbfxconfigappui.rc DESTINATION ${DATA_INSTALL_DIR}/kbfxconfigapp) ##### desktop files ############################# -INSTALL(FILES kbfxconfigapp.desktop kbfx_theme.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) -INSTALL(FILES kbfx_install_theme.desktop kbfx_prepare_theme.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus) -INSTALL(FILES x-kbfxtheme.desktop DESTINATION ${MIME_INSTALL_DIR}/application) +tde_create_translated_desktop( + SOURCE kbfxconfigapp.desktop kbfx_theme.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) +tde_create_translated_desktop( + SOURCE kbfx_install_theme.desktop kbfx_prepare_theme.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus +) +tde_create_translated_desktop( + SOURCE x-kbfxtheme.desktop + DESTINATION ${MIME_INSTALL_DIR}/application +) |
