From 2898e2f7092f025748b0a3ed9a569f48f2b20cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 7 Mar 2021 16:33:56 +0100 Subject: [PATCH] Change the name of templates for translations to be in the usual way. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/CMakeL10n.txt | 4 ++-- src/CMakeLists.txt | 7 +------ .../desktop_files/{klamav-eventsrc => eventsrc}/eo.po | 0 .../klamav-eventsrc.pot => eventsrc/eventsrc.pot} | 0 .../{desktop_files.pot => klamav-desktops.pot} | 0 5 files changed, 3 insertions(+), 8 deletions(-) rename translations/desktop_files/{klamav-eventsrc => eventsrc}/eo.po (100%) rename translations/desktop_files/{klamav-eventsrc/klamav-eventsrc.pot => eventsrc/eventsrc.pot} (100%) rename translations/desktop_files/{desktop_files.pot => klamav-desktops.pot} (100%) diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt index ac6c199..ef47a97 100644 --- a/src/CMakeL10n.txt +++ b/src/CMakeL10n.txt @@ -3,12 +3,12 @@ tde_l10n_create_template( "messages/klamav" ) tde_l10n_create_template( - CATALOG "desktop_files/" + CATALOG "desktop_files/klamav-desktops" SOURCES *.desktop ) tde_l10n_create_template( - CATALOG "desktop_files/klamav-eventsrc/" + CATALOG "desktop_files/eventsrc/" SOURCES eventsrc DESTINATION "${CMAKE_SOURCE_DIR}/translations" ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 046fe3e..7af2caa 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -58,20 +58,15 @@ tde_add_executable( ${PROJECT_NAME} AUTOMOC ##### create translated desktop files -tde_create_translated_desktop( - SOURCE klamav.desktop - PO_DIR desktop_files/ -) +tde_create_translated_desktop( klamav.desktop ) tde_create_translated_desktop( SOURCE klamav-dropdown.desktop - PO_DIR desktop_files/ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus ) tde_create_translated_desktop( SOURCE eventsrc - PO_DIR klamav-eventsrc/ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} ) diff --git a/translations/desktop_files/klamav-eventsrc/eo.po b/translations/desktop_files/eventsrc/eo.po similarity index 100% rename from translations/desktop_files/klamav-eventsrc/eo.po rename to translations/desktop_files/eventsrc/eo.po diff --git a/translations/desktop_files/klamav-eventsrc/klamav-eventsrc.pot b/translations/desktop_files/eventsrc/eventsrc.pot similarity index 100% rename from translations/desktop_files/klamav-eventsrc/klamav-eventsrc.pot rename to translations/desktop_files/eventsrc/eventsrc.pot diff --git a/translations/desktop_files/desktop_files.pot b/translations/desktop_files/klamav-desktops.pot similarity index 100% rename from translations/desktop_files/desktop_files.pot rename to translations/desktop_files/klamav-desktops.pot