summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-03-07 16:33:56 +0100
committerSlávek Banko <[email protected]>2021-03-07 16:34:08 +0100
commit2898e2f7092f025748b0a3ed9a569f48f2b20cc5 (patch)
tree532ca44ecbc5ac37c26d5e37af5ff10f7d0100c0
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 <[email protected]>
-rw-r--r--src/CMakeL10n.txt4
-rw-r--r--src/CMakeLists.txt7
-rw-r--r--translations/desktop_files/eventsrc/eo.po (renamed from translations/desktop_files/klamav-eventsrc/eo.po)0
-rw-r--r--translations/desktop_files/eventsrc/eventsrc.pot (renamed from translations/desktop_files/klamav-eventsrc/klamav-eventsrc.pot)0
-rw-r--r--translations/desktop_files/klamav-desktops.pot (renamed from translations/desktop_files/desktop_files.pot)0
5 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}
)
diff --git a/translations/desktop_files/klamav-eventsrc/eo.po b/translations/desktop_files/eventsrc/eo.po
index 0e3c18f..0e3c18f 100644
--- a/translations/desktop_files/klamav-eventsrc/eo.po
+++ b/translations/desktop_files/eventsrc/eo.po
diff --git a/translations/desktop_files/klamav-eventsrc/klamav-eventsrc.pot b/translations/desktop_files/eventsrc/eventsrc.pot
index e654c36..e654c36 100644
--- a/translations/desktop_files/klamav-eventsrc/klamav-eventsrc.pot
+++ b/translations/desktop_files/eventsrc/eventsrc.pot
diff --git a/translations/desktop_files/desktop_files.pot b/translations/desktop_files/klamav-desktops.pot
index 66da359..66da359 100644
--- a/translations/desktop_files/desktop_files.pot
+++ b/translations/desktop_files/klamav-desktops.pot