this.dayEvents = [];
this.dayGroups = [];
this.allDayEvents = [];
- $('kronolithViewDay').down('.kronolithCol').setText(date.toString('D'));
+ $('kronolithViewDay').down('caption span').setText(date.toString('D'));
break;
case 'week':
td = $('kronolithViewWeekBody').down('td').next('td'),
dates = this.viewDates(date, view),
day = dates[0].clone();
+
+ $('kronolithViewWeek').down('caption span').setText(Kronolith.text.week.interpolate({ week: date.getWeek() }));
+
for (var i = 0; i < 7; i++) {
div.writeAttribute('id', 'kronolithEventsWeek' + day.dateString());
th.writeAttribute('date', day.dateString()).down('span').setText(day.toString('dddd, d'));
dates = this.viewDates(date, view),
day = dates[0].clone(), rows = 0, row;
+ $('kronolithViewMonth').down('caption span').setText(date.toString('MMMM'));
+
// Remove old rows. Maybe we should only rebuild the calendars if
// necessary.
tbody.childElements().each(function(row) {
'ajax_recover' => _("The connection to the remote server has been restored."),
'alarm' => _("Alarm:"),
'noalerts' => _("No Alerts"),
+ 'week' => str_replace('%d', '#{week}', _("Week %d")),
));
for ($i = 1; $i <= 12; ++$i) {
$code['text']['month'][$i - 1] = NLS::getLangInfo(constant('MON_' . $i));