From ed873eaec51827a5a19526429b6989028f8b9e8b Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 4 Nov 2009 15:46:31 -0700 Subject: [PATCH] Make these descriptions a bit clearer --- imp/lib/Mime/Viewer/Images.php | 4 ++-- imp/lib/Mime/Viewer/Pdf.php | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/imp/lib/Mime/Viewer/Images.php b/imp/lib/Mime/Viewer/Images.php index ec4f582d5..d647e79c3 100644 --- a/imp/lib/Mime/Viewer/Images.php +++ b/imp/lib/Mime/Viewer/Images.php @@ -143,7 +143,7 @@ class IMP_Horde_Mime_Viewer_Images extends Horde_Mime_Viewer_Images return array(); } - $status = array(sprintf(_("An image named %s is attached to this message."), $this->_mimepart->getName(true))); + $status = array(_("This is a thumbnail of an image attached to this message.")); if ($GLOBALS['browser']->hasFeature('javascript')) { $status[] = $this->_params['contents']->linkViewJS($this->_mimepart, 'view_attach', $this->_outputImgTag('view_thumbnail', _("View Attachment")), null, null, null); @@ -156,7 +156,7 @@ class IMP_Horde_Mime_Viewer_Images extends Horde_Mime_Viewer_Images 'data' => '', 'status' => array( array( - 'icon' => Horde::img('mime/image.png', _("Thumbnail of attached image")), + 'icon' => Horde::img('mime/image.png'), 'text' => $status ) ), diff --git a/imp/lib/Mime/Viewer/Pdf.php b/imp/lib/Mime/Viewer/Pdf.php index 35de4af8b..c0918495c 100644 --- a/imp/lib/Mime/Viewer/Pdf.php +++ b/imp/lib/Mime/Viewer/Pdf.php @@ -77,9 +77,7 @@ class IMP_Horde_Mime_Viewer_Pdf extends Horde_Mime_Viewer_Pdf return array(); } - $status = array( - sprintf(_("A PDF file named %s is attached to this message."), $this->_mimepart->getName(true)), - ); + $status = array(_("This is a thumbnail of a PDF file attached to this message.")); if ($GLOBALS['browser']->hasFeature('javascript')) { $status[] = $this->_params['contents']->linkViewJS($this->_mimepart, 'view_attach', $this->_outputImgTag(), null, null, null); -- 2.11.0