diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/calendar/base/content/calendar-context-menus-and-tooltips.inc.xhtml | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/calendar/base/content/calendar-context-menus-and-tooltips.inc.xhtml')
-rw-r--r-- | comm/calendar/base/content/calendar-context-menus-and-tooltips.inc.xhtml | 949 |
1 files changed, 949 insertions, 0 deletions
diff --git a/comm/calendar/base/content/calendar-context-menus-and-tooltips.inc.xhtml b/comm/calendar/base/content/calendar-context-menus-and-tooltips.inc.xhtml new file mode 100644 index 0000000000..f408dcca84 --- /dev/null +++ b/comm/calendar/base/content/calendar-context-menus-and-tooltips.inc.xhtml @@ -0,0 +1,949 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +<popupset id="calendar-popupset"> + <!-- Tooltips --> + <tooltip id="eventTreeTooltip" + onpopupshowing="return showToolTip(this, unifinderTreeView.getItemFromEvent(event))" + noautohide="true"/> + + <tooltip id="taskTreeTooltip" + onpopupshowing="return showToolTip(this, getTaskTree().getTaskFromEvent(event))" + noautohide="true"/> + + <tooltip id="itemTooltip" + noautohide="true"/> + + <menupopup id="agenda-menupopup"> + <menuitem label="&calendar.context.modifyorviewitem.label;" + accesskey="&calendar.context.modifyorviewitem.accesskey;" + command="agenda_edit_event_command"/> + <menu id="agenda-context-menu-convert-menu" + label="&calendar.context.convertmenu.label;" + accesskey="&calendar.context.convertmenu.accesskey.calendar;"> + <menupopup id="agenda-context-menu-convert-menupopup"> + <menuitem id="agenda-context-menu-convert-message-menuitem" + label="&calendar.context.convertmenu.message.label;" + accesskey="&calendar.context.convertmenu.message.accesskey;" + oncommand="calendarMailButtonDNDObserver.onDropItems([TodayPane.agenda.selectedItem])"/> + <menuitem id="agenda-context-menu-convert-task-menuitem" + class="event-only" + label="&calendar.context.convertmenu.task.label;" + accesskey="&calendar.context.convertmenu.task.accesskey;" + oncommand="calendarTaskButtonDNDObserver.onDropItems([TodayPane.agenda.selectedItem])"/> + </menupopup> + </menu> + <menuseparator id="calendar-today-pane-menuseparator-before-delete"/> + <menuitem label="&calendar.context.deleteevent.label;" + accesskey="&calendar.context.deleteevent.accesskey;" + key="calendar-delete-item-key" + command="agenda_delete_event_command"/> + <menu id="calendar-today-pane-menu-attendance-menu" + label="&calendar.context.attendance.menu.label;" + accesskey="&calendar.context.attendance.menu.accesskey;" + oncommand="setContextPartstat(event.target, [TodayPane.agenda.selectedItem])" + observes="calendar_attendance_command"> + <menupopup id="agenda-context-menu-attendance-menupopup"> + <label id="agenda-context-attendance-thisoccurrence-label" + class="calendar-context-heading-label" + scope="this-occurrence" + value="&calendar.context.attendance.occurrence.label;"/> + <menu id="agenda-context-menu-attendance-accepted-menu" + label="&calendar.context.attendance.occ.accepted.label;" + accesskey="&calendar.context.attendance.occ.accepted.accesskey;" + value="ACCEPTED" + name="agenda-context-attendance" + scope="this-occurrence"> + <menupopup id="agenda-context-menu-occurrence-accepted-menupopup"> + <menuitem id="agenda-context-menu-attend-accept-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="ACCEPTED" + respmode="AUTO"/> + <menuitem id="agenda-context-menu-attend-accept-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="ACCEPTED" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="agenda-context-menu-attendance-tentative-menu" + label="&calendar.context.attendance.occ.tentative.label;" + accesskey="&calendar.context.attendance.occ.tentative.accesskey;" + value="TENTATIVE" + name="agenda-context-attendance" + scope="this-occurrence"> + <menupopup id="agenda-context-menu-occurrence-tentative-menupopup"> + <menuitem id="agenda-context-menu-attend-tentative-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="TENTATIVE" + respmode="AUTO"/> + <menuitem id="agenda-context-menu-attend-tentative-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="TENTATIVE" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="agenda-context-menu-attendance-declined-menu" + label="&calendar.context.attendance.occ.declined.label;" + accesskey="&calendar.context.attendance.occ.declined.accesskey;" + value="DECLINED" + name="agenda-context-attendance" + scope="this-occurrence"> + <menupopup id="agenda-context-menu-occurrence-tentative-menupopup"> + <menuitem id="agenda-context-menu-attend-declined-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="DECLINED" + respmode="AUTO"/> + <menuitem id="agenda-context-menu-attend-declined-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="DECLINED" + respmode="NONE"/> + </menupopup> + </menu> + <menuitem id="agenda-context-menu-attendance-delegated-menu" + label="&calendar.context.attendance.occ.delegated.label;" + name="agenda-context-attendance" + scope="this-occurrence" + value="DELEGATED"/> + <menuitem id="agenda-context-menu-attendance-needsaction-menu" + label="&calendar.context.attendance.occ.needsaction.label;" + name="agenda-context-attendance" + scope="this-occurrence" + value="NEEDS-ACTION"/> + <label id="agenda-context-attendance-alloccurrence-label" + class="calendar-context-heading-label" + scope="all-occurrences" + value="&calendar.context.attendance.all2.label;"/> + <menu id="agenda-context-menu-attendance-accepted-all-menu" + label="&calendar.context.attendance.all.accepted.label;" + accesskey="&calendar.context.attendance.all.accepted.accesskey;" + value="ACCEPTED" + name="agenda-context-attendance-all" + scope="all-occurrences"> + <menupopup id="agenda-context-menu-alloccurrences-accept-menupopup"> + <menuitem id="agenda-context-menu-attend-accept-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="ACCEPTED" + respmode="AUTO"/> + <menuitem id="agenda-context-menu-attend-accept-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="ACCEPTED" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="agenda-context-menu-attendance-tentative-all-menu" + label="&calendar.context.attendance.all.tentative.label;" + accesskey="&calendar.context.attendance.all.tentative.accesskey;" + value="TENTATIVE" + name="agenda-context-attendance-all" + scope="all-occurrences"> + <menupopup id="agenda-context-menu-alloccurrences-tentative-menupopup"> + <menuitem id="agenda-context-menu-attend-tentative-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="TENTATIVE" + respmode="AUTO"/> + <menuitem id="agenda-context-menu-attend-tentative-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="TENTATIVE" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="agenda-context-menu-attendance-decline-all-menu" + label="&calendar.context.attendance.all.declined.label;" + accesskey="&calendar.context.attendance.all.declined.accesskey;" + value="DECLINED" + name="agenda-context-attendance-all" + scope="all-occurrences"> + <menupopup id="agenda-context-menu-alloccurrences-decline-menupopup"> + <menuitem id="agenda-context-menu-attend-declined-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="DECLINED" + respmode="AUTO"/> + <menuitem id="agenda-context-menu-attend-declined-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="DECLINED" + respmode="NONE"/> + </menupopup> + </menu> + <menuitem id="agenda-context-menu-attendance-delegated-all-menu" + label="&calendar.context.attendance.all.delegated.label;" + name="agenda-context-attendance-delegated-all" + scope="all-occurrences" + value="DELEGATED"/> + <menuitem id="agenda-context-menu-attendance-needsaction-all-menu" + label="&calendar.context.attendance.all.needsaction.label;" + name="agenda-context-attendance-needaction-all" + scope="all-occurrences" + value="NEEDS-ACTION"/> + </menupopup> + </menu> + </menupopup> + + <!-- CALENDAR LIST CONTEXT MENU --> + <menupopup id="list-calendars-context-menu"> + <menuitem id="list-calendars-context-togglevisible" + class="needs-calendar" + accesskeyshow="&calendar.context.showcalendar.accesskey;" + accesskeyhide="&calendar.context.hidecalendar.accesskey;" + oncommand="toggleCalendarVisible(document.getElementById('list-calendars-context-menu').contextCalendar);"/> + <menuitem id="list-calendars-context-showonly" + class="needs-calendar" + accesskey="&calendar.context.showonly.accesskey;" + oncommand="showOnlyCalendar(document.getElementById('list-calendars-context-menu').contextCalendar);"/> + <menuitem id="list-calendars-context-showall" + label="&calendar.context.showall.label;" + accesskey="&calendar.context.showall.accesskey;" + oncommand="showAllCalendars();"/> + <menuseparator id="list-calendars-context-showops-menuseparator"/> + <menuitem id="list-calendars-context-new" + label="&calendar.context.newserver.label;" + accesskey="&calendar.context.newserver.accesskey;" + command="calendar_new_calendar_command"/> + <menuitem id="list-calendars-context-delete" + class="needs-calendar" + labeldelete="&calendar.context.deleteserver2.label;" + labelremove="&calendar.context.removeserver.label;" + labelunsubscribe="&calendar.context.unsubscribeserver.label;" + accesskeydelete="&calendar.context.deleteserver2.accesskey;" + accesskeyremove="&calendar.context.removeserver.accesskey;" + accesskeyunsubscribe="&calendar.context.unsubscribeserver.accesskey;" + command="calendar_delete_calendar_command"/> + <menuseparator id="list-calendars-context-itemops-menuseparator" + class="needs-calendar"/> + <menuitem id="list-calendars-context-export" + class="needs-calendar" + label="&calendar.context.export.label;" + accesskey="&calendar.context.export.accesskey;" + oncommand="exportEntireCalendar(document.getElementById('list-calendars-context-menu').contextCalendar);"/> + <menuitem id="list-calendars-context-publish" + class="needs-calendar" + label="&calendar.context.publish.label;" + accesskey="&calendar.context.publish.accesskey;" + command="calendar_publish_selected_calendar_command"/> + <menuseparator id="list-calendars-context-export-menuseparator" + class="needs-calendar"/> + <menuitem id="list-calendar-context-reload" + class="needs-calendar" + data-l10n-id="list-calendar-context-reload-menuitem" + oncommand="document.getElementById('list-calendars-context-menu').contextCalendar.refresh();"/> + <menuseparator id="list-calendars-context-reload-menuseparator" + class="needs-calendar"/> + <menuitem id="list-calendars-context-edit" + class="needs-calendar" + label="&calendar.context.properties.label;" + accesskey="&calendar.context.properties.accesskey;" + command="calendar_edit_calendar_command"/> + </menupopup> + + <!-- CALENDAR ITEM CONTEXT MENU --> + <menupopup id="calendar-item-context-menu" + onpopupshowing="return setupContextItemType(event, currentView().getSelectedItems());"> + <menuitem id="calendar-item-context-menu-view-menuitem" + label="&calendar.context.modifyorviewitem.label;" + accesskey="&calendar.context.modifyorviewitem.accesskey;" + command="calendar_view_event_command"/> + <menuitem id="calendar-item-context-menu-modify-menuitem" + data-l10n-id="calendar-item-context-menu-modify-menuitem" + command="calendar_modify_event_command" + disabled="true" /> + <menuitem id="calendar-item-context-menu-newevent-menutitem" + label="&calendar.context.newevent.label;" + accesskey="&calendar.context.newevent.accesskey;" + key="calendar-new-event-key" + command="calendar_new_event_context_command"/> + <menuitem id="calendar-item-context-menu-newtodo-menuitem" + label="&calendar.context.newtodo.label;" + accesskey="&calendar.context.newtodo.accesskey;" + key="calendar-new-todo-key" + command="calendar_new_todo_context_command"/> + <menuseparator id="calendar-item-context-menuseparator-adddeletemodify"/> + <menuitem id="calendar-item-context-menu-cut-menuitem" + label="&calendar.context.cutevent.label;" + accesskey="&calendar.context.cutevent.accesskey;" + key="key_cut" + command="cmd_cut"/> + <menuitem id="calendar-item-context-menu-copy-menuitem" + label="&calendar.context.copyevent.label;" + accesskey="&calendar.context.copyevent.accesskey;" + key="key_copy" + command="cmd_copy"/> + <menuitem id="calendar-item-context-menu-paste-menuitem" + label="&calendar.context.pasteevent.label;" + accesskey="&calendar.context.pasteevent.accesskey;" + key="key_paste" + command="cmd_paste"/> + <menuseparator id="calendar-item-context-separator-cutcopypaste"/> + <menu id="calendar-item-context-menu-convert-menu" + label="&calendar.context.convertmenu.label;" + accesskey="&calendar.context.convertmenu.accesskey.calendar;"> + <menupopup id="calendar-item-context-menu-convert-menupopup"> + <menuitem id="calendar-view-context-menu-convert-message-menuitem" + label="&calendar.context.convertmenu.message.label;" + accesskey="&calendar.context.convertmenu.message.accesskey;" + oncommand="calendarMailButtonDNDObserver.onDropItems(currentView().getSelectedItems())"/> + <menuitem id="calendar-item-context-menu-convert-event-menuitem" + class="todo-only" + label="&calendar.context.convertmenu.event.label;" + accesskey="&calendar.context.convertmenu.event.accesskey;" + oncommand="calendarCalendarButtonDNDObserver.onDropItems(currentView().getSelectedItems())"/> + <menuitem id="calendar-item-context-menu-convert-task-menuitem" + class="event-only" + label="&calendar.context.convertmenu.task.label;" + accesskey="&calendar.context.convertmenu.task.accesskey;" + oncommand="calendarTaskButtonDNDObserver.onDropItems(currentView().getSelectedItems())"/> + </menupopup> + </menu> + <menuseparator id="calendar-menuseparator-before-delete"/> + <!-- the label and accesskey of the following menuitem is set during runtime, + and depends on whether the item is a task or an event --> + <menuitem id="calendar-item-context-menu-delete-menuitem" + key="calendar-delete-item-key" + command="calendar_delete_event_command"/> + <menu id="calendar-item-context-menu-attendance-menu" + label="&calendar.context.attendance.menu.label;" + accesskey="&calendar.context.attendance.menu.accesskey;" + oncommand="setContextPartstat(event.target, currentView().getSelectedItems())" + observes="calendar_attendance_command"> + <menupopup id="calendar-item-context-menu-attendance-menupopup"> + <label id="calendar-item-context-attendance-thisoccurrence-label" + class="calendar-context-heading-label" + scope="this-occurrence" + value="&calendar.context.attendance.occurrence.label;"/> + <menu id="calendar-item-context-menu-attendance-accepted-menu" + label="&calendar.context.attendance.occ.accepted.label;" + accesskey="&calendar.context.attendance.occ.accepted.accesskey;" + value="ACCEPTED" + name="calendar-item-context-attendance" + scope="this-occurrence"> + <menupopup id="calendar-item-context-menu-occurrence-accepted-menupopup"> + <menuitem id="calendar-item-context-menu-attend-accept-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="ACCEPTED" + respmode="AUTO"/> + <menuitem id="calendar-item-context-menu-attend-accept-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="ACCEPTED" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="calendar-item-context-menu-attendance-tentative-menu" + label="&calendar.context.attendance.occ.tentative.label;" + accesskey="&calendar.context.attendance.occ.tentative.accesskey;" + value="TENTATIVE" + name="calendar-item-context-attendance" + scope="this-occurrence"> + <menupopup id="calendar-item-context-menu-occurrence-tentative-menupopup"> + <menuitem id="calendar-item-context-menu-attend-tentative-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="TENTATIVE" + respmode="AUTO"/> + <menuitem id="calendar-item-context-menu-attend-tentative-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="TENTATIVE" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="calendar-item-context-menu-attendance-declined-menu" + label="&calendar.context.attendance.occ.declined.label;" + accesskey="&calendar.context.attendance.occ.declined.accesskey;" + value="DECLINED" + name="calendar-item-context-attendance" + scope="this-occurrence"> + <menupopup id="calendar-item-context-menu-occurrence-tentative-menupopup"> + <menuitem id="calendar-item-context-menu-attend-declined-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="DECLINED" + respmode="AUTO"/> + <menuitem id="calendar-item-context-menu-attend-declined-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="DECLINED" + respmode="NONE"/> + </menupopup> + </menu> + <menuitem id="calendar-item-context-menu-attendance-delegated-menu" + label="&calendar.context.attendance.occ.delegated.label;" + name="calendar-item-context-attendance" + scope="this-occurrence" + value="DELEGATED"/> + <menuitem id="calendar-item-context-menu-attendance-needsaction-menu" + label="&calendar.context.attendance.occ.needsaction.label;" + name="calendar-item-context-attendance" + scope="this-occurrence" + value="NEEDS-ACTION"/> + <label id="calendar-item-context-attendance-alloccurrence-label" + class="calendar-context-heading-label" + scope="all-occurrences" + value="&calendar.context.attendance.all2.label;"/> + <menu id="calendar-item-context-menu-attendance-accepted-all-menu" + label="&calendar.context.attendance.all.accepted.label;" + accesskey="&calendar.context.attendance.all.accepted.accesskey;" + value="ACCEPTED" + name="calendar-item-context-attendance-all" + scope="all-occurrences"> + <menupopup id="calendar-item-context-menu-alloccurrences-accept-menupopup"> + <menuitem id="calendar-item-context-menu-attend-accept-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="ACCEPTED" + respmode="AUTO"/> + <menuitem id="calendar-item-context-menu-attend-accept-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="ACCEPTED" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="calendar-item-context-menu-attendance-tentative-all-menu" + label="&calendar.context.attendance.all.tentative.label;" + accesskey="&calendar.context.attendance.all.tentative.accesskey;" + value="TENTATIVE" + name="calendar-item-context-attendance-all" + scope="all-occurrences"> + <menupopup id="calendar-item-context-menu-alloccurrences-tentative-menupopup"> + <menuitem id="calendar-item-context-menu-attend-tentative-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="TENTATIVE" + respmode="AUTO"/> + <menuitem id="calendar-item-context-menu-attend-tentative-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="TENTATIVE" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="calendar-item-context-menu-attendance-decline-all-menu" + label="&calendar.context.attendance.all.declined.label;" + accesskey="&calendar.context.attendance.all.declined.accesskey;" + value="DECLINED" + name="calendar-item-context-attendance-all" + scope="all-occurrences"> + <menupopup id="calendar-item-context-menu-alloccurrences-decline-menupopup"> + <menuitem id="calendar-item-context-menu-attend-declined-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="DECLINED" + respmode="AUTO"/> + <menuitem id="calendar-item-context-menu-attend-declined-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="DECLINED" + respmode="NONE"/> + </menupopup> + </menu> + <menuitem id="calendar-item-context-menu-attendance-delegated-all-menu" + label="&calendar.context.attendance.all.delegated.label;" + name="calendar-item-context-attendance-delegated-all" + scope="all-occurrences" + value="DELEGATED"/> + <menuitem id="calendar-item-context-menu-attendance-needsaction-all-menu" + label="&calendar.context.attendance.all.needsaction.label;" + name="calendar-item-context-attendance-needaction-all" + scope="all-occurrences" + value="NEEDS-ACTION"/> + </menupopup> + </menu> + </menupopup> + + <!-- CALENDAR VIEW CONTEXT MENU --> + <menupopup id="calendar-view-context-menu"> + <menuitem id="calendar-view-context-menu-newevent" + label="&calendar.context.newevent.label;" + command="calendar_new_event_context_command" + accesskey="&calendar.context.newevent.accesskey;" + key="calendar-new-event-key"/> + <menuitem id="calendar-view-context-menu-newtodo" + label="&calendar.context.newtodo.label;" + command="calendar_new_todo_context_command" + accesskey="&calendar.context.newtodo.accesskey;" + key="calendar-new-todo-key"/> + <!-- These labels are set dynamically, based on the current view --> + <menuitem id="calendar-view-context-menu-previous" + command="calendar_view_prev_command"/> + <menuitem id="calendar-view-context-menu-next" + command="calendar_view_next_command"/> + <menuseparator id="calendar-item-context-separator-cutcopypaste"/> + <!-- Cut and copy doesn't make sense in the views, but only showing paste + makes it look like something is missing. Disable by default. --> + <menuitem id="calendar-view-context-menu-cut-menuitem" + label="&calendar.context.cutevent.label;" + accesskey="&calendar.context.cutevent.accesskey;" + key="key_cut" + disabled="true"/> + <menuitem id="calendar-view-context-menu-copy-menuitem" + label="&calendar.context.copyevent.label;" + accesskey="&calendar.context.copyevent.accesskey;" + key="key_copy" + disabled="true"/> + <menuitem id="calendar-view-context-menu-paste-menuitem" + label="&calendar.context.pasteevent.label;" + accesskey="&calendar.context.pasteevent.accesskey;" + key="key_paste" + command="cmd_paste"/> + </menupopup> + + <!-- TASK ITEM CONTEXT MENU --> + <menupopup id="taskitem-context-menu" + onpopupshowing="changeContextMenuForTask(event);" + onpopuphiding="handleTaskContextMenuStateChange(event);"> + <menuitem id="task-context-menu-modify" + label="&calendar.context.modifyorviewtask.label;" + accesskey="&calendar.context.modifyorviewtask.accesskey;" + command="calendar_modify_todo_command"/> + <menuitem id="task-context-menu-modify-todaypane" + label="&calendar.context.modifyorviewtask.label;" + accesskey="&calendar.context.modifyorviewtask.accesskey;" + command="calendar_modify_todo_todaypane_command"/> + <menuitem id="task-context-menu-new" + label="&calendar.context.newtodo.label;" + accesskey="&calendar.context.newtodo.accesskey;" + key="calendar-new-todo-key" + command="calendar_new_todo_command"/> + <menuitem id="task-context-menu-new-todaypane" + label="&calendar.context.newtodo.label;" + accesskey="&calendar.context.newtodo.accesskey;" + key="calendar-new-todo-key" + command="calendar_new_todo_todaypane_command"/> + <menuseparator id="task-context-menuseparator-cutcopypaste"/> + <menuitem id="task-context-menu-cut-menuitem" + label="&calendar.context.cutevent.label;" + accesskey="&calendar.context.cutevent.accesskey;" + key="key_cut" + command="cmd_cut"/> + <menuitem id="task-context-menu-copy-menuitem" + label="&calendar.context.copyevent.label;" + accesskey="&calendar.context.copyevent.accesskey;" + key="key_copy" + command="cmd_copy"/> + <menuitem id="task-context-menu-paste-menuitem" + label="&calendar.context.pasteevent.label;" + accesskey="&calendar.context.pasteevent.accesskey;" + key="key_paste" + command="cmd_paste"/> + <menuseparator id="calendar-menuseparator-beforemarkcompleted"/> + <menuitem id="calendar-context-markcompleted" + type="checkbox" + autocheck="false" + label="&calendar.context.markcompleted.label;" + accesskey="&calendar.context.markcompleted.accesskey;" + command="calendar_toggle_completed_command"/> + <menu id="task-context-menu-progress" + label="&calendar.context.progress.label;" + accesskey="&calendar.context.progress.accesskey;" + command="calendar_general-progress_command"> + <menupopup is="calendar-task-progress-menupopup"/> + </menu> + <menu id="task-context-menu-priority" + label="&calendar.context.priority.label;" + accesskey="&calendar.context.priority.accesskey;" + command="calendar_general-priority_command"> + <menupopup is="calendar-task-priority-menupopup"/> + </menu> + <menu id="task-context-menu-postpone" + label="&calendar.context.postpone.label;" + accesskey="&calendar.context.postpone.accesskey;" + command="calendar_general-postpone_command"> + <menupopup id="task-context-postpone-menupopup"> + <menuitem id="task-context-postpone-1hour" + label="&calendar.context.postpone.1hour.label;" + accesskey="&calendar.context.postpone.1hour.accesskey;" + command="calendar_postpone-1hour_command"/> + <menuitem id="task-context-postpone-1day" + label="&calendar.context.postpone.1day.label;" + accesskey="&calendar.context.postpone.1day.accesskey;" + command="calendar_postpone-1day_command"/> + <menuitem id="task-context-postpone-1week" + label="&calendar.context.postpone.1week.label;" + accesskey="&calendar.context.postpone.1week.accesskey;" + command="calendar_postpone-1week_command"/> + </menupopup> + </menu> + <menu id="calendar-context-calendar-menu" + label="&calendar.calendar.label;" + accesskey="&calendar.calendar.accesskey;"> + <menupopup id="calendar-context-calendar-menupopup" + onpopupshowing="addCalendarNames(event);"/> + </menu> + <menuseparator id="task-context-menu-separator-conversion"/> + <menu id="task-context-menu-convert" + label="&calendar.context.convertmenu.label;" + accesskey="&calendar.context.convertmenu.accesskey.calendar;"> + <menupopup id="task-context-convert-menupopup"> + <menuitem id="calendar-context-converttomessage" + label="&calendar.context.convertmenu.message.label;" + accesskey="&calendar.context.convertmenu.message.accesskey;" + oncommand="tasksToMail()"/> + <menuitem id="calendar-context-converttoevent" + label="&calendar.context.convertmenu.event.label;" + accesskey="&calendar.context.convertmenu.event.accesskey;" + oncommand="tasksToEvents()"/> + </menupopup> + </menu> + <menuseparator/> + <menuitem id="task-context-menu-delete" + label="&calendar.context.deletetask.label;" + accesskey="&calendar.context.deletetask.accesskey;" + command="calendar_delete_todo_command"/> + <menu id="task-context-menu-attendance-menu" + label="&calendar.context.attendance.menu.label;" + accesskey="&calendar.context.attendance.menu.accesskey;" + oncommand="setContextPartstat(event.target, getSelectedTasks())" + observes="calendar_attendance_command"> + <menupopup id="task-context-menu-attendance-menupopup"> + <label id="task-context-attendance-thisoccurrence-label" + class="calendar-context-heading-label" + scope="this-occurrence" + value="&calendar.context.attendance.occurrence.label;"/> + <menu id="task-context-menu-attendance-accepted-menu" + label="&calendar.context.attendance.occ.accepted.label;" + accesskey="&calendar.context.attendance.occ.accepted.accesskey;" + value="ACCEPTED" + name="task-context-attendance" + scope="this-occurrence"> + <menupopup id="task-context-menu-occurrence-accepted-menupopup"> + <menuitem id="task-context-menu-attend-accept-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="ACCEPTED" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-accept-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="ACCEPTED" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="task-context-menu-attendance-tentative-menu" + label="&calendar.context.attendance.occ.tentative.label;" + accesskey="&calendar.context.attendance.occ.tentative.accesskey;" + value="TENTATIVE" + name="task-context-attendance" + scope="this-occurrence"> + <menupopup id="task-context-menu-occurrence-tentative-menupopup"> + <menuitem id="task-context-menu-attend-tentative-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="TENTATIVE" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-tentative-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="TENTATIVE" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="task-context-menu-attendance-declined-menu" + label="&calendar.context.attendance.occ.declined.label;" + accesskey="&calendar.context.attendance.occ.declined.accesskey;" + value="DECLINED" + name="task-context-attendance" + scope="this-occurrence"> + <menupopup id="task-context-menu-occurrence-tentative-menupopup"> + <menuitem id="task-context-menu-attend-declined-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="DECLINED" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-declined-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="DECLINED" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="task-context-menu-attendance-inprogress-menu" + label="&calendar.context.attendance.occ.inprogress.label;" + accesskey="&calendar.context.attendance.occ.inprogress.accesskey;" + value="IN-PROGRESS" + name="task-context-attendance" + scope="this-occurrence"> + <menupopup id="task-context-menu-occurrence-inprogress-menupopup"> + <menuitem id="task-context-menu-attend-inprogress-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="IN-PROGRESS" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-inprogress-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="IN-PROGRESS" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="task-context-menu-attendance-completed-menu" + label="&calendar.context.attendance.occ.completed.label;" + accesskey="&calendar.context.attendance.occ.completed.accesskey;" + value="COMPLETED" + name="task-context-attendance" + scope="this-occurrence"> + <menupopup id="task-context-menu-occurrence-completed-menupopup"> + <menuitem id="task-context-menu-attend-completed-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="COMPLETED" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-completed-dontsend-menuitem" + scope="this-occurrence" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="COMPLETED" + respmode="NONE"/> + </menupopup> + </menu> + <menuitem id="task-context-menu-attendance-delegated-menu" + label="&calendar.context.attendance.occ.delegated.label;" + name="task-context-attendance" + scope="this-occurrence" + value="DELEGATED"/> + <menuitem id="task-context-menu-attendance-needsaction-menu" + label="&calendar.context.attendance.occ.needsaction.label;" + name="task-context-attendance" + scope="this-occurrence" + value="NEEDS-ACTION"/> + <label id="task-context-attendance-alloccurrence-label" + class="calendar-context-heading-label" + scope="all-occurrences" + value="&calendar.context.attendance.all2.label;"/> + <menu id="task-context-menu-attendance-accepted-all-menu" + label="&calendar.context.attendance.all.accepted.label;" + accesskey="&calendar.context.attendance.all.accepted.accesskey;" + value="ACCEPTED" + name="task-context-attendance-all" + scope="all-occurrences"> + <menupopup id="task-context-menu-alloccurrences-accept-menupopup"> + <menuitem id="task-context-menu-attend-accept-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="ACCEPTED" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-accept-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="ACCEPTED" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="task-context-menu-attendance-tentative-all-menu" + label="&calendar.context.attendance.all.tentative.label;" + accesskey="&calendar.context.attendance.all.tentative.accesskey;" + value="TENTATIVE" + name="task-context-attendance-all" + scope="all-occurrences"> + <menupopup id="task-context-menu-alloccurrences-tentative-menupopup"> + <menuitem id="task-context-menu-attend-tentative-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="TENTATIVE" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-tentative-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="TENTATIVE" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="task-context-menu-attendance-decline-all-menu" + label="&calendar.context.attendance.all.declined.label;" + accesskey="&calendar.context.attendance.all.declined.accesskey;" + value="DECLINED" + name="task-context-attendance-all" + scope="all-occurrences"> + <menupopup id="task-context-menu-alloccurrences-decline-menupopup"> + <menuitem id="task-context-menu-attend-declined-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="DECLINED" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-declined-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="DECLINED" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="task-context-menu-attendance-inprogress-all-menu" + label="&calendar.context.attendance.all.inprogress.label;" + accesskey="&calendar.context.attendance.all.inprogress.accesskey;" + value="IN-PROGRESS" + name="task-context-attendance-all" + scope="all-occurrences"> + <menupopup id="task-context-menu-alloccurrences-inprogress-menupopup"> + <menuitem id="task-context-menu-attend-inprogress-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="IN-PROGRESS" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-inprogress-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="IN-PROGRESS" + respmode="NONE"/> + </menupopup> + </menu> + <menu id="task-context-menu-attendance-completed-all-menu" + label="&calendar.context.attendance.all.completed.label;" + accesskey="&calendar.context.attendance.all.completed.accesskey;" + value="COMPLETED" + name="task-context-attendance-all" + scope="all-occurrences"> + <menupopup id="task-context-menu-alloccurrences-completed-menupopup"> + <menuitem id="task-context-menu-attend-completed-all-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.send.label;" + accesskey="&calendar.context.attendance.send.accesskey;" + respvalue="COMPLETED" + respmode="AUTO"/> + <menuitem id="task-context-menu-attend-completed-all-dontsend-menuitem" + scope="all-occurrences" + label="&calendar.context.attendance.dontsend.label;" + accesskey="&calendar.context.attendance.dontsend.accesskey;" + respvalue="COMPLETED" + respmode="NONE"/> + </menupopup> + </menu> + <menuitem id="task-context-menu-attendance-delegated-all-menu" + label="&calendar.context.attendance.all.delegated.label;" + name="task-context-attendance-delegated-all" + scope="all-occurrences" + value="DELEGATED"/> + <menuitem id="task-context-menu-attendance-needsaction-all-menu" + label="&calendar.context.attendance.all.delegated.label;" + name="task-context-attendance-needaction-all" + scope="all-occurrences" + value="NEEDS-ACTION"/> + </menupopup> + </menu> + <menuseparator id="task-context-menu-separator-filter"/> + <menu id="task-context-menu-filter-todaypane" + label="&calendar.tasks.view.filtertasks.label;" + accesskey="&calendar.tasks.view.filtertasks.accesskey;"> + <menupopup id="task-context-menu-filter-todaypane-popup" + oncommand="TodayPane.updateCalendarToDoUnifinder(event.target.getAttribute('value'))"> + <menuitem id="task-context-menu-filter-todaypane-current" + name="filtergrouptodaypane" + value="throughcurrent" + type="radio" + label="&calendar.task.filter.current.label;" + accesskey="&calendar.task.filter.current.accesskey;"/> + <menuitem id="task-context-menu-filter-todaypane-today" + name="filtergrouptodaypane" + value="throughtoday" + type="radio" + label="&calendar.task.filter.today.label;" + accesskey="&calendar.task.filter.today.accesskey;"/> + <menuitem id="task-context-menu-filter-todaypane-next7days" + name="filtergrouptodaypane" + value="throughsevendays" + type="radio" + label="&calendar.task.filter.next7days.label;" + accesskey="&calendar.task.filter.next7days.accesskey;"/> + <menuitem id="task-context-menu-filter-todaypane-notstarted" + name="filtergrouptodaypane" + value="notstarted" + type="radio" + label="&calendar.task.filter.notstarted.label;" + accesskey="&calendar.task.filter.notstarted.accesskey;"/> + <menuitem id="task-context-menu-filter-todaypane-overdue" + name="filtergrouptodaypane" + value="overdue" + type="radio" + label="&calendar.task.filter.overdue.label;" + accesskey="&calendar.task.filter.overdue.accesskey;"/> + <menuitem id="task-context-menu-filter-todaypane-completed" + name="filtergrouptodaypane" + type="radio" + value="completed" + label="&calendar.task.filter.completed.label;" + accesskey="&calendar.task.filter.completed.accesskey;"/> + <menuitem id="task-context-menu-filter-todaypane-open" + name="filtergrouptodaypane" + type="radio" + value="open" + label="&calendar.task.filter.open.label;" + accesskey="&calendar.task.filter.open.accesskey;"/> + <menuitem id="task-context-menu-filter-todaypane-all" + name="filtergrouptodaypane" + value="all" + type="radio" + label="&calendar.task.filter.all.label;" + accesskey="&calendar.task.filter.all.accesskey;"/> + </menupopup> + </menu> + </menupopup> + + <!-- TASKVIEW LINK CONTEXT MENU --> + <menupopup id="taskview-link-context-menu"> + <menuitem id="taskview-link-context-menu-copy" + label="&calendar.copylink.label;" + accesskey="&calendar.copylink.accesskey;" + oncommand="taskViewCopyLink(this.parentNode.triggerNode)"/> + </menupopup> + + <!-- CALENDAR EVENT DIALOG (IN TAB) TOOLBAR CONTEXT MENU --> + <menupopup id="event-dialog-toolbar-context-menu" + onpopupshowing="calendarOnToolbarsPopupShowing(event);"> + <menuseparator id="customizeEventToolbarMenuSeparator"/> + <menuitem id="CustomizeDialogToolbar" + label="&event.menu.view.toolbars.customize.label;" + command="cmd_customize"/> + </menupopup> +</popupset> |