From 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 25 Jun 2020 13:36:35 +0200 Subject: Simplify CMake rules for desktop file translations. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kate/data/CMakeLists.txt | 2 +- kate/plugins/insertfile/CMakeLists.txt | 2 +- kate/plugins/isearch/CMakeLists.txt | 2 +- kate/plugins/kdatatool/CMakeLists.txt | 2 +- kate/plugins/wordcompletion/CMakeLists.txt | 2 +- kate/scripts/CMakeLists.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kate') 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 -- cgit v1.2.1