Fix dialog labels after 'remove' => 'delete' change from folder navigation
This commit is contained in:
parent
ff60323e90
commit
3b65094053
2 changed files with 4 additions and 4 deletions
|
@ -550,7 +550,7 @@ function rcube_calendar_ui(settings)
|
|||
buttons[rcmail.gettext('edit', 'calendar')] = function() {
|
||||
event_edit_dialog('edit', event);
|
||||
};
|
||||
buttons[rcmail.gettext('remove', 'calendar')] = function() {
|
||||
buttons[rcmail.gettext('delete', 'calendar')] = function() {
|
||||
me.delete_event(event);
|
||||
$dialog.dialog('close');
|
||||
};
|
||||
|
@ -2495,7 +2495,7 @@ function rcube_calendar_ui(settings)
|
|||
|
||||
if (!event.recurrence) {
|
||||
buttons.push({
|
||||
text: rcmail.gettext((action == 'remove' ? 'remove' : 'save'), 'calendar'),
|
||||
text: rcmail.gettext((action == 'remove' ? 'delete' : 'save'), 'calendar'),
|
||||
click: function() {
|
||||
data._notify = notify && $dialog.find('input.confirm-attendees-donotify:checked').length ? 1 : 0;
|
||||
data.decline = decline && $dialog.find('input.confirm-attendees-decline:checked').length ? 1 : 0;
|
||||
|
|
|
@ -254,9 +254,9 @@ $labels['importerror'] = 'An error occured while importing';
|
|||
$labels['aclnorights'] = 'You do not have administrator rights on this calendar.';
|
||||
|
||||
$labels['changeeventconfirm'] = 'Change event';
|
||||
$labels['removeeventconfirm'] = 'Remove event';
|
||||
$labels['removeeventconfirm'] = 'Delete event';
|
||||
$labels['changerecurringeventwarning'] = 'This is a recurring event. Would you like to edit the current event only, this and all future occurences, all occurences or save it as a new event?';
|
||||
$labels['removerecurringeventwarning'] = 'This is a recurring event. Would you like to remove the current event only, this and all future occurences or all occurences of this event?';
|
||||
$labels['removerecurringeventwarning'] = 'This is a recurring event. Would you like to delete the current event only, this and all future occurences or all occurences of this event?';
|
||||
$labels['currentevent'] = 'Current';
|
||||
$labels['futurevents'] = 'Future';
|
||||
$labels['allevents'] = 'All';
|
||||
|
|
Loading…
Add table
Reference in a new issue