summaryrefslogtreecommitdiffstats
path: root/src/servicemenus/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-04-02 03:50:33 +0200
committerSlávek Banko <[email protected]>2020-04-02 03:56:15 +0200
commit591bf5a55a275960dcee2eb197c59ee7622beef9 (patch)
tree41f5c749683da5700110c249d28ef841057bc5d9 /src/servicemenus/CMakeLists.txt
parent9933ac94c7259bf59707fbb4eefc62300399c4e8 (diff)
downloaddolphin-591bf5a55a275960dcee2eb197c59ee7622beef9.tar.gz
dolphin-591bf5a55a275960dcee2eb197c59ee7622beef9.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 ca29362cc0790deb7d56eaa156081ef196323934)
Diffstat (limited to 'src/servicemenus/CMakeLists.txt')
-rw-r--r--src/servicemenus/CMakeLists.txt48
1 files changed, 8 insertions, 40 deletions
diff --git a/src/servicemenus/CMakeLists.txt b/src/servicemenus/CMakeLists.txt
index 41af136..96e5803 100644
--- a/src/servicemenus/CMakeLists.txt
+++ b/src/servicemenus/CMakeLists.txt
@@ -1,41 +1,9 @@
-#################################################
-#
-# (C) 2010-2011 Serghei Amelian
-# serghei (DOT) amelian (AT) gmail.com
-#
-# Improvements and feedback are welcome
-#
-# This file is released under GPL >= 2
-#
-#################################################
+file( GLOB _services RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop )
-install( FILES
- compress.desktop amarok_addaspodcast.desktop
- amarok_append.desktop amarok_play_audiocd.desktop
- ark_compress.desktop ark_extract.desktop
- ark_extract_subdir.desktop d3lphin_su.desktop
- edit_as_root.desktop encryptfile.desktop
- encryptfolder.desktop floppy_format.desktop
- imageconverter.desktop installfont.desktop
- jpegorient.desktop k3b_audiocd_rip.desktop
- k3b_cd_copy.desktop k3b_create_audio_cd.desktop
- k3b_create_video_cd.desktop k3b_dvd_copy.desktop
- k3b_handle_empty_cd.desktop k3b_handle_empty_dvd.desktop
- k3b_videodvd_rip.desktop k3b_write_bin_image.desktop
- k3b_write_iso_image.desktop kdesktopSetAsBackground.desktop
- konqgwenview.desktop
- mail_as_attachment.desktop media_eject.desktop
- media_mount.desktop media_realfolder.desktop
- media_safelyremove.desktop media_unmount.desktop
- open_in_digikam.desktop run_as_root.desktop smb2rdc.desktop
- terminalhere.desktop
- text-ada-print.desktop text-c++-print.desktop
- text-c++h-print.desktop text-ch-print.desktop
- text-css-print.desktop text-diff-print.desktop
- text-html-print.desktop text-java-print.desktop
- text-log-print.desktop text-makefile-print.desktop
- text-pas-print.desktop text-perl-print.desktop
- text-print.desktop text-python-print.desktop
- text-tcl-print.desktop text-tex-print.desktop
- text-xml-print.desktop text-xslt-print.desktop
- DESTINATION ${DATA_INSTALL_DIR}/d3lphin/servicemenus )
+foreach( _service ${_services} )
+ tde_create_translated_desktop(
+ SOURCE ${_service}
+ DESTINATION ${DATA_INSTALL_DIR}/d3lphin/servicemenus
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/servicemenus
+ )
+endforeach( )