Skip to content
Snippets Groups Projects

Dev#10430 pick day agenda

Merged Ghislain Loas requested to merge dev#10430_pick_day_agenda into WIP
Compare and
+ 5
5
Preferences
Compare changes
Files
@@ -79,7 +79,7 @@ class ZendAfi_View_Helper_TagArticleEvent extends Zend_View_Helper_HtmlElement {
$open_days = $this->getTextualDays($picked_days);
return $this->view->_('Les ' . $open_days . ' du %s au %s',
return $this->view->_('Les ' . $open_days . 's du %s au %s',
trim(strftime('%e', $date_start) . ' ' . $month_start . ' ' . $year_start),
trim(strftime('%e', $date_end) . ' ' . $month_end . ' ' . $year_end));
}
@@ -96,7 +96,7 @@ class ZendAfi_View_Helper_TagArticleEvent extends Zend_View_Helper_HtmlElement {
foreach($days as $day)
$textual_days.= $this->numericDayToTextual($day) . ', ';
return substr($textual_days, 0, -2) . $this->view->_(' et ') . $last;
return substr($textual_days, 0, -2) . $this->view->_('s et ') . $last;
}