Synchronized with upstream from git.kolab.org (3.2.19)

This commit is contained in:
Thomas Bruederli 2017-05-01 22:40:32 +02:00
parent 7911226dc9
commit 9fa243f2c8
7 changed files with 238 additions and 204 deletions

View file

@ -1975,8 +1975,8 @@ class calendar extends rcube_plugin
private function write_preprocess(&$event, $action) private function write_preprocess(&$event, $action)
{ {
// convert dates into DateTime objects in user's current timezone // convert dates into DateTime objects in user's current timezone
$event['start'] = new DateTime($event['start'], $this->timezone); $event['start'] = new DateTime($event['start'], $this->timezone);
$event['end'] = new DateTime($event['end'], $this->timezone); $event['end'] = new DateTime($event['end'], $this->timezone);
$event['allday'] = (bool)$event['allday']; $event['allday'] = (bool)$event['allday'];
// start/end is all we need for 'move' action (#1480) // start/end is all we need for 'move' action (#1480)
@ -2026,7 +2026,7 @@ class calendar extends rcube_plugin
foreach ((array)$event['attendees'] as $i => $attendee) { foreach ((array)$event['attendees'] as $i => $attendee) {
if ($attendee['role'] == 'ORGANIZER') if ($attendee['role'] == 'ORGANIZER')
$organizer = $i; $organizer = $i;
if ($attendee['email'] && in_array(strtolower($attendee['email']), $emails)) if ($attendee['email'] == in_array(strtolower($attendee['email']), $emails))
$owner = $i; $owner = $i;
if (!isset($attendee['rsvp'])) if (!isset($attendee['rsvp']))
$event['attendees'][$i]['rsvp'] = true; $event['attendees'][$i]['rsvp'] = true;
@ -2189,7 +2189,6 @@ class calendar extends rcube_plugin
// if the backend has free-busy information // if the backend has free-busy information
$fblist = $this->driver->get_freebusy_list($email, $start, $end); $fblist = $this->driver->get_freebusy_list($email, $start, $end);
if (is_array($fblist)) { if (is_array($fblist)) {
$status = 'FREE'; $status = 'FREE';
@ -2239,26 +2238,13 @@ class calendar extends rcube_plugin
$dts = new DateTime('@'.$start); $dts = new DateTime('@'.$start);
$dts->setTimezone($this->timezone); $dts->setTimezone($this->timezone);
} }
$fblist = $this->driver->get_freebusy_list($email, $start, $end); $fblist = $this->driver->get_freebusy_list($email, $start, $end);
$slots = ''; $slots = array();
// prepare freebusy list before use (for better performance)
if (is_array($fblist)) {
foreach ($fblist as $idx => $slot) {
list($from, $to, ) = $slot;
// check for possible all-day times
if (gmdate('His', $from) == '000000' && gmdate('His', $to) == '235959') {
// shift into the user's timezone for sane matching
$fblist[$idx][0] -= $this->gmt_offset;
$fblist[$idx][1] -= $this->gmt_offset;
}
}
}
// build a list from $start till $end with blocks representing the fb-status // build a list from $start till $end with blocks representing the fb-status
for ($s = 0, $t = $start; $t <= $end; $s++) { for ($s = 0, $t = $start; $t <= $end; $s++) {
$status = self::FREEBUSY_UNKNOWN;
$t_end = $t + $interval * 60; $t_end = $t + $interval * 60;
$dt = new DateTime('@'.$t); $dt = new DateTime('@'.$t);
$dt->setTimezone($this->timezone); $dt->setTimezone($this->timezone);
@ -2266,10 +2252,16 @@ class calendar extends rcube_plugin
// determine attendee's status // determine attendee's status
if (is_array($fblist)) { if (is_array($fblist)) {
$status = self::FREEBUSY_FREE; $status = self::FREEBUSY_FREE;
foreach ($fblist as $slot) { foreach ($fblist as $slot) {
list($from, $to, $type) = $slot; list($from, $to, $type) = $slot;
// check for possible all-day times
if (gmdate('His', $from) == '000000' && gmdate('His', $to) == '235959') {
// shift into the user's timezone for sane matching
$from -= $this->gmt_offset;
$to -= $this->gmt_offset;
}
if ($from < $t_end && $to > $t) { if ($from < $t_end && $to > $t) {
$status = isset($type) ? $type : self::FREEBUSY_BUSY; $status = isset($type) ? $type : self::FREEBUSY_BUSY;
if ($status == self::FREEBUSY_BUSY) // can't get any worse :-) if ($status == self::FREEBUSY_BUSY) // can't get any worse :-)
@ -2277,12 +2269,9 @@ class calendar extends rcube_plugin
} }
} }
} }
else {
$status = self::FREEBUSY_UNKNOWN; $slots[$s] = $status;
} $times[$s] = $dt->format($strformat);
// use most compact format, assume $status is one digit/character
$slots .= $status;
$t = $t_end; $t = $t_end;
} }
@ -2298,6 +2287,7 @@ class calendar extends rcube_plugin
'end' => $dte->format('c'), 'end' => $dte->format('c'),
'interval' => $interval, 'interval' => $interval,
'slots' => $slots, 'slots' => $slots,
'times' => $times,
)); ));
exit; exit;
} }

View file

@ -1242,7 +1242,7 @@ function rcube_calendar_ui(settings)
freebusy_data = { required:{}, all:{} }; freebusy_data = { required:{}, all:{} };
freebusy_ui.loading = 1; // prevent render_freebusy_grid() to load data yet freebusy_ui.loading = 1; // prevent render_freebusy_grid() to load data yet
freebusy_ui.numdays = Math.max(allday.checked ? 14 : 1, Math.ceil(duration * 2 / 86400)); freebusy_ui.numdays = Math.max(allday.checked ? 14 : 1, Math.ceil(duration * 2 / 86400));
freebusy_ui.interval = allday.checked ? 1440 : (60 / (settings.timeslots || 1)); freebusy_ui.interval = allday.checked ? 1440 : 60;
freebusy_ui.start = fb_start; freebusy_ui.start = fb_start;
freebusy_ui.end = new Date(freebusy_ui.start.getTime() + DAY_MS * freebusy_ui.numdays); freebusy_ui.end = new Date(freebusy_ui.start.getTime() + DAY_MS * freebusy_ui.numdays);
render_freebusy_grid(0); render_freebusy_grid(0);
@ -1349,7 +1349,7 @@ function rcube_calendar_ui(settings)
// adjust dialog size to fit grid without scrolling // adjust dialog size to fit grid without scrolling
var gridw = $('#schedule-freebusy-times').width(); var gridw = $('#schedule-freebusy-times').width();
var overflow = gridw - $('#attendees-freebusy-table td.times').width(); var overflow = gridw - $('#attendees-freebusy-table td.times').width() + 1;
me.dialog_resize($dialog.get(0), $dialog.height() + (bw.ie ? 20 : 0), 800 + Math.max(0, overflow)); me.dialog_resize($dialog.get(0), $dialog.height() + (bw.ie ? 20 : 0), 800 + Math.max(0, overflow));
// fetch data from server // fetch data from server
@ -1379,12 +1379,10 @@ function rcube_calendar_ui(settings)
var lastdate, datestr, css, var lastdate, datestr, css,
curdate = new Date(), curdate = new Date(),
allday = (freebusy_ui.interval == 1440), allday = (freebusy_ui.interval == 1440),
interval = allday ? 1440 : (freebusy_ui.interval * (settings.timeslots || 1));
times_css = (allday ? 'allday ' : ''), times_css = (allday ? 'allday ' : ''),
dates_row = '<tr class="dates">', dates_row = '<tr class="dates">',
times_row = '<tr class="times">', times_row = '<tr class="times">',
slots_row = ''; slots_row = '';
for (var s = 0, t = freebusy_ui.start.getTime(); t < freebusy_ui.end.getTime(); s++) { for (var s = 0, t = freebusy_ui.start.getTime(); t < freebusy_ui.end.getTime(); s++) {
curdate.setTime(t); curdate.setTime(t);
datestr = fc.fullCalendar('formatDate', curdate, date_format); datestr = fc.fullCalendar('formatDate', curdate, date_format);
@ -1397,9 +1395,9 @@ function rcube_calendar_ui(settings)
// set css class according to working hours // set css class according to working hours
css = is_weekend(curdate) || (freebusy_ui.interval <= 60 && !is_workinghour(curdate)) ? 'offhours' : 'workinghours'; css = is_weekend(curdate) || (freebusy_ui.interval <= 60 && !is_workinghour(curdate)) ? 'offhours' : 'workinghours';
times_row += '<td class="' + times_css + css + '" id="t-' + Math.floor(t/1000) + '">' + Q(allday ? rcmail.gettext('all-day','calendar') : $.fullCalendar.formatDate(curdate, settings['time_format'])) + '</td>'; times_row += '<td class="' + times_css + css + '" id="t-' + Math.floor(t/1000) + '">' + Q(allday ? rcmail.gettext('all-day','calendar') : $.fullCalendar.formatDate(curdate, settings['time_format'])) + '</td>';
slots_row += '<td class="' + css + '">&nbsp;</td>'; slots_row += '<td class="' + css + ' unknown">&nbsp;</td>';
t += interval * 60000; t += freebusy_ui.interval * 60000;
} }
dates_row += '</tr>'; dates_row += '</tr>';
times_row += '</tr>'; times_row += '</tr>';
@ -1413,7 +1411,7 @@ function rcube_calendar_ui(settings)
} }
// add line for all/required attendees // add line for all/required attendees
times_html += '<tr class="spacer"><td colspan="' + (dayslots * freebusy_ui.numdays) + '"></td>'; times_html += '<tr class="spacer"><td colspan="' + (dayslots * freebusy_ui.numdays) + '">&nbsp;</td>';
times_html += '<tr id="fbrowall">' + slots_row + '</tr>'; times_html += '<tr id="fbrowall">' + slots_row + '</tr>';
var table = $('#schedule-freebusy-times'); var table = $('#schedule-freebusy-times');
@ -1435,7 +1433,7 @@ function rcube_calendar_ui(settings)
update_freebusy_dates(newstart, new Date(newstart.getTime() + freebusy_ui.startdate.data('duration') * 1000)); update_freebusy_dates(newstart, new Date(newstart.getTime() + freebusy_ui.startdate.data('duration') * 1000));
render_freebusy_overlay(); render_freebusy_overlay();
} }
}); })
} }
// if we have loaded free-busy data, show it // if we have loaded free-busy data, show it
@ -1466,40 +1464,38 @@ function rcube_calendar_ui(settings)
overlay.draggable('disable'); overlay.draggable('disable');
} }
else { else {
var i, n, table = $('#schedule-freebusy-times'), var table = $('#schedule-freebusy-times'),
width = 0, width = 0,
pos = { top:table.children('thead').height(), left:0 }, pos = { top:table.children('thead').height(), left:0 },
eventstart = date2unixtime(clone_date(me.selected_event.start, me.selected_event.allDay?1:0)), eventstart = date2unixtime(clone_date(me.selected_event.start, me.selected_event.allDay?1:0)),
eventend = date2unixtime(clone_date(me.selected_event.end, me.selected_event.allDay?2:0)) - 60, eventend = date2unixtime(clone_date(me.selected_event.end, me.selected_event.allDay?2:0)) - 60,
slotstart = date2unixtime(freebusy_ui.start), slotstart = date2unixtime(freebusy_ui.start),
slotsize = freebusy_ui.interval * 60, slotsize = freebusy_ui.interval * 60,
slotnum = freebusy_ui.interval > 60 ? 1 : (60 / freebusy_ui.interval), slotend, fraction, $cell;
cells = table.children('thead').find('td'),
cell_width = cells.first().get(0).offsetWidth,
slotend;
// iterate through slots to determine position and size of the overlay // iterate through slots to determine position and size of the overlay
for (i=0; i < cells.length; i++) { table.children('thead').find('td').each(function(i, cell){
for (n=0; n < slotnum; n++) { slotend = slotstart + slotsize - 1;
slotend = slotstart + slotsize - 1; // event starts in this slot: compute left
// event starts in this slot: compute left if (eventstart >= slotstart && eventstart <= slotend) {
if (eventstart >= slotstart && eventstart <= slotend) { fraction = 1 - (slotend - eventstart) / slotsize;
pos.left = Math.round(i * cell_width + (cell_width / slotnum) * n); pos.left = Math.round(cell.offsetLeft + cell.offsetWidth * fraction);
}
// event ends in this slot: compute width
if (eventend >= slotstart && eventend <= slotend) {
width = Math.round(i * cell_width + (cell_width / slotnum) * (n + 1)) - pos.left;
}
slotstart += slotsize;
} }
} // event ends in this slot: compute width
if (eventend >= slotstart && eventend <= slotend) {
fraction = 1 - (slotend - eventend) / slotsize;
width = Math.round(cell.offsetLeft + cell.offsetWidth * fraction) - pos.left;
}
slotstart = slotstart + slotsize;
});
if (!width) if (!width)
width = table.width() - pos.left; width = table.width() - pos.left;
// overlay is visible // overlay is visible
if (width > 0) { if (width > 0) {
overlay.css({ width: (width-4)+'px', height:(table.children('tbody').height() - 4)+'px', left:pos.left+'px', top:pos.top+'px' }).show(); overlay.css({ width: (width-5)+'px', height:(table.children('tbody').height() - 4)+'px', left:pos.left+'px', top:pos.top+'px' }).show();
// configure draggable // configure draggable
if (!overlay.data('isdraggable')) { if (!overlay.data('isdraggable')) {
@ -1522,7 +1518,6 @@ function rcube_calendar_ui(settings)
} }
else { else {
// round to 5 minutes // round to 5 minutes
// @TODO: round to timeslots?
var round = newstart.getMinutes() % 5; var round = newstart.getMinutes() % 5;
if (round > 2.5) newstart.setTime(newstart.getTime() + (5 - round) * 60000); if (round > 2.5) newstart.setTime(newstart.getTime() + (5 - round) * 60000);
else if (round > 0) newstart.setTime(newstart.getTime() - round * 60000); else if (round > 0) newstart.setTime(newstart.getTime() - round * 60000);
@ -1540,8 +1535,10 @@ function rcube_calendar_ui(settings)
else else
overlay.draggable('disable').hide(); overlay.draggable('disable').hide();
} }
}; };
// fetch free-busy information for each attendee from server // fetch free-busy information for each attendee from server
var load_freebusy_data = function(from, interval) var load_freebusy_data = function(from, interval)
{ {
@ -1568,9 +1565,9 @@ function rcube_calendar_ui(settings)
success: function(data) { success: function(data) {
freebusy_ui.loading--; freebusy_ui.loading--;
// find attendee // find attendee
var i, attendee = null; var attendee = null;
for (i=0; i < event_attendees.length; i++) { for (var i=0; i < event_attendees.length; i++) {
if (freebusy_ui.attendees[i].email == data.email) { if (freebusy_ui.attendees[i].email == data.email) {
attendee = freebusy_ui.attendees[i]; attendee = freebusy_ui.attendees[i];
break; break;
@ -1578,31 +1575,25 @@ function rcube_calendar_ui(settings)
} }
// copy data to member var // copy data to member var
var ts, status, var ts, req = attendee.role != 'OPT-PARTICIPANT';
req = attendee.role != 'OPT-PARTICIPANT', freebusy_data.start = parseISO8601(data.start);
start = parseISO8601(data.start);
freebusy_data.start = new Date(start);
freebusy_data.end = parseISO8601(data.end);
freebusy_data.interval = data.interval;
freebusy_data[data.email] = {}; freebusy_data[data.email] = {};
for (var i=0; i < data.slots.length; i++) {
for (i=0; i < data.slots.length; i++) { ts = data.times[i] + '';
ts = date2timestring(start, data.interval > 60); freebusy_data[data.email][ts] = data.slots[i];
status = data.slots.charAt(i);
freebusy_data[data.email][ts] = status
start = new Date(start.getTime() + data.interval * 60000);
// set totals // set totals
if (!freebusy_data.required[ts]) if (!freebusy_data.required[ts])
freebusy_data.required[ts] = [0,0,0,0]; freebusy_data.required[ts] = [0,0,0,0];
if (req) if (req)
freebusy_data.required[ts][status]++; freebusy_data.required[ts][data.slots[i]]++;
if (!freebusy_data.all[ts]) if (!freebusy_data.all[ts])
freebusy_data.all[ts] = [0,0,0,0]; freebusy_data.all[ts] = [0,0,0,0];
freebusy_data.all[ts][status]++; freebusy_data.all[ts][data.slots[i]]++;
} }
freebusy_data.end = parseISO8601(data.end);
freebusy_data.interval = data.interval;
// hide loading indicator // hide loading indicator
var domid = String(data.email).replace(rcmail.identifier_expr, ''); var domid = String(data.email).replace(rcmail.identifier_expr, '');
@ -1665,51 +1656,27 @@ function rcube_calendar_ui(settings)
if (fbdata && fbdata[ts] !== undefined && row.length) { if (fbdata && fbdata[ts] !== undefined && row.length) {
t = freebusy_ui.start.getTime(); t = freebusy_ui.start.getTime();
row.children().each(function(i, cell) { row.children().each(function(i, cell){
var j, n, attr, last, all_slots = [], slots = [], curdate.setTime(t);
all_cell = rowall.get(i), ts = date2timestring(curdate, dateonly);
cnt = dateonly ? 1 : (60 / freebusy_ui.interval), cell.className = cell.className.replace('unknown', fbdata[ts] ? status_classes[fbdata[ts]] : 'unknown');
percent = (100 / cnt);
for (n=0; n < cnt; n++) { // also update total row if all data was loaded
curdate.setTime(t); if (freebusy_ui.loading == 0 && freebusy_data.all[ts] && (cell = rowall.get(i))) {
ts = date2timestring(curdate, dateonly); var workinghours = cell.className.indexOf('workinghours') >= 0;
attr = { var all_status = freebusy_data.all[ts][2] ? 'busy' : 'unknown';
'style': 'float:left; width:' + percent.toFixed(2) + '%', req_status = freebusy_data.required[ts][2] ? 'busy' : 'free';
'class': fbdata[ts] ? status_classes[fbdata[ts]] : 'unknown' for (var j=1; j < status_classes.length; j++) {
}; if (freebusy_ui.numrequired && freebusy_data.required[ts][j] >= freebusy_ui.numrequired)
req_status = status_classes[j];
slots.push($('<div>').attr(attr)); if (freebusy_data.all[ts][j] == event_attendees.length)
all_status = status_classes[j];
// also update total row if all data was loaded
if (!freebusy_ui.loading && freebusy_data.all[ts] && all_cell) {
var all_status = freebusy_data.all[ts][2] ? 'busy' : 'unknown',
req_status = freebusy_data.required[ts][2] ? 'busy' : 'free';
for (j=1; j < status_classes.length; j++) {
if (freebusy_ui.numrequired && freebusy_data.required[ts][j] >= freebusy_ui.numrequired)
req_status = status_classes[j];
if (freebusy_data.all[ts][j] == event_attendees.length)
all_status = status_classes[j];
}
attr['class'] = req_status + ' all-' + all_status;
// these elements use some specific styling, so we want to minimize their number
if (last && last.attr('class') == attr['class'])
last.css('width', (percent + parseFloat(last.css('width').replace('%', ''))).toFixed(2) + '%');
else {
last = $('<div>').attr(attr);
all_slots.push(last);
}
} }
t += freebusy_ui.interval * 60000; cell.className = (workinghours ? 'workinghours ' : 'offhours ') + req_status + ' all-' + all_status;
} }
$(cell).html('').append(slots); t += freebusy_ui.interval * 60000;
if (all_slots.length)
$(all_cell).html('').append(all_slots);
}); });
} }
}; };
@ -1749,20 +1716,17 @@ function rcube_calendar_ui(settings)
sinterval = freebusy_data.interval * 60000, sinterval = freebusy_data.interval * 60000,
intvlslots = 1, intvlslots = 1,
numslots = Math.ceil(duration / sinterval), numslots = Math.ceil(duration / sinterval),
fb_start = freebusy_data.start.getTime(), checkdate, slotend, email, ts, slot, slotdate = new Date();
fb_end = freebusy_data.end.getTime(),
checkdate, slotend, email, ts, slot, slotdate = new Date(),
candidatecount = 0, candidatestart = false, success = false;
// shift event times to next possible slot // shift event times to next possible slot
eventstart += sinterval * intvlslots * dir; eventstart += sinterval * intvlslots * dir;
eventend += sinterval * intvlslots * dir; eventend += sinterval * intvlslots * dir;
// iterate through free-busy slots and find candidates // iterate through free-busy slots and find candidates
for (slot = dir > 0 ? fb_start : fb_end - sinterval; var candidatecount = 0, candidatestart = candidateend = success = false;
(dir > 0 && slot < fb_end) || (dir < 0 && slot >= fb_start); for (slot = dir > 0 ? freebusy_data.start.getTime() : freebusy_data.end.getTime() - sinterval;
slot += sinterval * dir (dir > 0 && slot < freebusy_data.end.getTime()) || (dir < 0 && slot >= freebusy_data.start.getTime());
) { slot += sinterval * dir) {
slotdate.setTime(slot); slotdate.setTime(slot);
// fix slot if just crossed a DST change // fix slot if just crossed a DST change
if (event.allDay) { if (event.allDay) {
@ -1774,10 +1738,10 @@ function rcube_calendar_ui(settings)
if ((dir > 0 && slotend <= eventstart) || (dir < 0 && slot >= eventend)) // skip if ((dir > 0 && slotend <= eventstart) || (dir < 0 && slot >= eventend)) // skip
continue; continue;
// respect workinghours setting // respect workingours setting
if (freebusy_ui.workinhoursonly) { if (freebusy_ui.workinhoursonly) {
if (is_weekend(slotdate) || (freebusy_data.interval <= 60 && !is_workinghour(slotdate))) { // skip off-hours if (is_weekend(slotdate) || (freebusy_data.interval <= 60 && !is_workinghour(slotdate))) { // skip off-hours
candidatestart = false; candidatestart = candidateend = false;
candidatecount = 0; candidatecount = 0;
continue; continue;
} }
@ -1786,12 +1750,11 @@ function rcube_calendar_ui(settings)
if (!candidatestart) if (!candidatestart)
candidatestart = slot; candidatestart = slot;
ts = date2timestring(slotdate, freebusy_data.interval > 60);
// check freebusy data for all attendees // check freebusy data for all attendees
ts = date2timestring(slotdate, freebusy_data.interval > 60);
for (var i=0; i < event_attendees.length; i++) { for (var i=0; i < event_attendees.length; i++) {
if (freebusy_ui.attendees[i].role != 'OPT-PARTICIPANT' && (email = freebusy_ui.attendees[i].email) && freebusy_data[email] && freebusy_data[email][ts] > 1) { if (freebusy_ui.attendees[i].role != 'OPT-PARTICIPANT' && (email = freebusy_ui.attendees[i].email) && freebusy_data[email] && freebusy_data[email][ts] > 1) {
candidatestart = false; candidatestart = candidateend = false;
break; break;
} }
} }
@ -1802,15 +1765,22 @@ function rcube_calendar_ui(settings)
candidatecount = 0; candidatecount = 0;
continue; continue;
} }
else if (dir < 0)
candidatestart = slot;
// set candidate end to slot end time
candidatecount++; candidatecount++;
if (dir < 0 && !candidateend)
candidateend = slotend;
// if candidate is big enough, this is it! // if candidate is big enough, this is it!
if (candidatecount == numslots) { if (candidatecount == numslots) {
event.start.setTime(candidatestart); if (dir > 0) {
event.end.setTime(candidatestart + duration); event.start.setTime(candidatestart);
event.end.setTime(candidatestart + duration);
}
else {
event.end.setTime(candidateend);
event.start.setTime(candidateend - duration);
}
success = true; success = true;
break; break;
} }
@ -1840,6 +1810,7 @@ function rcube_calendar_ui(settings)
} }
}; };
// update event properties and attendees availability if event times have changed // update event properties and attendees availability if event times have changed
var event_times_changed = function() var event_times_changed = function()
{ {
@ -1854,6 +1825,7 @@ function rcube_calendar_ui(settings)
} }
}; };
// add the given list of participants // add the given list of participants
var add_attendees = function(names, params) var add_attendees = function(names, params)
{ {

View file

@ -763,25 +763,11 @@ class kolab_calendar extends kolab_storage_folder_api
private function _from_driver_event($event, $old = array()) private function _from_driver_event($event, $old = array())
{ {
// set current user as ORGANIZER // set current user as ORGANIZER
if ($identity = $this->cal->rc->user->list_emails(true)) { $identity = $this->cal->rc->user->list_emails(true);
$event['attendees'] = (array) $event['attendees']; if (empty($event['attendees']) && $identity['email'])
$found = false; $event['attendees'] = array(array('role' => 'ORGANIZER', 'name' => $identity['name'], 'email' => $identity['email']));
// there can be only resources on attendees list (T1484) $event['_owner'] = $identity['email'];
// let's check the existence of an organizer
foreach ($event['attendees'] as $attendee) {
if ($attendee['role'] == 'ORGANIZER') {
$found = true;
break;
}
}
if (!$found) {
$event['attendees'][] = array('role' => 'ORGANIZER', 'name' => $identity['name'], 'email' => $identity['email']);
}
$event['_owner'] = $identity['email'];
}
// remove EXDATE values if RDATE is given // remove EXDATE values if RDATE is given
if (!empty($event['recurrence']['RDATE'])) { if (!empty($event['recurrence']['RDATE'])) {
@ -806,6 +792,7 @@ class kolab_calendar extends kolab_storage_folder_api
}); });
} }
// remove some internal properties which should not be saved // remove some internal properties which should not be saved
unset($event['_savemode'], $event['_fromcalendar'], $event['_identity'], $event['_folder_id'], unset($event['_savemode'], $event['_fromcalendar'], $event['_identity'], $event['_folder_id'],
$event['recurrence_id'], $event['attachments'], $event['deleted_attachments'], $event['className']); $event['recurrence_id'], $event['attachments'], $event['deleted_attachments'], $event['className']);

View file

@ -1,4 +1,5 @@
<?php <?php
/** /**
* Localizations for Kolab Calendar plugin * Localizations for Kolab Calendar plugin
* *
@ -6,6 +7,10 @@
* *
* For translation see https://www.transifex.com/projects/p/kolab/resource/calendar/ * For translation see https://www.transifex.com/projects/p/kolab/resource/calendar/
*/ */
$labels = array();
// preferences
$labels['default_view'] = 'Standardvisning'; $labels['default_view'] = 'Standardvisning';
$labels['time_format'] = 'Tidsformat'; $labels['time_format'] = 'Tidsformat';
$labels['timeslots'] = 'Tidsblokke per time'; $labels['timeslots'] = 'Tidsblokke per time';
@ -27,6 +32,8 @@ $labels['afterflagdeleted'] = 'Markér som slettet';
$labels['aftermoveto'] = 'Flyt til ...'; $labels['aftermoveto'] = 'Flyt til ...';
$labels['itipoptions'] = 'Begivenhedsinvitationer'; $labels['itipoptions'] = 'Begivenhedsinvitationer';
$labels['afteraction'] = 'Efter en invitation eller opdateringsbesked er behandlet'; $labels['afteraction'] = 'Efter en invitation eller opdateringsbesked er behandlet';
// calendar
$labels['calendar'] = 'Kalender'; $labels['calendar'] = 'Kalender';
$labels['calendars'] = 'Kalendere'; $labels['calendars'] = 'Kalendere';
$labels['category'] = 'Kategori'; $labels['category'] = 'Kategori';
@ -44,7 +51,7 @@ $labels['new_event'] = 'Nyt arrangement';
$labels['edit_event'] = 'Redigér arrangement'; $labels['edit_event'] = 'Redigér arrangement';
$labels['edit'] = 'Redigér'; $labels['edit'] = 'Redigér';
$labels['save'] = 'Gem'; $labels['save'] = 'Gem';
$labels['removelist'] = 'Remove from list'; $labels['removelist'] = 'Fjern fra liste';
$labels['cancel'] = 'Annullér'; $labels['cancel'] = 'Annullér';
$labels['select'] = 'Vælg'; $labels['select'] = 'Vælg';
$labels['print'] = 'Udskriv'; $labels['print'] = 'Udskriv';
@ -61,7 +68,7 @@ $labels['location'] = 'Placering';
$labels['url'] = 'URL'; $labels['url'] = 'URL';
$labels['date'] = 'Dato'; $labels['date'] = 'Dato';
$labels['start'] = 'Start'; $labels['start'] = 'Start';
$labels['starttime'] = 'Start time'; $labels['starttime'] = 'Starttidspunkt';
$labels['end'] = 'Slut'; $labels['end'] = 'Slut';
$labels['endtime'] = 'Sluttidspunkt'; $labels['endtime'] = 'Sluttidspunkt';
$labels['repeat'] = 'Gentag'; $labels['repeat'] = 'Gentag';
@ -82,14 +89,14 @@ $labels['private'] = 'privat';
$labels['confidential'] = 'fortrolig'; $labels['confidential'] = 'fortrolig';
$labels['links'] = 'Reference'; $labels['links'] = 'Reference';
$labels['alarms'] = 'Påmindelse'; $labels['alarms'] = 'Påmindelse';
$labels['comment'] = 'Comment'; $labels['comment'] = 'Kommentar';
$labels['created'] = 'Created'; $labels['created'] = 'Oprettet';
$labels['changed'] = 'Last Modified'; $labels['changed'] = 'Sidst ændret';
$labels['unknown'] = 'Ukendt'; $labels['unknown'] = 'Ukendt';
$labels['eventoptions'] = 'Tilvalg'; $labels['eventoptions'] = 'Tilvalg';
$labels['generated'] = 'oprettet per'; $labels['generated'] = 'oprettet per';
$labels['eventhistory'] = 'Historik'; $labels['eventhistory'] = 'Historik';
$labels['removelink'] = 'Remove email reference'; $labels['removelink'] = 'Fjern email reference';
$labels['printdescriptions'] = 'Udskriv beskrivelser'; $labels['printdescriptions'] = 'Udskriv beskrivelser';
$labels['parentcalendar'] = 'Indsæt indeni'; $labels['parentcalendar'] = 'Indsæt indeni';
$labels['searchearlierdates'] = '« Søg efter tidligere arrangementer'; $labels['searchearlierdates'] = '« Søg efter tidligere arrangementer';
@ -105,9 +112,9 @@ $labels['showurl'] = 'Vis kalenderens URL';
$labels['showurldescription'] = 'Brug følgende adresse for at tilgå din kalender (skrivebeskyttet) fra andre programmer. Du kan kopiere og indsætet denne i ethvert kalenderprogram, der understøtter iCal-formatet.'; $labels['showurldescription'] = 'Brug følgende adresse for at tilgå din kalender (skrivebeskyttet) fra andre programmer. Du kan kopiere og indsætet denne i ethvert kalenderprogram, der understøtter iCal-formatet.';
$labels['caldavurldescription'] = 'Kopiér denne adresse til en <a href="http://en.wikipedia.org/wiki/CalDAV" target="_blank">CalDAV</a>-klientprogram (eks. Evolution eller Mozilla Thunderbird) for at synkronisere denne kalender komplet med din computer eller mobilenhed.'; $labels['caldavurldescription'] = 'Kopiér denne adresse til en <a href="http://en.wikipedia.org/wiki/CalDAV" target="_blank">CalDAV</a>-klientprogram (eks. Evolution eller Mozilla Thunderbird) for at synkronisere denne kalender komplet med din computer eller mobilenhed.';
$labels['findcalendars'] = 'Find kalendere ...'; $labels['findcalendars'] = 'Find kalendere ...';
$labels['searchterms'] = 'Search terms'; $labels['searchterms'] = 'Søgetermer';
$labels['calsearchresults'] = 'Tilgængelige kalendere'; $labels['calsearchresults'] = 'Tilgængelige kalendere';
$labels['calendarsubscribe'] = 'List permanently'; $labels['calendarsubscribe'] = 'List permanent';
$labels['nocalendarsfound'] = 'Der blev ikke fundet nogen kalender'; $labels['nocalendarsfound'] = 'Der blev ikke fundet nogen kalender';
$labels['nrcalendarsfound'] = '$nr kalendere blev fundet'; $labels['nrcalendarsfound'] = '$nr kalendere blev fundet';
$labels['quickview'] = 'Vis kun denne kalender'; $labels['quickview'] = 'Vis kun denne kalender';
@ -115,6 +122,8 @@ $labels['invitationspending'] = 'Afventende invitationer';
$labels['invitationsdeclined'] = 'Afviste invitationer'; $labels['invitationsdeclined'] = 'Afviste invitationer';
$labels['changepartstat'] = 'Skift deltagerstatus'; $labels['changepartstat'] = 'Skift deltagerstatus';
$labels['rsvpcomment'] = 'Invitationstekst'; $labels['rsvpcomment'] = 'Invitationstekst';
// agenda view
$labels['listrange'] = 'Interval som skal vises:'; $labels['listrange'] = 'Interval som skal vises:';
$labels['listsections'] = 'Del op i:'; $labels['listsections'] = 'Del op i:';
$labels['smartsections'] = 'Smarte sektioner'; $labels['smartsections'] = 'Smarte sektioner';
@ -129,9 +138,13 @@ $labels['nextmonth'] = 'Næste måned';
$labels['weekofyear'] = 'Uge'; $labels['weekofyear'] = 'Uge';
$labels['pastevents'] = 'Tidligere'; $labels['pastevents'] = 'Tidligere';
$labels['futureevents'] = 'Fremtid'; $labels['futureevents'] = 'Fremtid';
$labels['showalarms'] = 'Show reminders';
// alarm/reminder settings
$labels['showalarms'] = 'Vis påmindelser';
$labels['defaultalarmtype'] = 'Standardindstilling for påmindelse'; $labels['defaultalarmtype'] = 'Standardindstilling for påmindelse';
$labels['defaultalarmoffset'] = 'Standardtidspunkt for påmindelse'; $labels['defaultalarmoffset'] = 'Standardtidspunkt for påmindelse';
// attendees
$labels['attendee'] = 'Deltager'; $labels['attendee'] = 'Deltager';
$labels['role'] = 'Rolle'; $labels['role'] = 'Rolle';
$labels['availability'] = 'Tilg.'; $labels['availability'] = 'Tilg.';
@ -151,8 +164,8 @@ $labels['availbusy'] = 'Optaget';
$labels['availunknown'] = 'Ukendt'; $labels['availunknown'] = 'Ukendt';
$labels['availtentative'] = 'Forsøgsvis'; $labels['availtentative'] = 'Forsøgsvis';
$labels['availoutofoffice'] = 'Ikke på kontoret'; $labels['availoutofoffice'] = 'Ikke på kontoret';
$labels['delegatedto'] = 'Delegated to: '; $labels['delegatedto'] = 'Delegere til:';
$labels['delegatedfrom'] = 'Delegated from: '; $labels['delegatedfrom'] = 'Delegere fra:';
$labels['scheduletime'] = 'Find ledigt tidspunkt'; $labels['scheduletime'] = 'Find ledigt tidspunkt';
$labels['sendinvitations'] = 'Send invitationer'; $labels['sendinvitations'] = 'Send invitationer';
$labels['sendnotifications'] = 'Gør deltagere opmærksom på ændringer'; $labels['sendnotifications'] = 'Gør deltagere opmærksom på ændringer';
@ -169,18 +182,24 @@ $labels['invitationattendlinks'] = "Hvis dit e-postprogram ikke understøtter iT
$labels['eventupdatesubject'] = '"$title" er blevet opdateret'; $labels['eventupdatesubject'] = '"$title" er blevet opdateret';
$labels['eventupdatesubjectempty'] = 'Et arrangement der vedrører dig er blevet opdateret'; $labels['eventupdatesubjectempty'] = 'Et arrangement der vedrører dig er blevet opdateret';
$labels['eventupdatemailbody'] = "*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees\n\nBemærk venligst vedhæftede iCalendar-fil med alle detaljer om arrangementet, som du kan importere til dit kalenderprogram."; $labels['eventupdatemailbody'] = "*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees\n\nBemærk venligst vedhæftede iCalendar-fil med alle detaljer om arrangementet, som du kan importere til dit kalenderprogram.";
$labels['eventcancelsubject'] = '"$title" er blevet annulleret';
$labels['eventcancelmailbody'] = "*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees\n\nDette arrangement er blevet aflyst af \$organizer.\n\nBemærk venligst vedhæftede iCalendard-fil med de opdaterede detaljer om arrangementet."; $labels['eventcancelmailbody'] = "*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees\n\nDette arrangement er blevet aflyst af \$organizer.\n\nBemærk venligst vedhæftede iCalendard-fil med de opdaterede detaljer om arrangementet.";
// invitation handling (overrides labels from libcalendaring)
$labels['itipobjectnotfound'] = 'Begivenheden som denne besked henviser til, blev ikke fundet i din kalender.'; $labels['itipobjectnotfound'] = 'Begivenheden som denne besked henviser til, blev ikke fundet i din kalender.';
$labels['itipmailbodyaccepted'] = "\$sender har accepteret invitationen til det følgende arrangement:\n\n*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees"; $labels['itipmailbodyaccepted'] = "\$sender har accepteret invitationen til det følgende arrangement:\n\n*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees";
$labels['itipmailbodytentative'] = "\$sender har forsøgsvist accepteret invitationen til det følgende arrangement:\n\n*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees"; $labels['itipmailbodytentative'] = "\$sender har forsøgsvist accepteret invitationen til det følgende arrangement:\n\n*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees";
$labels['itipmailbodydeclined'] = "\$sender har afvist invitationen til det følgende arrangement:\n\n*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees"; $labels['itipmailbodydeclined'] = "\$sender har afvist invitationen til det følgende arrangement:\n\n*\$title*\n\nTidspunkt: \$date\n\nInviterede: \$attendees";
$labels['itipmailbodycancel'] = "\$sender har afvist din deltagelse i følgende begivenhed:\n\n*\$title*\n\nTidspunkt: \$date"; $labels['itipmailbodycancel'] = "\$sender har afvist din deltagelse i følgende begivenhed:\n\n*\$title*\n\nTidspunkt: \$date";
$labels['itipmailbodydelegated'] = "\$sender har delegeret deltagelsen i følgende begivenhed:\n\n*\$title*\n\nTidspunkt: \$date"; $labels['itipmailbodydelegated'] = "\$sender har delegeret deltagelsen i følgende begivenhed:\n\n*\$title*\n\nTidspunkt: \$date";
$labels['itipmailbodydelegatedto'] = "\$sender har delegeret deltagelsen i følgende begivenhed til dig:\n\n*\$title*\n\nTidspunkt: \$date"; $labels['itipmailbodydelegatedto'] = "\$sender har delegeret deltagelsen i følgende begivenhed til dig:\n\n*\$title*\n\nTidspunkt: \$date";
$labels['itipdeclineevent'] = 'Sikker på at du vil afvise dette arrangement?'; $labels['itipdeclineevent'] = 'Sikker på at du vil afvise dette arrangement?';
$labels['declinedeleteconfirm'] = 'Vil du også slette dette afviste arrangement fra din kalender?'; $labels['declinedeleteconfirm'] = 'Vil du også slette dette afviste arrangement fra din kalender?';
$labels['itipcomment'] = 'Invitation/notification comment'; $labels['itipcomment'] = 'Invitation/notification comment';
$labels['itipcommenttitle'] = 'Denne kommentar vil blive føjet til den besked med invitation/notifikation, der sendes til deltagerne'; $labels['itipcommenttitle'] = 'Denne kommentar vil blive føjet til den besked med invitation/notifikation, der sendes til deltagerne';
$labels['notanattendee'] = 'Du er ikke opført som deltager for dette arrangement'; $labels['notanattendee'] = 'Du er ikke opført som deltager for dette arrangement';
$labels['eventcancelled'] = 'Arrangementet er blevet aflyst'; $labels['eventcancelled'] = 'Arrangementet er blevet aflyst';
$labels['saveincalendar'] = 'gem i'; $labels['saveincalendar'] = 'gem i';
@ -189,6 +208,8 @@ $labels['savetocalendar'] = 'Gem til kalender';
$labels['openpreview'] = 'Tjek kalender'; $labels['openpreview'] = 'Tjek kalender';
$labels['noearlierevents'] = 'Ingen tidligere begivenheder'; $labels['noearlierevents'] = 'Ingen tidligere begivenheder';
$labels['nolaterevents'] = 'Ingen senere begivenheder'; $labels['nolaterevents'] = 'Ingen senere begivenheder';
// resources
$labels['resource'] = 'Ressource'; $labels['resource'] = 'Ressource';
$labels['addresource'] = 'Booking af ressource'; $labels['addresource'] = 'Booking af ressource';
$labels['findresources'] = 'Find ressourcer'; $labels['findresources'] = 'Find ressourcer';
@ -196,12 +217,16 @@ $labels['resourcedetails'] = 'Detaljer';
$labels['resourceavailability'] = 'Tilgængelighed'; $labels['resourceavailability'] = 'Tilgængelighed';
$labels['resourceowner'] = 'Ejer'; $labels['resourceowner'] = 'Ejer';
$labels['resourceadded'] = 'Ressourcen til føjet til din begivenhed'; $labels['resourceadded'] = 'Ressourcen til føjet til din begivenhed';
// event dialog tabs
$labels['tabsummary'] = 'Resumé'; $labels['tabsummary'] = 'Resumé';
$labels['tabrecurrence'] = 'Gentagelse'; $labels['tabrecurrence'] = 'Gentagelse';
$labels['tabattendees'] = 'Deltagere'; $labels['tabattendees'] = 'Deltagere';
$labels['tabresources'] = 'Ressourcer'; $labels['tabresources'] = 'Ressourcer';
$labels['tabattachments'] = 'Vedhæftninger'; $labels['tabattachments'] = 'Vedhæftninger';
$labels['tabsharing'] = 'Deling'; $labels['tabsharing'] = 'Deling';
// messages
$labels['deleteobjectconfirm'] = 'Sikker på at du vil slette dette arrangement?'; $labels['deleteobjectconfirm'] = 'Sikker på at du vil slette dette arrangement?';
$labels['deleteventconfirm'] = 'Sikker på at du vil slette dette arrangement?'; $labels['deleteventconfirm'] = 'Sikker på at du vil slette dette arrangement?';
$labels['deletecalendarconfirm'] = 'Sikker på at du vil slette denne kalender med alle dets arrangementer?'; $labels['deletecalendarconfirm'] = 'Sikker på at du vil slette denne kalender med alle dets arrangementer?';
@ -231,6 +256,7 @@ $labels['importsuccess'] = 'Gennemførte import af $nr arrangementer';
$labels['importnone'] = 'Fandt ingen arrangementer som kunne importeres'; $labels['importnone'] = 'Fandt ingen arrangementer som kunne importeres';
$labels['importerror'] = 'Der opstod en fejl under import'; $labels['importerror'] = 'Der opstod en fejl under import';
$labels['aclnorights'] = 'Du har ikke administratorrettigheder for denne kalender.'; $labels['aclnorights'] = 'Du har ikke administratorrettigheder for denne kalender.';
$labels['changeeventconfirm'] = 'Tilpas arrangement'; $labels['changeeventconfirm'] = 'Tilpas arrangement';
$labels['removeeventconfirm'] = 'Slet begivenhed'; $labels['removeeventconfirm'] = 'Slet begivenhed';
$labels['changerecurringeventwarning'] = 'Dette er et tilbagevendende arrangement. Ønsker du kun at redige det aktuelle arrangement, dette og alle fremtidige forekomster, alle forekomster eller gemme det som et nyt arrangement?'; $labels['changerecurringeventwarning'] = 'Dette er et tilbagevendende arrangement. Ønsker du kun at redige det aktuelle arrangement, dette og alle fremtidige forekomster, alle forekomster eller gemme det som et nyt arrangement?';
@ -240,12 +266,16 @@ $labels['currentevent'] = 'Nuværende';
$labels['futurevents'] = 'Fremtid'; $labels['futurevents'] = 'Fremtid';
$labels['allevents'] = 'Alle'; $labels['allevents'] = 'Alle';
$labels['saveasnew'] = 'Gem som ny'; $labels['saveasnew'] = 'Gem som ny';
// birthdays calendar
$labels['birthdays'] = 'Fødselsdage'; $labels['birthdays'] = 'Fødselsdage';
$labels['birthdayscalendar'] = 'Fødselsdagskalender'; $labels['birthdayscalendar'] = 'Fødselsdagskalender';
$labels['displaybirthdayscalendar'] = 'Vis fødselsdagskalender'; $labels['displaybirthdayscalendar'] = 'Vis fødselsdagskalender';
$labels['birthdayscalendarsources'] = 'Fra disse adressebøger'; $labels['birthdayscalendarsources'] = 'Fra disse adressebøger';
$labels['birthdayeventtitle'] = '$name har fødselsdag'; $labels['birthdayeventtitle'] = '$name har fødselsdag';
$labels['birthdayage'] = '$age år'; $labels['birthdayage'] = '$age år';
// history dialog
$labels['objectchangelog'] = 'Ændringshistorik'; $labels['objectchangelog'] = 'Ændringshistorik';
$labels['objectdiff'] = 'Ændringer fra $rev1 til $rev2'; $labels['objectdiff'] = 'Ændringer fra $rev1 til $rev2';
$labels['objectnotfound'] = 'Kunne ikke indlæse begivenhedsdata'; $labels['objectnotfound'] = 'Kunne ikke indlæse begivenhedsdata';
@ -254,6 +284,9 @@ $labels['objectdiffnotavailable'] = 'Det er ikke muligt at sammenligne de valgte
$labels['revisionrestoreconfirm'] = 'Sikker på at du vil genskabe revision $rev af denne begivenhed? Dette vil erstatte den nuværende begivenhed med den tidligere version.'; $labels['revisionrestoreconfirm'] = 'Sikker på at du vil genskabe revision $rev af denne begivenhed? Dette vil erstatte den nuværende begivenhed med den tidligere version.';
$labels['objectrestoresuccess'] = 'Revision $rev blev genskabt'; $labels['objectrestoresuccess'] = 'Revision $rev blev genskabt';
$labels['objectrestoreerror'] = 'Mislykkedes med at genskabe den gamle revision'; $labels['objectrestoreerror'] = 'Mislykkedes med at genskabe den gamle revision';
// (hidden) titles and labels for accessibility annotations
$labels['arialabelminical'] = 'Valg af kalenderdato'; $labels['arialabelminical'] = 'Valg af kalenderdato';
$labels['arialabelcalendarview'] = 'Kalendervisning'; $labels['arialabelcalendarview'] = 'Kalendervisning';
$labels['arialabelsearchform'] = 'Søgeformular for begivenheder'; $labels['arialabelsearchform'] = 'Søgeformular for begivenheder';
@ -264,4 +297,5 @@ $labels['arialabeleventattendees'] = 'Deltagerliste for begivenhed';
$labels['arialabeleventresources'] = 'Ressourceliste for begivenhed'; $labels['arialabeleventresources'] = 'Ressourceliste for begivenhed';
$labels['arialabelresourcesearchform'] = 'Søgeformular for ressourcer'; $labels['arialabelresourcesearchform'] = 'Søgeformular for ressourcer';
$labels['arialabelresourceselection'] = 'Tilgængelige ressourcer'; $labels['arialabelresourceselection'] = 'Tilgængelige ressourcer';
?> ?>

View file

@ -1,4 +1,5 @@
<?php <?php
/** /**
* Localizations for Kolab Calendar plugin * Localizations for Kolab Calendar plugin
* *
@ -6,6 +7,10 @@
* *
* For translation see https://www.transifex.com/projects/p/kolab/resource/calendar/ * For translation see https://www.transifex.com/projects/p/kolab/resource/calendar/
*/ */
$labels = array();
// preferences
$labels['default_view'] = 'Standardansicht'; $labels['default_view'] = 'Standardansicht';
$labels['time_format'] = 'Zeitformatierung'; $labels['time_format'] = 'Zeitformatierung';
$labels['timeslots'] = 'Zeitfenster pro Stunde'; $labels['timeslots'] = 'Zeitfenster pro Stunde';
@ -26,7 +31,9 @@ $labels['afterdelete'] = 'Nachricht löschen';
$labels['afterflagdeleted'] = 'Als gelöscht markieren'; $labels['afterflagdeleted'] = 'Als gelöscht markieren';
$labels['aftermoveto'] = 'Verschiebe nach...'; $labels['aftermoveto'] = 'Verschiebe nach...';
$labels['itipoptions'] = 'Veranstaltungseinladungen'; $labels['itipoptions'] = 'Veranstaltungseinladungen';
$labels['afteraction'] = 'Nachdem eine Einladungs- oder Update-Nachricht verarbetet wurde'; $labels['afteraction'] = 'Nachdem eine Einladungs- oder Aktualisierungsnachricht verarbeitet wurde';
// calendar
$labels['calendar'] = 'Kalender'; $labels['calendar'] = 'Kalender';
$labels['calendars'] = 'Kalender'; $labels['calendars'] = 'Kalender';
$labels['category'] = 'Kategorie'; $labels['category'] = 'Kategorie';
@ -58,7 +65,7 @@ $labels['exportrange'] = 'Termine ab';
$labels['exportattachments'] = 'Mit Anhängen'; $labels['exportattachments'] = 'Mit Anhängen';
$labels['customdate'] = 'Benutzerdefiniertes Datum'; $labels['customdate'] = 'Benutzerdefiniertes Datum';
$labels['location'] = 'Ort'; $labels['location'] = 'Ort';
$labels['url'] = 'URL'; $labels['url'] = 'Internetadresse';
$labels['date'] = 'Datum'; $labels['date'] = 'Datum';
$labels['start'] = 'Beginn'; $labels['start'] = 'Beginn';
$labels['starttime'] = 'Startzeit'; $labels['starttime'] = 'Startzeit';
@ -66,7 +73,7 @@ $labels['end'] = 'Ende';
$labels['endtime'] = 'Endzeit'; $labels['endtime'] = 'Endzeit';
$labels['repeat'] = 'Wiederholung'; $labels['repeat'] = 'Wiederholung';
$labels['selectdate'] = 'Datum auswählen'; $labels['selectdate'] = 'Datum auswählen';
$labels['freebusy'] = 'Zeige mich als'; $labels['freebusy'] = 'Mich anzeigen als';
$labels['free'] = 'Frei'; $labels['free'] = 'Frei';
$labels['busy'] = 'Gebucht'; $labels['busy'] = 'Gebucht';
$labels['outofoffice'] = 'Abwesend'; $labels['outofoffice'] = 'Abwesend';
@ -94,7 +101,7 @@ $labels['printdescriptions'] = 'Beschreibung drucken';
$labels['parentcalendar'] = 'Erstellen in'; $labels['parentcalendar'] = 'Erstellen in';
$labels['searchearlierdates'] = '« Frühere Termine suchen'; $labels['searchearlierdates'] = '« Frühere Termine suchen';
$labels['searchlaterdates'] = 'Spätere Termine suchen »'; $labels['searchlaterdates'] = 'Spätere Termine suchen »';
$labels['andnmore'] = '$nr weitere...'; $labels['andnmore'] = '$nr weitere';
$labels['togglerole'] = 'Zum Ändern der Rolle klicken'; $labels['togglerole'] = 'Zum Ändern der Rolle klicken';
$labels['createfrommail'] = 'Als Termin speichern'; $labels['createfrommail'] = 'Als Termin speichern';
$labels['importevents'] = 'Termine importieren'; $labels['importevents'] = 'Termine importieren';
@ -104,7 +111,7 @@ $labels['nmonthsback'] = '$nr Monate zurück';
$labels['showurl'] = 'URL anzeigen'; $labels['showurl'] = 'URL anzeigen';
$labels['showurldescription'] = 'Über die folgende Adresse können Sie mit einem beliebigen Kalenderprogramm Ihren Kalender abrufen (nur lesend), sofern dieses das iCal-Format unterstützt.'; $labels['showurldescription'] = 'Über die folgende Adresse können Sie mit einem beliebigen Kalenderprogramm Ihren Kalender abrufen (nur lesend), sofern dieses das iCal-Format unterstützt.';
$labels['caldavurldescription'] = 'Diese Adresse in einen <a href="http://en.wikipedia.org/wiki/CalDAV" target="_blank">CalDAV</a>-Klienten (z.B. Evolution oder Mozilla Thunderbird) kopieren, um den Kalender in Gänze mit einem mobilen Gerät zu synchronisieren.'; $labels['caldavurldescription'] = 'Diese Adresse in einen <a href="http://en.wikipedia.org/wiki/CalDAV" target="_blank">CalDAV</a>-Klienten (z.B. Evolution oder Mozilla Thunderbird) kopieren, um den Kalender in Gänze mit einem mobilen Gerät zu synchronisieren.';
$labels['findcalendars'] = 'Kalender finden...'; $labels['findcalendars'] = 'Kalender finden';
$labels['searchterms'] = 'Suchbegriffe'; $labels['searchterms'] = 'Suchbegriffe';
$labels['calsearchresults'] = 'Verfügbare Kalender'; $labels['calsearchresults'] = 'Verfügbare Kalender';
$labels['calendarsubscribe'] = 'Permanent anzeigen'; $labels['calendarsubscribe'] = 'Permanent anzeigen';
@ -115,6 +122,8 @@ $labels['invitationspending'] = 'Ausstehende Einladungen';
$labels['invitationsdeclined'] = 'Abgelehnte Einladungen'; $labels['invitationsdeclined'] = 'Abgelehnte Einladungen';
$labels['changepartstat'] = 'Teilnehmerstatus ändern'; $labels['changepartstat'] = 'Teilnehmerstatus ändern';
$labels['rsvpcomment'] = 'Einladungstext'; $labels['rsvpcomment'] = 'Einladungstext';
// agenda view
$labels['listrange'] = 'Angezeigter Bereich:'; $labels['listrange'] = 'Angezeigter Bereich:';
$labels['listsections'] = 'Unterteilung:'; $labels['listsections'] = 'Unterteilung:';
$labels['smartsections'] = 'Intelligent'; $labels['smartsections'] = 'Intelligent';
@ -129,9 +138,13 @@ $labels['nextmonth'] = 'Nächsten Monat';
$labels['weekofyear'] = 'Woche'; $labels['weekofyear'] = 'Woche';
$labels['pastevents'] = 'Vergangene'; $labels['pastevents'] = 'Vergangene';
$labels['futureevents'] = 'Zukünftige'; $labels['futureevents'] = 'Zukünftige';
// alarm/reminder settings
$labels['showalarms'] = 'Erinnerungen anzeigen'; $labels['showalarms'] = 'Erinnerungen anzeigen';
$labels['defaultalarmtype'] = 'Standard-Erinnerungseinstellung'; $labels['defaultalarmtype'] = 'Standard-Erinnerungseinstellung';
$labels['defaultalarmoffset'] = 'Standard-Erinnerungszeit'; $labels['defaultalarmoffset'] = 'Standard-Erinnerungszeit';
// attendees
$labels['attendee'] = 'Teilnehmer'; $labels['attendee'] = 'Teilnehmer';
$labels['role'] = 'Rolle'; $labels['role'] = 'Rolle';
$labels['availability'] = 'Verfüg.'; $labels['availability'] = 'Verfüg.';
@ -163,25 +176,30 @@ $labels['prevslot'] = 'Vorheriger Vorschlag';
$labels['nextslot'] = 'Nächster Vorschlag'; $labels['nextslot'] = 'Nächster Vorschlag';
$labels['suggestedslot'] = 'Empfohlener Slot'; $labels['suggestedslot'] = 'Empfohlener Slot';
$labels['noslotfound'] = 'Es konnten keine freien Zeiten gefunden werden'; $labels['noslotfound'] = 'Es konnten keine freien Zeiten gefunden werden';
$labels['invitationsubject'] = 'Sie wurden zu "$title" eingeladen'; $labels['invitationsubject'] = 'Sie wurden zu »$title« eingeladen';
$labels['invitationmailbody'] = "*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees\n\nIm Anhang finden Sie eine iCalendar-Datei mit allen Details des Termins. Diese können Sie in Ihre Kalenderanwendung importieren."; $labels['invitationmailbody'] = "*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees\n\nIm Anhang finden Sie eine iCalendar-Datei mit allen Details des Termins. Diese können Sie in Ihre Kalenderanwendung importieren.";
$labels['invitationattendlinks'] = "Falls Ihr E-Mail-Programm keine iTip-Anfragen unterstützt, können Sie den folgenden Link verwenden, um den Termin zu bestätigen oder abzulehnen:\n\$url"; $labels['invitationattendlinks'] = "Falls Ihr E-Mail-Programm keine iTip-Anfragen unterstützt, können Sie den folgenden Link verwenden, um den Termin zu bestätigen oder abzulehnen:\n\$url";
$labels['eventupdatesubject'] = '"$title" wurde aktualisiert'; $labels['eventupdatesubject'] = '»$title« wurde aktualisiert';
$labels['eventupdatesubjectempty'] = 'Termin wurde aktualisiert'; $labels['eventupdatesubjectempty'] = 'Termin wurde aktualisiert';
$labels['eventupdatemailbody'] = "*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees\n\nIm Anhang finden Sie eine iCalendar-Datei mit den aktualisiereten Termindaten. Diese können Sie in Ihre Kalenderanwendung importieren."; $labels['eventupdatemailbody'] = "*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees\n\nIm Anhang finden Sie eine iCalendar-Datei mit den aktualisiereten Termindaten. Diese können Sie in Ihre Kalenderanwendung importieren.";
$labels['eventcancelsubject'] = '"$title" wurde abgesagt'; $labels['eventcancelsubject'] = '»$title« wurde abgesagt';
$labels['eventcancelmailbody'] = "*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees\n\nDer Termin wurde von \$organizer abgesagt.\n\nIm Anhang finden Sie eine iCalendar-Datei mit den Termindaten."; $labels['eventcancelmailbody'] = "*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees\n\nDer Termin wurde von \$organizer abgesagt.\n\nIm Anhang finden Sie eine iCalendar-Datei mit den Termindaten.";
// invitation handling (overrides labels from libcalendaring)
$labels['itipobjectnotfound'] = 'Der Termin auf den sich diese Nachricht bezieht, wurde in Ihrem Kalender nicht gefunden.'; $labels['itipobjectnotfound'] = 'Der Termin auf den sich diese Nachricht bezieht, wurde in Ihrem Kalender nicht gefunden.';
$labels['itipmailbodyaccepted'] = "\$sender hat die Einladung zum folgenden Termin angenommen:\n\n*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees"; $labels['itipmailbodyaccepted'] = "\$sender hat die Einladung zum folgenden Termin angenommen:\n\n*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees";
$labels['itipmailbodytentative'] = "\$sender hat die Einladung mit Vorbehalt zum folgenden Termin angenommen:\n\n*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees"; $labels['itipmailbodytentative'] = "\$sender hat die Einladung mit Vorbehalt zum folgenden Termin angenommen:\n\n*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees";
$labels['itipmailbodydeclined'] = "\$sender hat die Einladung zum folgenden Termin abgelehnt:\n\n*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees"; $labels['itipmailbodydeclined'] = "\$sender hat die Einladung zum folgenden Termin abgelehnt:\n\n*\$title*\n\nWann: \$date\n\nTeilnehmer: \$attendees";
$labels['itipmailbodycancel'] = "\$sender hat Ihre Teilnahme bei der folgenden Veranstaltung zurückgewiesen:\n\n*\$title*\n\nWann: \$date"; $labels['itipmailbodycancel'] = "\$sender hat Ihre Teilnahme bei der folgenden Veranstaltung zurückgewiesen:\n\n*\$title*\n\nWann: \$date";
$labels['itipmailbodydelegated'] = "\$sender hat die Teilnahme an folgendem Event delegiert:\n\n*\$title*\n\nWhen: \$date"; $labels['itipmailbodydelegated'] = "\$sender hat die Teilnahme an folgendem Event delegiert:\n\n*\$title*\n\nWhen: \$date";
$labels['itipmailbodydelegatedto'] = "\$sender hat die Teilnahme an folgendem Event an Sie delegiert:\n\n*\$title*\n\nWann: \$date"; $labels['itipmailbodydelegatedto'] = "\$sender hat die Teilnahme an folgendem Event an Sie delegiert:\n\n*\$title*\n\nWann: \$date";
$labels['itipdeclineevent'] = 'Möchten Sie die Einladung zu diesem Termin ablehnen?'; $labels['itipdeclineevent'] = 'Möchten Sie die Einladung zu diesem Termin ablehnen?';
$labels['declinedeleteconfirm'] = 'Soll der abgelehnte Termin zusätzlich aus dem Kalender gelöscht werden?'; $labels['declinedeleteconfirm'] = 'Soll der abgelehnte Termin zusätzlich aus dem Kalender gelöscht werden?';
$labels['itipcomment'] = 'Kommentar zur Einladungs-/Benachrichtigungsnachricht'; $labels['itipcomment'] = 'Kommentar zur Einladungs-/Benachrichtigungsnachricht';
$labels['itipcommenttitle'] = 'Dieser Kommentar wird an die Einladungs-/Benachrichtigungsnachricht angehängt, die an die Teilnehmer verschickt wird'; $labels['itipcommenttitle'] = 'Dieser Kommentar wird an die Einladungs-/Benachrichtigungsnachricht angehängt, die an die Teilnehmer verschickt wird';
$labels['notanattendee'] = 'Sie sind nicht in der Liste der Teilnehmer aufgeführt'; $labels['notanattendee'] = 'Sie sind nicht in der Liste der Teilnehmer aufgeführt';
$labels['eventcancelled'] = 'Der Termin wurde vom Organisator abgesagt'; $labels['eventcancelled'] = 'Der Termin wurde vom Organisator abgesagt';
$labels['saveincalendar'] = 'speichern in'; $labels['saveincalendar'] = 'speichern in';
@ -190,6 +208,8 @@ $labels['savetocalendar'] = 'In Kalender übernehmen';
$labels['openpreview'] = 'Kalender überprüfen'; $labels['openpreview'] = 'Kalender überprüfen';
$labels['noearlierevents'] = 'Keine früheren Ereignisse'; $labels['noearlierevents'] = 'Keine früheren Ereignisse';
$labels['nolaterevents'] = 'Keine späteren Ereignisse'; $labels['nolaterevents'] = 'Keine späteren Ereignisse';
// resources
$labels['resource'] = 'Ressource'; $labels['resource'] = 'Ressource';
$labels['addresource'] = 'Ressource buchen'; $labels['addresource'] = 'Ressource buchen';
$labels['findresources'] = 'Ressourcen finden'; $labels['findresources'] = 'Ressourcen finden';
@ -197,17 +217,21 @@ $labels['resourcedetails'] = 'Details';
$labels['resourceavailability'] = 'Verfügbarkeit'; $labels['resourceavailability'] = 'Verfügbarkeit';
$labels['resourceowner'] = 'Eigentümer'; $labels['resourceowner'] = 'Eigentümer';
$labels['resourceadded'] = 'Diese Ressource wurde Ihrem Termin hinzugefügt'; $labels['resourceadded'] = 'Diese Ressource wurde Ihrem Termin hinzugefügt';
// event dialog tabs
$labels['tabsummary'] = 'Übersicht'; $labels['tabsummary'] = 'Übersicht';
$labels['tabrecurrence'] = 'Wiederholung'; $labels['tabrecurrence'] = 'Wiederholung';
$labels['tabattendees'] = 'Teilnehmer'; $labels['tabattendees'] = 'Teilnehmer';
$labels['tabresources'] = 'Ressourcen'; $labels['tabresources'] = 'Ressourcen';
$labels['tabattachments'] = 'Anhänge'; $labels['tabattachments'] = 'Anhänge';
$labels['tabsharing'] = 'Freigabe'; $labels['tabsharing'] = 'Freigabe';
// messages
$labels['deleteobjectconfirm'] = 'Möchten Sie diesen Termin wirklich löschen?'; $labels['deleteobjectconfirm'] = 'Möchten Sie diesen Termin wirklich löschen?';
$labels['deleteventconfirm'] = 'Möchten Sie diesen Termin wirklich löschen?'; $labels['deleteventconfirm'] = 'Möchten Sie diesen Termin wirklich löschen?';
$labels['deletecalendarconfirm'] = 'Möchten Sie diesen Kalender mit allen Terminen wirklich löschen?'; $labels['deletecalendarconfirm'] = 'Möchten Sie diesen Kalender mit allen Terminen wirklich löschen?';
$labels['deletecalendarconfirmrecursive'] = 'Soll dieser Kalender wirklich mit allen Terminen und Unterkalendern gelöscht werden?'; $labels['deletecalendarconfirmrecursive'] = 'Soll dieser Kalender wirklich mit allen Terminen und Unterkalendern gelöscht werden?';
$labels['savingdata'] = 'Speichere Daten...'; $labels['savingdata'] = 'Daten werden gespeichert …';
$labels['errorsaving'] = 'Fehler beim Speichern.'; $labels['errorsaving'] = 'Fehler beim Speichern.';
$labels['operationfailed'] = 'Die Aktion ist fehlgeschlagen.'; $labels['operationfailed'] = 'Die Aktion ist fehlgeschlagen.';
$labels['invalideventdates'] = 'Ungültige Daten eingegeben! Bitte überprüfen Sie die Eingaben.'; $labels['invalideventdates'] = 'Ungültige Daten eingegeben! Bitte überprüfen Sie die Eingaben.';
@ -220,8 +244,8 @@ $labels['errorimportingevent'] = 'Fehler beim Importieren';
$labels['importwarningexists'] = 'Eine Kopie dieses Termins existiert bereits in Ihrem Kalender.'; $labels['importwarningexists'] = 'Eine Kopie dieses Termins existiert bereits in Ihrem Kalender.';
$labels['newerversionexists'] = 'Eine neuere Version dieses Termins exisitert bereits! Import abgebrochen.'; $labels['newerversionexists'] = 'Eine neuere Version dieses Termins exisitert bereits! Import abgebrochen.';
$labels['nowritecalendarfound'] = 'Kein Kalender zum Speichern gefunden'; $labels['nowritecalendarfound'] = 'Kein Kalender zum Speichern gefunden';
$labels['importedsuccessfully'] = 'Der Termin wurde erfolgreich in \'$calendar\' gespeichert'; $labels['importedsuccessfully'] = 'Der Termin wurde erfolgreich in »$calendar« gespeichert';
$labels['updatedsuccessfully'] = 'Der Termin wurde erfolgreich in \'$calendar\' geändert'; $labels['updatedsuccessfully'] = 'Der Termin wurde erfolgreich in »$calendar« geändert';
$labels['attendeupdateesuccess'] = 'Teilnehmerstatus erfolgreich aktualisiert'; $labels['attendeupdateesuccess'] = 'Teilnehmerstatus erfolgreich aktualisiert';
$labels['itipsendsuccess'] = 'Einladung an Teilnehmer versendet.'; $labels['itipsendsuccess'] = 'Einladung an Teilnehmer versendet.';
$labels['itipresponseerror'] = 'Die Antwort auf diese Einladung konnte nicht versendet werden'; $labels['itipresponseerror'] = 'Die Antwort auf diese Einladung konnte nicht versendet werden';
@ -232,6 +256,7 @@ $labels['importsuccess'] = 'Es wurden $nr Termine erfolgreich importiert';
$labels['importnone'] = 'Keine Termine zum Importieren gefunden'; $labels['importnone'] = 'Keine Termine zum Importieren gefunden';
$labels['importerror'] = 'Fehler beim Importieren'; $labels['importerror'] = 'Fehler beim Importieren';
$labels['aclnorights'] = 'Der Zugriff auf diesen Kalender erfordert Administrator-Rechte.'; $labels['aclnorights'] = 'Der Zugriff auf diesen Kalender erfordert Administrator-Rechte.';
$labels['changeeventconfirm'] = 'Termin ändern'; $labels['changeeventconfirm'] = 'Termin ändern';
$labels['removeeventconfirm'] = 'Termin löschen'; $labels['removeeventconfirm'] = 'Termin löschen';
$labels['changerecurringeventwarning'] = 'Dies ist eine Terminreihe. Möchten Sie nur den aktuellen, diesen und alle zukünftigen oder alle Termine bearbeiten oder die Änderungen als neuen Termin speichern?'; $labels['changerecurringeventwarning'] = 'Dies ist eine Terminreihe. Möchten Sie nur den aktuellen, diesen und alle zukünftigen oder alle Termine bearbeiten oder die Änderungen als neuen Termin speichern?';
@ -241,13 +266,17 @@ $labels['currentevent'] = 'Aktuellen';
$labels['futurevents'] = 'Zukünftige'; $labels['futurevents'] = 'Zukünftige';
$labels['allevents'] = 'Alle'; $labels['allevents'] = 'Alle';
$labels['saveasnew'] = 'Als neu speichern'; $labels['saveasnew'] = 'Als neu speichern';
// birthdays calendar
$labels['birthdays'] = 'Geburtstage'; $labels['birthdays'] = 'Geburtstage';
$labels['birthdayscalendar'] = 'Geburtstags-Kalender'; $labels['birthdayscalendar'] = 'Geburtstagskalender';
$labels['displaybirthdayscalendar'] = 'Geburtstags-Kalender anzeigen'; $labels['displaybirthdayscalendar'] = 'Geburtstagskalender anzeigen';
$labels['birthdayscalendarsources'] = 'Für diese Adressbücher'; $labels['birthdayscalendarsources'] = 'Für diese Adressbücher';
$labels['birthdayeventtitle'] = '$names Geburtstag'; $labels['birthdayeventtitle'] = '$names Geburtstag';
$labels['birthdayage'] = 'Alter $age'; $labels['birthdayage'] = 'Alter $age';
$labels['objectchangelog'] = 'Änderungshistorie';
// history dialog
$labels['objectchangelog'] = 'Änderungsverlauf';
$labels['objectdiff'] = 'Änderungen aus $rev1 nach $rev2'; $labels['objectdiff'] = 'Änderungen aus $rev1 nach $rev2';
$labels['objectnotfound'] = 'Termindaten sind leider nicht vergübar'; $labels['objectnotfound'] = 'Termindaten sind leider nicht vergübar';
$labels['objectchangelognotavailable'] = 'Änderungshistorie ist nicht verfügbar für diesen Termin'; $labels['objectchangelognotavailable'] = 'Änderungshistorie ist nicht verfügbar für diesen Termin';
@ -255,6 +284,9 @@ $labels['objectdiffnotavailable'] = 'Vergleich für die gewählten Versionen nic
$labels['revisionrestoreconfirm'] = 'Wollen Sie wirklich die Version $rev dieses Termins wiederherstellen? Diese Aktion wird die aktuelle Kopie mit der älteren Version ersetzen.'; $labels['revisionrestoreconfirm'] = 'Wollen Sie wirklich die Version $rev dieses Termins wiederherstellen? Diese Aktion wird die aktuelle Kopie mit der älteren Version ersetzen.';
$labels['objectrestoresuccess'] = 'Revision $rev erfolgreich wiederhergestellt'; $labels['objectrestoresuccess'] = 'Revision $rev erfolgreich wiederhergestellt';
$labels['objectrestoreerror'] = 'Fehler beim Wiederherstellen der alten Revision'; $labels['objectrestoreerror'] = 'Fehler beim Wiederherstellen der alten Revision';
// (hidden) titles and labels for accessibility annotations
$labels['arialabelminical'] = 'Kalender Datumswahl'; $labels['arialabelminical'] = 'Kalender Datumswahl';
$labels['arialabelcalendarview'] = 'Kalender Ansicht'; $labels['arialabelcalendarview'] = 'Kalender Ansicht';
$labels['arialabelsearchform'] = 'Suchformular für Termine'; $labels['arialabelsearchform'] = 'Suchformular für Termine';
@ -265,4 +297,5 @@ $labels['arialabeleventattendees'] = 'Teilehmerliste';
$labels['arialabeleventresources'] = 'Liste der Terminressourcen'; $labels['arialabeleventresources'] = 'Liste der Terminressourcen';
$labels['arialabelresourcesearchform'] = 'Suchformular für Ressourcen'; $labels['arialabelresourcesearchform'] = 'Suchformular für Ressourcen';
$labels['arialabelresourceselection'] = 'Verfügbare Ressourcen'; $labels['arialabelresourceselection'] = 'Verfügbare Ressourcen';
?> ?>

View file

@ -1,4 +1,5 @@
<?php <?php
/** /**
* Localizations for Kolab Calendar plugin * Localizations for Kolab Calendar plugin
* *
@ -6,6 +7,10 @@
* *
* For translation see https://www.transifex.com/projects/p/kolab/resource/calendar/ * For translation see https://www.transifex.com/projects/p/kolab/resource/calendar/
*/ */
$labels = array();
// preferences
$labels['default_view'] = 'Вид по умолчанию'; $labels['default_view'] = 'Вид по умолчанию';
$labels['time_format'] = 'Формат времени'; $labels['time_format'] = 'Формат времени';
$labels['timeslots'] = 'Промежутков в час'; $labels['timeslots'] = 'Промежутков в час';
@ -27,6 +32,8 @@ $labels['afterflagdeleted'] = 'Пометить как удалённое';
$labels['aftermoveto'] = 'Переместить в...'; $labels['aftermoveto'] = 'Переместить в...';
$labels['itipoptions'] = 'Приглашения на события'; $labels['itipoptions'] = 'Приглашения на события';
$labels['afteraction'] = 'После того, как приглашение или сообщение о его изменении обработано'; $labels['afteraction'] = 'После того, как приглашение или сообщение о его изменении обработано';
// calendar
$labels['calendar'] = 'Календарь'; $labels['calendar'] = 'Календарь';
$labels['calendars'] = 'Календари'; $labels['calendars'] = 'Календари';
$labels['category'] = 'Категория'; $labels['category'] = 'Категория';
@ -115,6 +122,8 @@ $labels['invitationspending'] = 'Ожидающие приглашения';
$labels['invitationsdeclined'] = 'Отклонённые приглашения'; $labels['invitationsdeclined'] = 'Отклонённые приглашения';
$labels['changepartstat'] = 'Изменить статус участника'; $labels['changepartstat'] = 'Изменить статус участника';
$labels['rsvpcomment'] = 'Текст приглашения'; $labels['rsvpcomment'] = 'Текст приглашения';
// agenda view
$labels['listrange'] = 'Диапазон:'; $labels['listrange'] = 'Диапазон:';
$labels['listsections'] = 'Разделить на:'; $labels['listsections'] = 'Разделить на:';
$labels['smartsections'] = 'Умные секции'; $labels['smartsections'] = 'Умные секции';
@ -129,9 +138,13 @@ $labels['nextmonth'] = 'Следующий месяц';
$labels['weekofyear'] = 'Неделя'; $labels['weekofyear'] = 'Неделя';
$labels['pastevents'] = 'Прошедшее'; $labels['pastevents'] = 'Прошедшее';
$labels['futureevents'] = 'Будущее'; $labels['futureevents'] = 'Будущее';
// alarm/reminder settings
$labels['showalarms'] = 'Показывать напоминания'; $labels['showalarms'] = 'Показывать напоминания';
$labels['defaultalarmtype'] = 'Настройки напоминания по умолчанию'; $labels['defaultalarmtype'] = 'Настройки напоминания по умолчанию';
$labels['defaultalarmoffset'] = 'Время напоминания по умолчанию'; $labels['defaultalarmoffset'] = 'Время напоминания по умолчанию';
// attendees
$labels['attendee'] = 'Участник'; $labels['attendee'] = 'Участник';
$labels['role'] = 'Роль'; $labels['role'] = 'Роль';
$labels['availability'] = 'Доступность'; $labels['availability'] = 'Доступность';
@ -171,17 +184,22 @@ $labels['eventupdatesubjectempty'] = 'Событие, которое касае
$labels['eventupdatemailbody'] = "*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees\n\nВо вложении вы найдёте файл iCalendar со всеми изменениями в событии, который Вы можете импортировать в Вашу программу-ежедневник."; $labels['eventupdatemailbody'] = "*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees\n\nВо вложении вы найдёте файл iCalendar со всеми изменениями в событии, который Вы можете импортировать в Вашу программу-ежедневник.";
$labels['eventcancelsubject'] = '"$title" было отменено'; $labels['eventcancelsubject'] = '"$title" было отменено';
$labels['eventcancelmailbody'] = "*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees\n\nЭто событие отменено \$organizer.\n\nВо вложении вы найдёте файл iCalendar со всеми изменениями в событии."; $labels['eventcancelmailbody'] = "*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees\n\nЭто событие отменено \$organizer.\n\nВо вложении вы найдёте файл iCalendar со всеми изменениями в событии.";
// invitation handling (overrides labels from libcalendaring)
$labels['itipobjectnotfound'] = 'Событие, упомянутое в этом сообщении, не найдено в вашем календаре.'; $labels['itipobjectnotfound'] = 'Событие, упомянутое в этом сообщении, не найдено в вашем календаре.';
$labels['itipmailbodyaccepted'] = "\$sender принял(а) приглашение на следующее событие:\n\n*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees"; $labels['itipmailbodyaccepted'] = "\$sender принял(а) приглашение на следующее событие:\n\n*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees";
$labels['itipmailbodytentative'] = "\$sender предварительно принял(а) приглашение на следующее событие:\n\n*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees"; $labels['itipmailbodytentative'] = "\$sender предварительно принял(а) приглашение на следующее событие:\n\n*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees";
$labels['itipmailbodydeclined'] = "\$sender отклонил(а) приглашение на следующее событие:\n\n*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees"; $labels['itipmailbodydeclined'] = "\$sender отклонил(а) приглашение на следующее событие:\n\n*\$title*\n\nКогда: \$date\n\nПриглашенные: \$attendees";
$labels['itipmailbodycancel'] = "\$sender отклонил ваше участие в событии:\n\n*\$title*\n\nДата: \$date"; $labels['itipmailbodycancel'] = "\$sender отклонил ваше участие в событии:\n\n*\$title*\n\nДата: \$date";
$labels['itipmailbodydelegated'] = "\$sender перепоручил(а) учестие в событии:\n\n*\$title*\n\nДата: \$date"; $labels['itipmailbodydelegated'] = "\$sender перепоручил(а) учестие в событии:\n\n*\$title*\n\nДата: \$date";
$labels['itipmailbodydelegatedto'] = "\$sender перепоручил(а) Вам участие в событии:\n\n*\$title*\n\nДата: \$date"; $labels['itipmailbodydelegatedto'] = "\$sender перепоручил(а) Вам участие в событии:\n\n*\$title*\n\nДата: \$date";
$labels['itipdeclineevent'] = 'Вы хотите отклонить приглашение на это событие?'; $labels['itipdeclineevent'] = 'Вы хотите отклонить приглашение на это событие?';
$labels['declinedeleteconfirm'] = 'Хотите ли вы так же удалить это отклонённое событие из вашего календаря?'; $labels['declinedeleteconfirm'] = 'Хотите ли вы так же удалить это отклонённое событие из вашего календаря?';
$labels['itipcomment'] = 'Комментарий к приглашению/извещению'; $labels['itipcomment'] = 'Комментарий к приглашению/извещению';
$labels['itipcommenttitle'] = 'Этот комментарий будет прикреплён к приглашению/оповещению, отправленному участникам'; $labels['itipcommenttitle'] = 'Этот комментарий будет прикреплён к приглашению/оповещению, отправленному участникам';
$labels['notanattendee'] = 'Вы не в списке участников этого события'; $labels['notanattendee'] = 'Вы не в списке участников этого события';
$labels['eventcancelled'] = 'Это событие отменено'; $labels['eventcancelled'] = 'Это событие отменено';
$labels['saveincalendar'] = 'сохранить в'; $labels['saveincalendar'] = 'сохранить в';
@ -190,6 +208,8 @@ $labels['savetocalendar'] = 'Сохранить в календарь';
$labels['openpreview'] = 'Проверить календарь'; $labels['openpreview'] = 'Проверить календарь';
$labels['noearlierevents'] = 'Нет предыдущих событий'; $labels['noearlierevents'] = 'Нет предыдущих событий';
$labels['nolaterevents'] = 'Нет последующих событий'; $labels['nolaterevents'] = 'Нет последующих событий';
// resources
$labels['resource'] = 'Ресурс'; $labels['resource'] = 'Ресурс';
$labels['addresource'] = 'Зарезервировать ресурс'; $labels['addresource'] = 'Зарезервировать ресурс';
$labels['findresources'] = 'Найти ресурсы'; $labels['findresources'] = 'Найти ресурсы';
@ -197,12 +217,16 @@ $labels['resourcedetails'] = 'Подробнее';
$labels['resourceavailability'] = 'Доступность'; $labels['resourceavailability'] = 'Доступность';
$labels['resourceowner'] = 'Владелец'; $labels['resourceowner'] = 'Владелец';
$labels['resourceadded'] = 'Ресурс добавлен в ваше событие'; $labels['resourceadded'] = 'Ресурс добавлен в ваше событие';
// event dialog tabs
$labels['tabsummary'] = 'Сводка'; $labels['tabsummary'] = 'Сводка';
$labels['tabrecurrence'] = 'Повторение'; $labels['tabrecurrence'] = 'Повторение';
$labels['tabattendees'] = 'Участники'; $labels['tabattendees'] = 'Участники';
$labels['tabresources'] = 'Ресурсы'; $labels['tabresources'] = 'Ресурсы';
$labels['tabattachments'] = 'Вложения'; $labels['tabattachments'] = 'Вложения';
$labels['tabsharing'] = 'Совместное использование'; $labels['tabsharing'] = 'Совместное использование';
// messages
$labels['deleteobjectconfirm'] = 'Вы действительно хотите удалить это событие?'; $labels['deleteobjectconfirm'] = 'Вы действительно хотите удалить это событие?';
$labels['deleteventconfirm'] = 'Вы действительно хотите удалить это событие?'; $labels['deleteventconfirm'] = 'Вы действительно хотите удалить это событие?';
$labels['deletecalendarconfirm'] = 'Вы действительно хотите удалить этот календарь со всеми его событиями?'; $labels['deletecalendarconfirm'] = 'Вы действительно хотите удалить этот календарь со всеми его событиями?';
@ -232,6 +256,7 @@ $labels['importsuccess'] = 'Успешно импортировано $nr соб
$labels['importnone'] = 'Не найдено событий для импорта'; $labels['importnone'] = 'Не найдено событий для импорта';
$labels['importerror'] = 'Ошибка при импорте'; $labels['importerror'] = 'Ошибка при импорте';
$labels['aclnorights'] = 'Вы не имеете прав администратора для этого календаря.'; $labels['aclnorights'] = 'Вы не имеете прав администратора для этого календаря.';
$labels['changeeventconfirm'] = 'Изменить событие'; $labels['changeeventconfirm'] = 'Изменить событие';
$labels['removeeventconfirm'] = 'Удалить событие'; $labels['removeeventconfirm'] = 'Удалить событие';
$labels['changerecurringeventwarning'] = 'Это - повторяющееся событие. Хотели бы Вы редактировать только текущее событие, это и все будущие повторения, все события или сохранять его как новое событие?'; $labels['changerecurringeventwarning'] = 'Это - повторяющееся событие. Хотели бы Вы редактировать только текущее событие, это и все будущие повторения, все события или сохранять его как новое событие?';
@ -241,12 +266,16 @@ $labels['currentevent'] = 'Текущее';
$labels['futurevents'] = 'Будущие'; $labels['futurevents'] = 'Будущие';
$labels['allevents'] = 'Все'; $labels['allevents'] = 'Все';
$labels['saveasnew'] = 'Сохранить как новое'; $labels['saveasnew'] = 'Сохранить как новое';
// birthdays calendar
$labels['birthdays'] = 'Дни рождения'; $labels['birthdays'] = 'Дни рождения';
$labels['birthdayscalendar'] = 'Календарь Дней Рождения'; $labels['birthdayscalendar'] = 'Календарь Дней Рождения';
$labels['displaybirthdayscalendar'] = 'Показывать календарь Дней Рождения'; $labels['displaybirthdayscalendar'] = 'Показывать календарь Дней Рождения';
$labels['birthdayscalendarsources'] = 'Из этих адресных книг'; $labels['birthdayscalendarsources'] = 'Из этих адресных книг';
$labels['birthdayeventtitle'] = 'День рождения $name'; $labels['birthdayeventtitle'] = 'День рождения $name';
$labels['birthdayage'] = 'Возраст $age'; $labels['birthdayage'] = 'Возраст $age';
// history dialog
$labels['objectchangelog'] = 'История изменений'; $labels['objectchangelog'] = 'История изменений';
$labels['objectdiff'] = 'Изменения с $rev1 до $rev2'; $labels['objectdiff'] = 'Изменения с $rev1 до $rev2';
$labels['objectnotfound'] = 'Не удалось загрузить информацию о мероприятиях'; $labels['objectnotfound'] = 'Не удалось загрузить информацию о мероприятиях';
@ -255,6 +284,9 @@ $labels['objectdiffnotavailable'] = 'Невозможно провести ср
$labels['revisionrestoreconfirm'] = 'Вы уверенны, что хотите восстановить это событие из ревизии $rev? Оно заменит текущее событие старой версией. '; $labels['revisionrestoreconfirm'] = 'Вы уверенны, что хотите восстановить это событие из ревизии $rev? Оно заменит текущее событие старой версией. ';
$labels['objectrestoresuccess'] = 'Ревизия $rev успешно восстановлена'; $labels['objectrestoresuccess'] = 'Ревизия $rev успешно восстановлена';
$labels['objectrestoreerror'] = 'Не удалось восстановить старую ревизию'; $labels['objectrestoreerror'] = 'Не удалось восстановить старую ревизию';
// (hidden) titles and labels for accessibility annotations
$labels['arialabelminical'] = 'Выбор даты'; $labels['arialabelminical'] = 'Выбор даты';
$labels['arialabelcalendarview'] = 'Вид календаря'; $labels['arialabelcalendarview'] = 'Вид календаря';
$labels['arialabelsearchform'] = 'Форма поиска событий'; $labels['arialabelsearchform'] = 'Форма поиска событий';
@ -265,4 +297,5 @@ $labels['arialabeleventattendees'] = 'Участники события';
$labels['arialabeleventresources'] = 'Ресурсы события'; $labels['arialabeleventresources'] = 'Ресурсы события';
$labels['arialabelresourcesearchform'] = 'Форма поиска ресурсов'; $labels['arialabelresourcesearchform'] = 'Форма поиска ресурсов';
$labels['arialabelresourceselection'] = 'Доступные ресурсы'; $labels['arialabelresourceselection'] = 'Доступные ресурсы';
?> ?>

View file

@ -115,7 +115,6 @@ body.calendarmain #mainscreen {
width: 6px; width: 6px;
top: 40px !important; top: 40px !important;
bottom: 0; bottom: 0;
height: auto;
background: url(images/toggle.gif) -1px 48% no-repeat transparent; background: url(images/toggle.gif) -1px 48% no-repeat transparent;
} }
@ -1247,44 +1246,44 @@ td.topalign {
background: url(images/loading_blue.gif) center no-repeat; background: url(images/loading_blue.gif) center no-repeat;
} }
#schedule-freebusy-times td div.unknown, #schedule-freebusy-times td.unknown,
.availability img.availabilityicon.unknown { .availability img.availabilityicon.unknown {
background: #ddd; background: #ddd;
} }
#schedule-freebusy-times td div.free, #schedule-freebusy-times td.free,
.availability img.availabilityicon.free { .availability img.availabilityicon.free {
background: #abd640; background: #abd640;
} }
#schedule-freebusy-times td div.busy, #schedule-freebusy-times td.busy,
.availability img.availabilityicon.busy { .availability img.availabilityicon.busy {
background: #e26569; background: #e26569;
} }
#schedule-freebusy-times td div.tentative, #schedule-freebusy-times td.tentative,
.availability img.availabilityicon.tentative { .availability img.availabilityicon.tentative {
background: #8383fc; background: #8383fc;
} }
#schedule-freebusy-times td div.out-of-office, #schedule-freebusy-times td.out-of-office,
.availability img.availabilityicon.out-of-office { .availability img.availabilityicon.out-of-office {
background: #fbaa68; background: #fbaa68;
} }
#schedule-freebusy-times td div.all-busy, #schedule-freebusy-times td.all-busy,
#schedule-freebusy-times td div.all-tentative, #schedule-freebusy-times td.all-tentative,
#schedule-freebusy-times td div.all-out-of-office { #schedule-freebusy-times td.all-out-of-office {
background-image: url(images/freebusy-colors.png); background-image: url(images/freebusy-colors.png);
background-position: top right; background-position: top right;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
#schedule-freebusy-times td div.all-tentative { #schedule-freebusy-times td.all-tentative {
background-position: right -40px; background-position: right -40px;
} }
#schedule-freebusy-times td div.all-out-of-office { #schedule-freebusy-times td.all-out-of-office {
background-position: right -80px; background-position: right -80px;
} }
@ -1412,8 +1411,7 @@ td.topalign {
.attendees-list .spacer, .attendees-list .spacer,
#schedule-freebusy-times tr.spacer td { #schedule-freebusy-times tr.spacer td {
background: 0; background: 0;
padding: 0; font-size: 50%;
height: 10px;
} }
#schedule-freebusy-times { #schedule-freebusy-times {
@ -1426,15 +1424,6 @@ td.topalign {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
#schedule-freebusy-times tbody td {
padding: 0;
height: 20px;
}
#schedule-freebusy-times tbody td div {
height: 100%;
}
#attendees-freebusy-table div.timesheader, #attendees-freebusy-table div.timesheader,
#schedule-freebusy-times tr.times td { #schedule-freebusy-times tr.times td {
min-width: 30px; min-width: 30px;
@ -1452,10 +1441,6 @@ td.topalign {
cursor: pointer; cursor: pointer;
} }
#schedule-freebusy-times #fbrowall td {
border-bottom: none;
}
#schedule-event-time { #schedule-event-time {
position: absolute; position: absolute;
border: 2px solid #333; border: 2px solid #333;