From: jervfors Date: Mon, 12 Mar 2007 09:35:28 +0000 (+0000) Subject: Images require an alternate text. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=61a878cc075e6cff4f6f6675a632b6daae84f490;p=squirrelmail.git Images require an alternate text. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12334 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/template/message_list_util.php b/functions/template/message_list_util.php index 42302501..b2ea09e8 100644 --- a/functions/template/message_list_util.php +++ b/functions/template/message_list_util.php @@ -174,13 +174,13 @@ function getPriorityIcon ($priority, $icon_theme_path) { switch ($priority) { case 1: case 2: - $icon = getIcon($icon_theme_path, 'prio_high.png', create_span('!', 'high_priority')); + $icon = getIcon($icon_theme_path, 'prio_high.png', create_span('!', 'high_priority'), _("High priority")); break; case 5: - $icon = getIcon($icon_theme_path, 'prio_low.png', create_span('↓', 'low_priority')); + $icon = getIcon($icon_theme_path, 'prio_low.png', create_span('↓', 'low_priority'), _("Low priority")); break; default: - $icon = getIcon($icon_theme_path, 'transparent.png', '', '', 5); + $icon = getIcon($icon_theme_path, 'transparent.png', '', _("Normal priority"), 5); break; } @@ -200,9 +200,9 @@ function getAttachmentIcon ($attach, $icon_theme_path) { $icon = ''; $icon_file = $attach ? 'attach.png' : 'transparent.png'; + $alt_text = $attach ? _("Attachment") : _("No attachment"); $text = $attach ? '+' : ''; - $icon = getIcon($icon_theme_path, $icon_file, $text); + $icon = getIcon($icon_theme_path, $icon_file, $text, $alt_text); return $icon; } -