diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-04-02 03:50:33 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-04-02 03:50:33 +0200 |
commit | ca29362cc0790deb7d56eaa156081ef196323934 (patch) | |
tree | 4251570af63b8173161a1a59d6ed616594f70d16 /src/servicemenus/CMakeLists.txt | |
parent | 1492f4ef59236fa491af44334959aeb3edaf60ff (diff) | |
download | dolphin-ca29362cc0790deb7d56eaa156081ef196323934.tar.gz dolphin-ca29362cc0790deb7d56eaa156081ef196323934.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 'src/servicemenus/CMakeLists.txt')
-rw-r--r-- | src/servicemenus/CMakeLists.txt | 48 |
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( ) |