change title for this icon to "Meeting" instead of the attendee count
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 28 Sep 2009 16:45:06 +0000 (12:45 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 28 Sep 2009 17:08:06 +0000 (13:08 -0400)
kronolith/lib/Event.php

index e1acd80..1afaba3 100644 (file)
@@ -2180,10 +2180,7 @@ abstract class Kronolith_Event
             }
 
             if (!empty($this->attendees)) {
-                $title = count($this->attendees) == 1
-                    ? _("1 attendee")
-                    : sprintf(_("%s attendees"), count($this->attendees));
-                $status .= Horde::fullSrcImg('attendees.png', array('attr' => array('alt' => $title, 'title' => $title, 'class' => 'iconPeople')));
+                $status .= Horde::fullSrcImg('attendees.png', array('attr' => array('alt' => _("Meeting"), 'title' => _("Meeting"), 'class' => 'iconPeople')));
             }
 
             if (!empty($this->external) && !empty($this->external_icon)) {