From: Jan Schneider Date: Thu, 30 Apr 2009 09:25:48 +0000 (+0200) Subject: Include colon with gettext string to avoid ambiguity with End key. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=69870b82c3ad603acfecc780db8898f61ba4e237;p=horde.git Include colon with gettext string to avoid ambiguity with End key. --- 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) . '

'; } }