From 0006ecd24503b6c2f7e0ea3941c86ca841cc9263 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 9 Jul 2007 02:50:39 +0000 Subject: ** Fix for bug #347782 from hggdh svn path=/trunk/; revision=33773 --- mail/ChangeLog | 7 +++++++ mail/em-format.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index f1c7ced0d7..dd9a13296b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2007-07-09 Srinivasa Ragavan + + ** Fix for bug #347782 from hggdh + + * em-format.c: (emf_multipart_encrypted), + (emf_inlinepgp_encrypted): + 2007-07-08 Johnny Jacob * em-composer-utils.c : Added composer.presendcheck event. Fixes diff --git a/mail/em-format.c b/mail/em-format.c index 2260cf4e74..2dc626bb85 100644 --- a/mail/em-format.c +++ b/mail/em-format.c @@ -1307,7 +1307,7 @@ emf_multipart_encrypted(EMFormat *emf, CamelStream *stream, CamelMimePart *part, opart = camel_mime_part_new(); valid = camel_cipher_decrypt(context, part, opart, ex); if (valid == NULL) { - em_format_format_error(emf, stream, ex->desc?("Could not parse S/MIME message"):_("Could not parse S/MIME message: Unknown error")); + em_format_format_error(emf, stream, ex->desc?_("Could not parse PGP/MIME message"):_("Could not parse PGP/MIME message: Unknown error")); if (ex->desc) em_format_format_error(emf, stream, ex->desc); em_format_part_as(emf, stream, part, "multipart/mixed"); @@ -1609,7 +1609,7 @@ emf_inlinepgp_encrypted(EMFormat *emf, CamelStream *stream, CamelMimePart *ipart /* Decrypt the message */ valid = camel_cipher_decrypt (cipher, ipart, opart, ex); if (!valid) { - em_format_format_error(emf, stream, ex->desc?("Could not parse S/MIME message"):_("Could not parse S/MIME message: Unknown error")); + em_format_format_error(emf, stream, ex->desc?_("Could not parse PGP message"):_("Could not parse PGP message: Unknown error")); if (ex->desc) em_format_format_error(emf, stream, ex->desc); em_format_format_source(emf, stream, ipart); -- cgit v1.2.3