diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-15 20:12:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-15 20:12:47 +0200 |
commit | cb8cda7bca532df21c02bc4d2bfd03387df7f852 (patch) | |
tree | 7f6b988c304024c9a45bccc2070790b65b95553e /konq-plugins/kimgalleryplugin/CMakeLists.txt | |
parent | 41f27d91571102626d9aae843adbe070fcb5aef3 (diff) | |
download | tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.tar.gz tdeaddons-cb8cda7bca532df21c02bc4d2bfd03387df7f852.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>
Diffstat (limited to 'konq-plugins/kimgalleryplugin/CMakeLists.txt')
-rw-r--r-- | konq-plugins/kimgalleryplugin/CMakeLists.txt | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/konq-plugins/kimgalleryplugin/CMakeLists.txt b/konq-plugins/kimgalleryplugin/CMakeLists.txt index 59cd812..0115e27 100644 --- a/konq-plugins/kimgalleryplugin/CMakeLists.txt +++ b/konq-plugins/kimgalleryplugin/CMakeLists.txt @@ -29,14 +29,30 @@ tde_install_icons( imagegallery ) ##### other data ################################ -install( FILES kimgalleryplugin.rc kimgalleryplugin.desktop +install( + FILES kimgalleryplugin.rc DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins ) -install( FILES kimgalleryplugin.rc kimgalleryplugin.desktop +tde_create_translated_desktop( + SOURCE kimgalleryplugin.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqiconview/kpartplugins + PO_DIR konq-plugins-desktops +) + +install( + FILES kimgalleryplugin.rc + DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins +) + +tde_create_translated_desktop( + SOURCE kimgalleryplugin.desktop DESTINATION ${DATA_INSTALL_DIR}/konqlistview/kpartplugins + PO_DIR konq-plugins-desktops ) -install( FILES kimgalleryplugin.desktop +tde_create_translated_desktop( + SOURCE kimgalleryplugin.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden + PO_DIR konq-plugins-desktops ) |