summaryrefslogtreecommitdiffstats
path: root/kmail/konqueror/servicemenus
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-07-12 16:15:10 +0200
committerSlávek Banko <[email protected]>2020-07-12 16:15:10 +0200
commit0d3043b6308af148da06ac14c53defc4b1e7e138 (patch)
tree2e9364cb143e70ee062e443275b852b8e2061888 /kmail/konqueror/servicemenus
parent7c7363c3ca7fb9633d93cefde3cd54b144eee633 (diff)
downloadtdepim-0d3043b6308af148da06ac14c53defc4b1e7e138.tar.gz
tdepim-0d3043b6308af148da06ac14c53defc4b1e7e138.zip
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kmail/konqueror/servicemenus')
-rw-r--r--kmail/konqueror/servicemenus/CMakeLists.txt8
-rw-r--r--kmail/konqueror/servicemenus/email.desktop3
2 files changed, 5 insertions, 6 deletions
diff --git a/kmail/konqueror/servicemenus/CMakeLists.txt b/kmail/konqueror/servicemenus/CMakeLists.txt
index 33e28a4f7..a5d62740a 100644
--- a/kmail/konqueror/servicemenus/CMakeLists.txt
+++ b/kmail/konqueror/servicemenus/CMakeLists.txt
@@ -9,6 +9,8 @@
#
#################################################
-install( FILES
- email.desktop
- DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
+tde_create_translated_desktop(
+ SOURCE email.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus
+ PO_DIR kmail-desktops
+)
diff --git a/kmail/konqueror/servicemenus/email.desktop b/kmail/konqueror/servicemenus/email.desktop
index 371022b3b..cb451f385 100644
--- a/kmail/konqueror/servicemenus/email.desktop
+++ b/kmail/konqueror/servicemenus/email.desktop
@@ -6,8 +6,5 @@ X-TDE-ExcludeServiceTypes=media/*
[Desktop Action Email]
Name=Email File
-Name[de]=Versenden als E-Mail
-Name[fr]=Envoyer par courriel
-Name[pl]=Wyślij plik w załączniku
Exec=kmail --attach %F
Icon=kmail