Make these descriptions a bit clearer
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 4 Nov 2009 22:46:31 +0000 (15:46 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 6 Nov 2009 20:50:09 +0000 (13:50 -0700)
imp/lib/Mime/Viewer/Images.php
imp/lib/Mime/Viewer/Pdf.php

index ec4f582..d647e79 100644 (file)
@@ -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
                     )
                 ),
index 35de4af..c091849 100644 (file)
@@ -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);