From: Chuck Hagenbuch Date: Thu, 15 Jan 2009 02:20:39 +0000 (-0500) Subject: fix ngettext parameters X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c446abf8c64a0ed6408cdb98bde1bea117c553d0;p=horde.git fix ngettext parameters --- diff --git a/imp/lib/Views/ShowMessage.php b/imp/lib/Views/ShowMessage.php index e9a0a595d..4c6138322 100644 --- a/imp/lib/Views/ShowMessage.php +++ b/imp/lib/Views/ShowMessage.php @@ -301,7 +301,7 @@ class IMP_Views_ShowMessage if (count($atc_parts) || (count($display_ids) > 2)) { $result['atc_label'] = ($show_parts == 'all') ? _("Parts") - : sprintf(ngettext("%d Attachment", "%d Attachments", $atc_parts), $atc_parts); + : sprintf(ngettext("%d Attachment", "%d Attachments", count($atc_parts)), count($atc_parts)); $result['atc_download'] = (count($display_ids) > 2) ? Horde::link($imp_contents->urlView($imp_contents->getMIMEMessage(), 'download_all')) . '[' . _("Save All") . ']' : '';