summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-03-07 16:33:56 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-03-07 16:34:08 +0100
commit2898e2f7092f025748b0a3ed9a569f48f2b20cc5 (patch)
tree532ca44ecbc5ac37c26d5e37af5ff10f7d0100c0 /src
parent614bc214cbfa33854274f07c25641fd9c60362c1 (diff)
downloadklamav-2898e2f7092f025748b0a3ed9a569f48f2b20cc5.tar.gz
klamav-2898e2f7092f025748b0a3ed9a569f48f2b20cc5.zip
Change the name of templates for translations to be in the usual way.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt4
-rw-r--r--src/CMakeLists.txt7
2 files changed, 3 insertions, 8 deletions
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}
)