From 16e3b2cd0513089ab85cb0199b891abc9dd426ad Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 21 Apr 2020 10:58:08 -0600 Subject: [PATCH] Fix missing translation reported by Stefan Unverricht --- mail/inc/class.mail_compose.inc.php | 2 +- mail/lang/egw_de.lang | 1 + mail/lang/egw_en.lang | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index a7f90583e1..bbc80f073f 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -3829,7 +3829,7 @@ class mail_compose try { $sender_cert = $AB->get_smime_keys($sender); - if (!$sender_cert) throw new Exception("S/MIME Encryption failed because no certificate has been found for sender address: " . $sender); + if (!$sender_cert) throw new Exception(lang("S/MIME Encryption failed because no certificate has been found for sender address: %1", $sender)); $params['senderPubKey'] = $sender_cert[strtolower($sender)]; if (isset($sender) && ($type == Mail\Smime::TYPE_SIGN || $type == Mail\Smime::TYPE_SIGN_ENCRYPT)) diff --git a/mail/lang/egw_de.lang b/mail/lang/egw_de.lang index f79991bbe5..0e436766c1 100644 --- a/mail/lang/egw_de.lang +++ b/mail/lang/egw_de.lang @@ -472,6 +472,7 @@ row order style mail de Spaltenanordnung rule priority position mail de Priorität der Filterregel rule with priority mail de Regel mit Priorität rules mail de Filter Regeln +s/mime encryption failed because no certificate has been found for sender address: %1 mail de Die S/MIME-Verschlüsselung ist fehlgeschlagen, weil kein Zertifikat für die Absenderadresse gefunden wurde: %1 save all mail de Alle speichern save all attachments to filemanager mail de Alle Anhänge im Dateimanager speichern save as calendar mail de Als Termin speichern diff --git a/mail/lang/egw_en.lang b/mail/lang/egw_en.lang index 9fa3718d6a..0baa79a404 100644 --- a/mail/lang/egw_en.lang +++ b/mail/lang/egw_en.lang @@ -472,6 +472,7 @@ row order style mail en row order style rule priority position mail en Rule priority position rule with priority mail en rule with priority rules mail en rules +s/mime encryption failed because no certificate has been found for sender address: %1 mail en S/MIME Encryption failed because no certificate has been found for sender address: %1 save all mail en Save all save all attachments to filemanager mail en Save all attachments to filemanager save as calendar mail en Save as Calendar