diff options
65 files changed, 140 insertions, 197 deletions
diff --git a/interfaces/khexedit/CMakeLists.txt b/interfaces/khexedit/CMakeLists.txt index 0150da49f..a94dfd66b 100644 --- a/interfaces/khexedit/CMakeLists.txt +++ b/interfaces/khexedit/CMakeLists.txt @@ -22,5 +22,5 @@ install( FILES tde_create_translated_desktop( SOURCE kbytesedit.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops + PO_DIR interfaces-desktops ) diff --git a/interfaces/kregexpeditor/CMakeLists.txt b/interfaces/kregexpeditor/CMakeLists.txt index 9781763d1..4010eb538 100644 --- a/interfaces/kregexpeditor/CMakeLists.txt +++ b/interfaces/kregexpeditor/CMakeLists.txt @@ -20,5 +20,5 @@ install( FILES tde_create_translated_desktop( SOURCE kregexpeditor.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops + PO_DIR interfaces-desktops ) diff --git a/interfaces/kspeech/CMakeLists.txt b/interfaces/kspeech/CMakeLists.txt index 274e6e731..8bed797e9 100644 --- a/interfaces/kspeech/CMakeLists.txt +++ b/interfaces/kspeech/CMakeLists.txt @@ -21,5 +21,5 @@ install( FILES tde_create_translated_desktop( SOURCE dcoptexttospeech.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops + PO_DIR interfaces-desktops ) diff --git a/interfaces/tdeimproxy/interface/CMakeLists.txt b/interfaces/tdeimproxy/interface/CMakeLists.txt index 1c722de02..8712afafe 100644 --- a/interfaces/tdeimproxy/interface/CMakeLists.txt +++ b/interfaces/tdeimproxy/interface/CMakeLists.txt @@ -21,11 +21,11 @@ install( FILES tde_create_translated_desktop( SOURCE kcm_instantmessenger.desktop DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops + PO_DIR interfaces-desktops ) tde_create_translated_desktop( SOURCE dcopinstantmessenger.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops + PO_DIR interfaces-desktops ) diff --git a/interfaces/tdemediaplayer/CMakeLists.txt b/interfaces/tdemediaplayer/CMakeLists.txt index ba0a8c475..549a9a794 100644 --- a/interfaces/tdemediaplayer/CMakeLists.txt +++ b/interfaces/tdemediaplayer/CMakeLists.txt @@ -38,16 +38,13 @@ install( FILES ##### other data ################################ -foreach( _service +tde_create_translated_desktop( + SOURCE tdemediaplayerengine.desktop tdemediaplayer.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR interfaces-desktops ) - tde_create_translated_desktop( - SOURCE ${_service} - DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops - ) -endforeach() ##### tdemediaplayer ############################## diff --git a/interfaces/tdescript/CMakeLists.txt b/interfaces/tdescript/CMakeLists.txt index 276c6fb94..27d763925 100644 --- a/interfaces/tdescript/CMakeLists.txt +++ b/interfaces/tdescript/CMakeLists.txt @@ -40,7 +40,7 @@ install( FILES tde_create_translated_desktop( SOURCE scriptinterface.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops + PO_DIR interfaces-desktops ) diff --git a/interfaces/tdescript/sample/CMakeLists.txt b/interfaces/tdescript/sample/CMakeLists.txt index 8356f6ac8..b62bbd481 100644 --- a/interfaces/tdescript/sample/CMakeLists.txt +++ b/interfaces/tdescript/sample/CMakeLists.txt @@ -28,7 +28,7 @@ link_directories( tde_create_translated_desktop( SOURCE shellscript.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops + PO_DIR interfaces-desktops ) diff --git a/interfaces/tdetexteditor/CMakeLists.txt b/interfaces/tdetexteditor/CMakeLists.txt index 1849af27e..fdfdf228f 100644 --- a/interfaces/tdetexteditor/CMakeLists.txt +++ b/interfaces/tdetexteditor/CMakeLists.txt @@ -51,22 +51,19 @@ install( FILES ##### other data ################################ -foreach( _service +tde_create_translated_desktop( + SOURCE tdetexteditor.desktop tdetexteditoreditor.desktop tdetexteditorplugin.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR interfaces-desktops ) - tde_create_translated_desktop( - SOURCE ${_service} - DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops - ) -endforeach() tde_create_translated_desktop( SOURCE kcm_tdetexteditor.desktop DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/interfaces-desktops + PO_DIR interfaces-desktops ) diff --git a/kate/data/CMakeLists.txt b/kate/data/CMakeLists.txt index e87517a75..6c9e158cb 100644 --- a/kate/data/CMakeLists.txt +++ b/kate/data/CMakeLists.txt @@ -14,7 +14,7 @@ tde_create_translated_desktop( SOURCE katepart.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops + PO_DIR kate-desktops ) install( FILES diff --git a/kate/plugins/insertfile/CMakeLists.txt b/kate/plugins/insertfile/CMakeLists.txt index db60547ae..a487611f8 100644 --- a/kate/plugins/insertfile/CMakeLists.txt +++ b/kate/plugins/insertfile/CMakeLists.txt @@ -32,7 +32,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdetexteditor_insertfile.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops + PO_DIR kate-desktops ) install( FILES tdetexteditor_insertfileui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_insertfile ) diff --git a/kate/plugins/isearch/CMakeLists.txt b/kate/plugins/isearch/CMakeLists.txt index b27048597..a7bef9ac5 100644 --- a/kate/plugins/isearch/CMakeLists.txt +++ b/kate/plugins/isearch/CMakeLists.txt @@ -30,7 +30,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdetexteditor_isearch.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops + PO_DIR kate-desktops ) install( FILES tdetexteditor_isearchui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_isearch ) diff --git a/kate/plugins/kdatatool/CMakeLists.txt b/kate/plugins/kdatatool/CMakeLists.txt index 359ffbbc4..593afc743 100644 --- a/kate/plugins/kdatatool/CMakeLists.txt +++ b/kate/plugins/kdatatool/CMakeLists.txt @@ -32,7 +32,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdetexteditor_kdatatool.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops + PO_DIR kate-desktops ) install( FILES tdetexteditor_kdatatoolui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_kdatatool ) diff --git a/kate/plugins/wordcompletion/CMakeLists.txt b/kate/plugins/wordcompletion/CMakeLists.txt index 3dbd24e29..dbdc7e494 100644 --- a/kate/plugins/wordcompletion/CMakeLists.txt +++ b/kate/plugins/wordcompletion/CMakeLists.txt @@ -28,7 +28,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdetexteditor_docwordcompletion.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops + PO_DIR kate-desktops ) install( FILES docwordcompletionui.rc DESTINATION ${DATA_INSTALL_DIR}/tdetexteditor_docwordcompletion ) diff --git a/kate/scripts/CMakeLists.txt b/kate/scripts/CMakeLists.txt index b01e9f1db..fbb1b3576 100644 --- a/kate/scripts/CMakeLists.txt +++ b/kate/scripts/CMakeLists.txt @@ -14,7 +14,7 @@ tde_create_translated_desktop( SOURCE jstest.desktop DESTINATION ${DATA_INSTALL_DIR}/katepart/scripts - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kate-desktops + PO_DIR kate-desktops ) install( FILES diff --git a/mimetypes/CMakeLists.txt b/mimetypes/CMakeLists.txt index da5ad54c3..1bbbbee10 100644 --- a/mimetypes/CMakeLists.txt +++ b/mimetypes/CMakeLists.txt @@ -22,10 +22,8 @@ add_subdirectory( uri ) ##### other data ################################ -foreach( _mimetype all.desktop allfiles.desktop ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/all - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() +tde_create_translated_desktop( + SOURCE all.desktop allfiles.desktop + DESTINATION ${MIME_INSTALL_DIR}/all + PO_DIR mimetypes +) diff --git a/mimetypes/application/CMakeLists.txt b/mimetypes/application/CMakeLists.txt index b2c226bcc..a602edcb5 100644 --- a/mimetypes/application/CMakeLists.txt +++ b/mimetypes/application/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-dvi.desktop x-gzdvi.desktop x-bz2dvi.desktop x-tex-gf.desktop x-gzip.desktop x-pak.desktop x-object.desktop x-tex-pk.desktop pdf.desktop @@ -103,13 +104,9 @@ foreach( _mimetype vnd.ms-powerpoint.template.macroEnabled.12.desktop vnd.ms-powerpoint.slideshow.macroEnabled.12.desktop x-lzma.desktop x-tlzma.desktop x-lzip.desktop x-tlz.desktop x-txz.desktop x-xz.desktop + DESTINATION ${MIME_INSTALL_DIR}/application + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/application - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-applix.desktop ) install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/application RENAME x-oowriter.desktop ) diff --git a/mimetypes/audio/CMakeLists.txt b/mimetypes/audio/CMakeLists.txt index 5a588d90b..55719803a 100644 --- a/mimetypes/audio/CMakeLists.txt +++ b/mimetypes/audio/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-wav.desktop x-mod.desktop x-midi.desktop x-mp3.desktop x-mp2.desktop mp4.desktop mpeg.desktop basic.desktop x-adpcm.desktop x-aiff.desktop @@ -21,10 +22,6 @@ foreach( _mimetype x-flac.desktop x-oggflac.desktop x-speex.desktop x-matroska.desktop x-musepack.desktop ac3.desktop aac.desktop x-ms-wma.desktop prs.sid.desktop + DESTINATION ${MIME_INSTALL_DIR}/audio + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/audio - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/image/CMakeLists.txt b/mimetypes/image/CMakeLists.txt index 9b4403d76..0c4d13a38 100644 --- a/mimetypes/image/CMakeLists.txt +++ b/mimetypes/image/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE jpeg.desktop jpg.desktop tiff.desktop x-xpm.desktop x-xbm.desktop svg+xml.desktop svg-xml.desktop png.desktop gif.desktop fax-g3.desktop cgm.desktop x-bmp.desktop x-photo-cd.desktop x-eps.desktop x-ico.desktop @@ -22,12 +23,8 @@ foreach( _mimetype x-xcursor.desktop pjpeg.desktop x-exr.desktop x-rgb.desktop x-dds.desktop x-djvu.desktop x-djvu-2.desktop x-hdr.desktop fits.desktop x-raw.desktop + DESTINATION ${MIME_INSTALL_DIR}/image + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/image - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/image RENAME wmf.desktop ) diff --git a/mimetypes/inode/CMakeLists.txt b/mimetypes/inode/CMakeLists.txt index 3c19fac8b..463c87b69 100644 --- a/mimetypes/inode/CMakeLists.txt +++ b/mimetypes/inode/CMakeLists.txt @@ -11,13 +11,10 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE block.desktop chardevice.desktop directory-locked.desktop directory.desktop fifo.desktop socket.desktop + DESTINATION ${MIME_INSTALL_DIR}/inode + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/inode - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/message/CMakeLists.txt b/mimetypes/message/CMakeLists.txt index 875a939e2..9eb7bb99a 100644 --- a/mimetypes/message/CMakeLists.txt +++ b/mimetypes/message/CMakeLists.txt @@ -11,12 +11,9 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE rfc822.desktop news.desktop + DESTINATION ${MIME_INSTALL_DIR}/message + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/message - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/model/CMakeLists.txt b/mimetypes/model/CMakeLists.txt index 49c21f98b..4aa0d53ed 100644 --- a/mimetypes/model/CMakeLists.txt +++ b/mimetypes/model/CMakeLists.txt @@ -11,12 +11,9 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE vrml.desktop + DESTINATION ${MIME_INSTALL_DIR}/model + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/model - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/multipart/CMakeLists.txt b/mimetypes/multipart/CMakeLists.txt index 186c13b68..d531590b7 100644 --- a/mimetypes/multipart/CMakeLists.txt +++ b/mimetypes/multipart/CMakeLists.txt @@ -11,12 +11,9 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE mixed.desktop x-mixed-replace.desktop + DESTINATION ${MIME_INSTALL_DIR}/multipart + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/multipart - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/text/CMakeLists.txt b/mimetypes/text/CMakeLists.txt index d76b114eb..918024dce 100644 --- a/mimetypes/text/CMakeLists.txt +++ b/mimetypes/text/CMakeLists.txt @@ -11,7 +11,8 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE x-c++src.desktop x-c++hdr.desktop x-csrc.desktop x-java.desktop x-makefile.desktop x-moc.desktop x-pascal.desktop x-objchdr.desktop x-tcl.desktop x-tex.desktop html.desktop plain.desktop enriched.desktop x-chdr.desktop @@ -20,12 +21,8 @@ foreach( _mimetype x-bibtex.desktop rdf.desktop rss.desktop calendar.desktop x-adasrc.desktop x-perl.desktop x-csv.desktop x-latex.desktop x-xslfo.desktop x-xslt.desktop vnd.wap.wml.desktop x-katefilelist.desktop docbook.desktop x-mswinurl.desktop x-hex.desktop vnd.abc.desktop javascript.desktop x-python.desktop + DESTINATION ${MIME_INSTALL_DIR}/text + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/text - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() install( FILES uninstall.desktop DESTINATION ${MIME_INSTALL_DIR}/text RENAME x-lyx.desktop ) diff --git a/mimetypes/uri/CMakeLists.txt b/mimetypes/uri/CMakeLists.txt index c67c92223..51b5d38d0 100644 --- a/mimetypes/uri/CMakeLists.txt +++ b/mimetypes/uri/CMakeLists.txt @@ -11,12 +11,9 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE mms.desktop mmst.desktop mmsu.desktop pnm.desktop rtspt.desktop rtspu.desktop + DESTINATION ${MIME_INSTALL_DIR}/uri + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/uri - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/mimetypes/video/CMakeLists.txt b/mimetypes/video/CMakeLists.txt index 949a07a3e..6b64338f0 100644 --- a/mimetypes/video/CMakeLists.txt +++ b/mimetypes/video/CMakeLists.txt @@ -11,15 +11,12 @@ ##### other data ################################ -foreach( _mimetype +tde_create_translated_desktop( + SOURCE mpeg.desktop quicktime.desktop x-flic.desktop x-flv.desktop x-msvideo.desktop x-mng.desktop x-ms-asf.desktop x-ms-wmv.desktop x-theora.desktop mp4.desktop x-ogm.desktop x-matroska.desktop vnd.rn-realvideo.desktop avi.desktop + DESTINATION ${MIME_INSTALL_DIR}/video + PO_DIR mimetypes ) - tde_create_translated_desktop( - SOURCE ${_mimetype} - DESTINATION ${MIME_INSTALL_DIR}/video - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/mimetypes - ) -endforeach() diff --git a/tdeabc/CMakeLists.txt b/tdeabc/CMakeLists.txt index 54870047c..f3ed187dd 100644 --- a/tdeabc/CMakeLists.txt +++ b/tdeabc/CMakeLists.txt @@ -62,13 +62,13 @@ install( FILES tde_create_translated_desktop( SOURCE tdeab2tdeabc.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) tde_create_translated_desktop( SOURCE tdeabc_manager.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) install( FILES countrytransl.map DESTINATION ${DATA_INSTALL_DIR}/tdeabc ) diff --git a/tdeabc/formats/CMakeLists.txt b/tdeabc/formats/CMakeLists.txt index d5432a1f1..c40e80d75 100644 --- a/tdeabc/formats/CMakeLists.txt +++ b/tdeabc/formats/CMakeLists.txt @@ -32,7 +32,7 @@ link_directories( tde_create_translated_desktop( SOURCE binary.desktop DESTINATION ${DATA_INSTALL_DIR}/tdeabc/formats - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdeabc/plugins/dir/CMakeLists.txt b/tdeabc/plugins/dir/CMakeLists.txt index 5dbf15a9d..4561f7c7a 100644 --- a/tdeabc/plugins/dir/CMakeLists.txt +++ b/tdeabc/plugins/dir/CMakeLists.txt @@ -42,7 +42,7 @@ install( FILES tde_create_translated_desktop( SOURCE dir.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdeabc/plugins/file/CMakeLists.txt b/tdeabc/plugins/file/CMakeLists.txt index 008f7b656..bd0f4d713 100644 --- a/tdeabc/plugins/file/CMakeLists.txt +++ b/tdeabc/plugins/file/CMakeLists.txt @@ -42,7 +42,7 @@ install( FILES tde_create_translated_desktop( SOURCE file.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdeabc/plugins/ldaptdeio/CMakeLists.txt b/tdeabc/plugins/ldaptdeio/CMakeLists.txt index 82ed19792..ee2867d23 100644 --- a/tdeabc/plugins/ldaptdeio/CMakeLists.txt +++ b/tdeabc/plugins/ldaptdeio/CMakeLists.txt @@ -42,7 +42,7 @@ install( FILES tde_create_translated_desktop( SOURCE ldaptdeio.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdeabc/plugins/net/CMakeLists.txt b/tdeabc/plugins/net/CMakeLists.txt index f5b79bee9..532e82755 100644 --- a/tdeabc/plugins/net/CMakeLists.txt +++ b/tdeabc/plugins/net/CMakeLists.txt @@ -42,7 +42,7 @@ install( FILES tde_create_translated_desktop( SOURCE net.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/tdeabc - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeabc-desktops + PO_DIR tdeabc-desktops ) diff --git a/tdecore/CMakeLists.txt b/tdecore/CMakeLists.txt index dd05da36c..835ecd1d5 100644 --- a/tdecore/CMakeLists.txt +++ b/tdecore/CMakeLists.txt @@ -98,7 +98,7 @@ install( FILES kmdcodec_compat.h tde_create_translated_desktop( SOURCE eventsrc DESTINATION ${DATA_INSTALL_DIR}/knotify - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdecore-eventsrc + PO_DIR tdecore-eventsrc ) ##### libtdecore ################################ diff --git a/tdefile-plugins/elf/CMakeLists.txt b/tdefile-plugins/elf/CMakeLists.txt index c5f1ac0dc..2ae228a32 100644 --- a/tdefile-plugins/elf/CMakeLists.txt +++ b/tdefile-plugins/elf/CMakeLists.txt @@ -32,7 +32,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdefile_elf.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdefile-desktops + PO_DIR tdefile-desktops ) diff --git a/tdehtml/CMakeLists.txt b/tdehtml/CMakeLists.txt index f133e5f6c..cb0aaa336 100644 --- a/tdehtml/CMakeLists.txt +++ b/tdehtml/CMakeLists.txt @@ -59,13 +59,11 @@ install( FILES ##### other data ################################ -foreach( _service tdehtml.desktop tdehtmlimage.desktop ) - tde_create_translated_desktop( - SOURCE ${_service} - DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops - ) -endforeach() +tde_create_translated_desktop( + SOURCE tdehtml.desktop tdehtmlimage.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdehtml-desktops +) install( FILES tdehtml.rc tdehtml_browser.rc tdehtml_popupmenu.rc DESTINATION ${DATA_INSTALL_DIR}/tdehtml ) diff --git a/tdehtml/java/CMakeLists.txt b/tdehtml/java/CMakeLists.txt index 38a45b24e..dd670cdce 100644 --- a/tdehtml/java/CMakeLists.txt +++ b/tdehtml/java/CMakeLists.txt @@ -42,7 +42,7 @@ configure_file( kjava.policy.in kjava.policy @ONLY ) tde_create_translated_desktop( SOURCE kjavaappletviewer.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops + PO_DIR tdehtml-desktops ) install( FILES kjava.jar ${CMAKE_CURRENT_BINARY_DIR}/kjava.policy pluginsinfo DESTINATION ${DATA_INSTALL_DIR}/kjava ) diff --git a/tdehtml/tdemultipart/CMakeLists.txt b/tdehtml/tdemultipart/CMakeLists.txt index a16c25978..65ca8733b 100644 --- a/tdehtml/tdemultipart/CMakeLists.txt +++ b/tdehtml/tdemultipart/CMakeLists.txt @@ -33,7 +33,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdemultipart.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdehtml-desktops + PO_DIR tdehtml-desktops ) diff --git a/tdeio/CMakeLists.txt b/tdeio/CMakeLists.txt index 2a8fc7f3a..26bfc53aa 100644 --- a/tdeio/CMakeLists.txt +++ b/tdeio/CMakeLists.txt @@ -44,17 +44,14 @@ add_custom_target( install( FILES tdeio.magic ${CMAKE_CURRENT_BINARY_DIR}/tdeio.magic.mgc DESTINATION ${CONFIG_INSTALL_DIR}/magic ) -foreach( _service +tde_create_translated_desktop( + SOURCE application.desktop kurifilterplugin.desktop kcomprfilter.desktop kscan.desktop kdatatool.desktop tdefileplugin.desktop tdecmodule.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR tdeio-desktops ) - tde_create_translated_desktop( - SOURCE ${_service} - DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops - ) -endforeach() install( FILES tdeioslave.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) @@ -63,19 +60,19 @@ install( PROGRAMS useragent.pl proxytype.pl DESTINATION ${KCONF_UPDATE_INSTALL_D tde_create_translated_desktop( SOURCE renamedlgplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops + PO_DIR tdeio-desktops ) tde_create_translated_desktop( SOURCE kpasswdserver.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops + PO_DIR tdeio-desktops ) tde_create_translated_desktop( SOURCE data.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops + PO_DIR tdeio-desktops ) diff --git a/tdeio/misc/CMakeLists.txt b/tdeio/misc/CMakeLists.txt index 0b75b5103..ad25c8e0d 100644 --- a/tdeio/misc/CMakeLists.txt +++ b/tdeio/misc/CMakeLists.txt @@ -46,18 +46,15 @@ install( FILES uiserver.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio ) ##### other data ################################ -foreach( _service +tde_create_translated_desktop( + SOURCE tdeio_uiserver.desktop tdemailservice.protocol telnet.protocol rlogin.protocol rtsp.protocol ssh.protocol mms.protocol mmst.protocol mmsu.protocol pnm.protocol rtspt.protocol rtspu.protocol + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdeio-desktops ) - tde_create_translated_desktop( - SOURCE ${_service} - DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops - ) -endforeach() install( FILES fileshareset DESTINATION ${BIN_INSTALL_DIR} PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE SETUID ) diff --git a/tdeio/misc/kpac/CMakeLists.txt b/tdeio/misc/kpac/CMakeLists.txt index bd41c5887..a98625dc6 100644 --- a/tdeio/misc/kpac/CMakeLists.txt +++ b/tdeio/misc/kpac/CMakeLists.txt @@ -33,13 +33,13 @@ link_directories( tde_create_translated_desktop( SOURCE proxyscout.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops + PO_DIR tdeio-desktops ) tde_create_translated_desktop( SOURCE eventsrc DESTINATION ${DATA_INSTALL_DIR}/proxyscout - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-kpac-eventsrc + PO_DIR tdeio-kpac-eventsrc ) diff --git a/tdeio/misc/kssld/CMakeLists.txt b/tdeio/misc/kssld/CMakeLists.txt index d92daa1b8..cb2c98c42 100644 --- a/tdeio/misc/kssld/CMakeLists.txt +++ b/tdeio/misc/kssld/CMakeLists.txt @@ -31,7 +31,7 @@ link_directories( tde_create_translated_desktop( SOURCE kssld.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops + PO_DIR tdeio-desktops ) diff --git a/tdeio/misc/tdewalletd/CMakeLists.txt b/tdeio/misc/tdewalletd/CMakeLists.txt index b67bd2e9e..78149218f 100644 --- a/tdeio/misc/tdewalletd/CMakeLists.txt +++ b/tdeio/misc/tdewalletd/CMakeLists.txt @@ -32,7 +32,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdewalletd.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops + PO_DIR tdeio-desktops ) diff --git a/tdeio/tdefile/CMakeLists.txt b/tdeio/tdefile/CMakeLists.txt index 67f228477..142c06398 100644 --- a/tdeio/tdefile/CMakeLists.txt +++ b/tdeio/tdefile/CMakeLists.txt @@ -50,7 +50,7 @@ install( FILES tde_create_translated_desktop( SOURCE kpropsdlgplugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeio-desktops + PO_DIR tdeio-desktops ) diff --git a/tdeioslave/bzip2/CMakeLists.txt b/tdeioslave/bzip2/CMakeLists.txt index f712a2369..5a7fef53a 100644 --- a/tdeioslave/bzip2/CMakeLists.txt +++ b/tdeioslave/bzip2/CMakeLists.txt @@ -27,7 +27,7 @@ link_directories( tde_create_translated_desktop( SOURCE kbzip2filter.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/file/CMakeLists.txt b/tdeioslave/file/CMakeLists.txt index 783c002dd..6456e962b 100644 --- a/tdeioslave/file/CMakeLists.txt +++ b/tdeioslave/file/CMakeLists.txt @@ -35,7 +35,7 @@ install( FILES file.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio ) tde_create_translated_desktop( SOURCE file.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/ftp/CMakeLists.txt b/tdeioslave/ftp/CMakeLists.txt index bc0c764b7..7ef877e9d 100644 --- a/tdeioslave/ftp/CMakeLists.txt +++ b/tdeioslave/ftp/CMakeLists.txt @@ -29,7 +29,7 @@ link_directories( tde_create_translated_desktop( SOURCE ftp.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/gzip/CMakeLists.txt b/tdeioslave/gzip/CMakeLists.txt index ae4e6563c..9d05d57de 100644 --- a/tdeioslave/gzip/CMakeLists.txt +++ b/tdeioslave/gzip/CMakeLists.txt @@ -26,7 +26,7 @@ link_directories( tde_create_translated_desktop( SOURCE kgzipfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/http/CMakeLists.txt b/tdeioslave/http/CMakeLists.txt index c29782570..a1a6c296a 100644 --- a/tdeioslave/http/CMakeLists.txt +++ b/tdeioslave/http/CMakeLists.txt @@ -32,16 +32,13 @@ link_directories( ##### other data ################################ -foreach( _desktop +tde_create_translated_desktop( + SOURCE http_cache_cleaner.desktop http.protocol https.protocol webdav.protocol webdavs.protocol + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdeioslave-desktops ) - tde_create_translated_desktop( - SOURCE ${_desktop} - DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops - ) -endforeach() ##### tdeio_http_cache_cleaner #################### diff --git a/tdeioslave/http/kcookiejar/CMakeLists.txt b/tdeioslave/http/kcookiejar/CMakeLists.txt index 57feb62b2..5bf804615 100644 --- a/tdeioslave/http/kcookiejar/CMakeLists.txt +++ b/tdeioslave/http/kcookiejar/CMakeLists.txt @@ -30,7 +30,7 @@ link_directories( tde_create_translated_desktop( SOURCE kcookiejar.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) install( FILES kcookiescfg.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) diff --git a/tdeioslave/iso/CMakeLists.txt b/tdeioslave/iso/CMakeLists.txt index b26827a2d..baf35cfd3 100644 --- a/tdeioslave/iso/CMakeLists.txt +++ b/tdeioslave/iso/CMakeLists.txt @@ -33,25 +33,25 @@ link_directories( tde_create_translated_desktop( SOURCE iso.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) tde_create_translated_desktop( SOURCE isoservice.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) tde_create_translated_desktop( SOURCE tdeio_isorc DESTINATION ${CONFIG_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) tde_create_translated_desktop( SOURCE tdeio_iso.desktop DESTINATION ${APPS_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/metainfo/CMakeLists.txt b/tdeioslave/metainfo/CMakeLists.txt index e5903415e..11c55f7c1 100644 --- a/tdeioslave/metainfo/CMakeLists.txt +++ b/tdeioslave/metainfo/CMakeLists.txt @@ -28,7 +28,7 @@ link_directories( tde_create_translated_desktop( SOURCE metainfo.protocol DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeioslave/xz/CMakeLists.txt b/tdeioslave/xz/CMakeLists.txt index 484ab1238..c601453b6 100644 --- a/tdeioslave/xz/CMakeLists.txt +++ b/tdeioslave/xz/CMakeLists.txt @@ -27,7 +27,7 @@ link_directories( tde_create_translated_desktop( SOURCE kxzfilter.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeioslave-desktops + PO_DIR tdeioslave-desktops ) diff --git a/tdeparts/CMakeLists.txt b/tdeparts/CMakeLists.txt index 497b82ced..15029bf73 100644 --- a/tdeparts/CMakeLists.txt +++ b/tdeparts/CMakeLists.txt @@ -40,15 +40,12 @@ install( FILES ##### other data ################################ -foreach( _desktop +tde_create_translated_desktop( + SOURCE kpart.desktop krop.desktop krwp.desktop browserview.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR tdeparts-desktops ) - tde_create_translated_desktop( - SOURCE ${_desktop} - DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeparts-desktops - ) -endforeach() #### tdeparts ##################################### diff --git a/tdeprint/CMakeLists.txt b/tdeprint/CMakeLists.txt index 72c8517e7..df4cd978d 100644 --- a/tdeprint/CMakeLists.txt +++ b/tdeprint/CMakeLists.txt @@ -65,13 +65,13 @@ install( FILES testprint.ps DESTINATION ${DATA_INSTALL_DIR}/tdeprint ) tde_create_translated_desktop( SOURCE specials.desktop DESTINATION ${DATA_INSTALL_DIR}/tdeprint - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops + PO_DIR tdeprint-desktops ) tde_create_translated_desktop( SOURCE tdeprintd.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops + PO_DIR tdeprint-desktops ) install( FILES tdeprintrc DESTINATION ${CONFIG_INSTALL_DIR} ) diff --git a/tdeprint/cups/CMakeLists.txt b/tdeprint/cups/CMakeLists.txt index 8377d60be..831c4db83 100644 --- a/tdeprint/cups/CMakeLists.txt +++ b/tdeprint/cups/CMakeLists.txt @@ -43,7 +43,7 @@ link_directories( tde_create_translated_desktop( SOURCE cups.print DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops + PO_DIR tdeprint-desktops ) install( FILES preview.png preview-mini.png DESTINATION ${DATA_INSTALL_DIR}/tdeprint ) diff --git a/tdeprint/ext/CMakeLists.txt b/tdeprint/ext/CMakeLists.txt index f974e490a..58acf9c99 100644 --- a/tdeprint/ext/CMakeLists.txt +++ b/tdeprint/ext/CMakeLists.txt @@ -34,7 +34,7 @@ link_directories( tde_create_translated_desktop( SOURCE ext.print DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops + PO_DIR tdeprint-desktops ) diff --git a/tdeprint/filters/CMakeLists.txt b/tdeprint/filters/CMakeLists.txt index 4ef77f94f..3915eee6c 100644 --- a/tdeprint/filters/CMakeLists.txt +++ b/tdeprint/filters/CMakeLists.txt @@ -11,20 +11,17 @@ ##### other data ################################ -foreach( _desktop +tde_create_translated_desktop( + SOURCE enscript.desktop psnup.desktop imagetops.desktop pdfwrite.desktop psbook1.desktop psbook2.desktop psbook.desktop psselect.desktop ps2pdf.desktop pdf2ps.desktop poster.desktop + DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters + PO_DIR tdeprint-desktops ) - tde_create_translated_desktop( - SOURCE ${_desktop} - DESTINATION ${DATA_INSTALL_DIR}/tdeprint/filters - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops - ) -endforeach() install( FILES diff --git a/tdeprint/lpdunix/CMakeLists.txt b/tdeprint/lpdunix/CMakeLists.txt index c4afcfb1a..915e49922 100644 --- a/tdeprint/lpdunix/CMakeLists.txt +++ b/tdeprint/lpdunix/CMakeLists.txt @@ -36,7 +36,7 @@ link_directories( tde_create_translated_desktop( SOURCE lpdunix.print DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops + PO_DIR tdeprint-desktops ) diff --git a/tdeprint/lpr/CMakeLists.txt b/tdeprint/lpr/CMakeLists.txt index 0950a490e..dfd932150 100644 --- a/tdeprint/lpr/CMakeLists.txt +++ b/tdeprint/lpr/CMakeLists.txt @@ -44,7 +44,7 @@ install( FILES tde_create_translated_desktop( SOURCE lpr.print DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops + PO_DIR tdeprint-desktops ) install( FILES apsdriver1 apsdriver2 lprngtooldriver1 DESTINATION ${DATA_INSTALL_DIR}/tdeprint ) diff --git a/tdeprint/rlpr/CMakeLists.txt b/tdeprint/rlpr/CMakeLists.txt index 2918dc840..b72ed272f 100644 --- a/tdeprint/rlpr/CMakeLists.txt +++ b/tdeprint/rlpr/CMakeLists.txt @@ -37,7 +37,7 @@ link_directories( tde_create_translated_desktop( SOURCE rlpr.print DESTINATION ${DATA_INSTALL_DIR}/tdeprint/plugins - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops + PO_DIR tdeprint-desktops ) diff --git a/tdeprint/tools/escputil/CMakeLists.txt b/tdeprint/tools/escputil/CMakeLists.txt index 7a0caac02..13ea08eb8 100644 --- a/tdeprint/tools/escputil/CMakeLists.txt +++ b/tdeprint/tools/escputil/CMakeLists.txt @@ -27,7 +27,7 @@ link_directories( tde_create_translated_desktop( SOURCE escputil.desktop DESTINATION ${DATA_INSTALL_DIR}/tdeprint/tools - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdeprint-desktops + PO_DIR tdeprint-desktops ) diff --git a/tderesources/CMakeLists.txt b/tderesources/CMakeLists.txt index d3f9c5f30..32bde2f7f 100644 --- a/tderesources/CMakeLists.txt +++ b/tderesources/CMakeLists.txt @@ -38,17 +38,15 @@ install( FILES ##### other data ################################ -foreach( _desktop tderesources_plugin.desktop tderesources_manager.desktop ) - tde_create_translated_desktop( - SOURCE ${_desktop} - DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tderesources-desktops - ) -endforeach() +tde_create_translated_desktop( + SOURCE tderesources_plugin.desktop tderesources_manager.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR tderesources-desktops +) tde_create_translated_desktop( SOURCE tderesources.desktop - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tderesources-desktops + PO_DIR tderesources-desktops ) diff --git a/tdespell2/CMakeLists.txt b/tdespell2/CMakeLists.txt index 92f809ce2..6e5d2eafe 100644 --- a/tdespell2/CMakeLists.txt +++ b/tdespell2/CMakeLists.txt @@ -43,7 +43,7 @@ install( FILES tde_create_translated_desktop( SOURCE tdespellclient.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops + PO_DIR tdespell2-desktops ) diff --git a/tdespell2/plugins/aspell/CMakeLists.txt b/tdespell2/plugins/aspell/CMakeLists.txt index 30c93f1aa..7a6d1276b 100644 --- a/tdespell2/plugins/aspell/CMakeLists.txt +++ b/tdespell2/plugins/aspell/CMakeLists.txt @@ -29,7 +29,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdespell_aspell.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops + PO_DIR tdespell2-desktops ) diff --git a/tdespell2/plugins/hspell/CMakeLists.txt b/tdespell2/plugins/hspell/CMakeLists.txt index bd4a73ded..4a234b274 100644 --- a/tdespell2/plugins/hspell/CMakeLists.txt +++ b/tdespell2/plugins/hspell/CMakeLists.txt @@ -29,7 +29,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdespell_hspell.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops + PO_DIR tdespell2-desktops ) diff --git a/tdespell2/plugins/ispell/CMakeLists.txt b/tdespell2/plugins/ispell/CMakeLists.txt index 61aed5a19..ed673137b 100644 --- a/tdespell2/plugins/ispell/CMakeLists.txt +++ b/tdespell2/plugins/ispell/CMakeLists.txt @@ -28,7 +28,7 @@ link_directories( tde_create_translated_desktop( SOURCE tdespell_ispell.desktop DESTINATION ${SERVICES_INSTALL_DIR} - PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/tdespell2-desktops + PO_DIR tdespell2-desktops ) |