From 69870b82c3ad603acfecc780db8898f61ba4e237 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 30 Apr 2009 11:25:48 +0200 Subject: [PATCH] Include colon with gettext string to avoid ambiguity with End key. --- imp/lib/Mime/Viewer/Itip.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/imp/lib/Mime/Viewer/Itip.php b/imp/lib/Mime/Viewer/Itip.php index 682e59388..5b42adf6f 100644 --- a/imp/lib/Mime/Viewer/Itip.php +++ b/imp/lib/Mime/Viewer/Itip.php @@ -538,18 +538,18 @@ class IMP_Horde_Mime_Viewer_Itip extends Horde_Mime_Viewer_Driver $start = $vfb->getAttribute('DTSTART'); if (!is_a($start, 'PEAR_Error')) { if (is_array($start)) { - $html .= '

' . _("Start") . ': ' . strftime($prefs->getValue('date_format'), mktime(0, 0, 0, $start['month'], $start['mday'], $start['year'])) . '

'; + $html .= '

' . _("Start:") . ' ' . strftime($prefs->getValue('date_format'), mktime(0, 0, 0, $start['month'], $start['mday'], $start['year'])) . '

'; } else { - $html .= '

' . _("Start") . ': ' . strftime($prefs->getValue('date_format'), $start) . ' ' . date($prefs->getValue('twentyFour') ? ' G:i' : ' g:i a', $start) . '

'; + $html .= '

' . _("Start:") . ' ' . strftime($prefs->getValue('date_format'), $start) . ' ' . date($prefs->getValue('twentyFour') ? ' G:i' : ' g:i a', $start) . '

'; } } $end = $vfb->getAttribute('DTEND'); if (!is_a($end, 'PEAR_Error')) { if (is_array($end)) { - $html .= '

' . _("End") . ': ' . strftime($prefs->getValue('date_format'), mktime(0, 0, 0, $end['month'], $end['mday'], $end['year'])) . '

'; + $html .= '

' . _("End:") . ' ' . strftime($prefs->getValue('date_format'), mktime(0, 0, 0, $end['month'], $end['mday'], $end['year'])) . '

'; } else { - $html .= '

' . _("End") . ': ' . strftime($prefs->getValue('date_format'), $end) . ' ' . date($prefs->getValue('twentyFour') ? ' G:i' : ' g:i a', $end) . '

'; + $html .= '

' . _("End:") . ' ' . strftime($prefs->getValue('date_format'), $end) . ' ' . date($prefs->getValue('twentyFour') ? ' G:i' : ' g:i a', $end) . '

'; } } -- 2.11.0