2
* Copyright (C) 2013-2014 Canonical Ltd
4
* This file is part of Ubuntu Calendar App
6
* Ubuntu Calendar App is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 3 as
8
* published by the Free Software Foundation.
10
* Ubuntu Calendar App is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
import Ubuntu.Components 1.1
20
import Ubuntu.Components.Popups 1.0
27
signal editEvent(var eventId);
29
title: i18n.tr("Edit Event")
31
// TRANSLATORS: argument (%1) refers to an event name.
32
text: i18n.tr("Edit only this event \"%1\", or all events in the series?").arg(event.displayLabel);
35
text: i18n.tr("Edit series")
36
color: UbuntuColors.orange
38
dialogue.editEvent(event.parentId);
39
PopupUtils.close(dialogue)
44
text: i18n.tr("Edit this")
45
color: UbuntuColors.orange
47
dialogue.editEvent(event.itemId);
48
PopupUtils.close(dialogue)
53
text: i18n.tr("Cancel")
54
onClicked: PopupUtils.close(dialogue)