summaryrefslogtreecommitdiffstats
path: root/src/CMakeL10n.txt
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-30 21:06:57 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-30 21:31:49 +0200
commit891c6cc5a45d1d05e3ac06e62a31ae65db4f125b (patch)
tree11485f3e1a68f5e75f86cb008c64a152c0578079 /src/CMakeL10n.txt
parent807ddc214a6f312ec23837fc6e0f6f3c96b836a4 (diff)
downloadklamav-891c6cc5a45d1d05e3ac06e62a31ae65db4f125b.tar.gz
klamav-891c6cc5a45d1d05e3ac06e62a31ae65db4f125b.zip
Reworked desktop files translation.
The translations themselves are now stored separately from the .desktop files and the eventsrc. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/CMakeL10n.txt')
-rw-r--r--src/CMakeL10n.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 113076e..ac6c199 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -3,11 +3,12 @@
tde_l10n_create_template( "messages/klamav" )
tde_l10n_create_template(
- CATALOG "desktop_files/klamav.desktop/"
- SOURCES klamav.desktop
+ CATALOG "desktop_files/"
+ SOURCES *.desktop
)
tde_l10n_create_template(
- CATALOG "desktop_files/klamav-dropdown.desktop/"
- SOURCES klamav-dropdown.desktop
+ CATALOG "desktop_files/klamav-eventsrc/"
+ SOURCES eventsrc
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
)