calendar/base/content/calendar-commands.inc.xhtml
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Sat, 12 Jul 2025 18:52:47 +0000 (17 minutes ago)
changeset 45463 00381aef9a8684987a0986c7febef8432b49981b
parent 42958 d69e95d375ab33694511d90ef39450fb1f28b28b
permissions -rw-r--r--
no bug - Bumping Thunderbird l10n changesets r=release a=l10n-bump DONTBUILD af -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ar -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ast -> 2d1c6977fe223d5777c9518da81bc5819b4d099a be -> 2d1c6977fe223d5777c9518da81bc5819b4d099a bg -> 2d1c6977fe223d5777c9518da81bc5819b4d099a br -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ca -> 2d1c6977fe223d5777c9518da81bc5819b4d099a cak -> 2d1c6977fe223d5777c9518da81bc5819b4d099a cs -> 2d1c6977fe223d5777c9518da81bc5819b4d099a cy -> 2d1c6977fe223d5777c9518da81bc5819b4d099a da -> 2d1c6977fe223d5777c9518da81bc5819b4d099a de -> 2d1c6977fe223d5777c9518da81bc5819b4d099a dsb -> 2d1c6977fe223d5777c9518da81bc5819b4d099a el -> 2d1c6977fe223d5777c9518da81bc5819b4d099a en-CA -> 2d1c6977fe223d5777c9518da81bc5819b4d099a en-GB -> 2d1c6977fe223d5777c9518da81bc5819b4d099a es-AR -> 2d1c6977fe223d5777c9518da81bc5819b4d099a es-ES -> 2d1c6977fe223d5777c9518da81bc5819b4d099a es-MX -> 2d1c6977fe223d5777c9518da81bc5819b4d099a et -> 2d1c6977fe223d5777c9518da81bc5819b4d099a eu -> 2d1c6977fe223d5777c9518da81bc5819b4d099a fi -> 2d1c6977fe223d5777c9518da81bc5819b4d099a fr -> 2d1c6977fe223d5777c9518da81bc5819b4d099a fy-NL -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ga-IE -> 2d1c6977fe223d5777c9518da81bc5819b4d099a gd -> 2d1c6977fe223d5777c9518da81bc5819b4d099a gl -> 2d1c6977fe223d5777c9518da81bc5819b4d099a he -> 2d1c6977fe223d5777c9518da81bc5819b4d099a hr -> 2d1c6977fe223d5777c9518da81bc5819b4d099a hsb -> 2d1c6977fe223d5777c9518da81bc5819b4d099a hu -> 2d1c6977fe223d5777c9518da81bc5819b4d099a hy-AM -> 2d1c6977fe223d5777c9518da81bc5819b4d099a id -> 2d1c6977fe223d5777c9518da81bc5819b4d099a is -> 2d1c6977fe223d5777c9518da81bc5819b4d099a it -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ja -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ja-JP-mac -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ka -> 2d1c6977fe223d5777c9518da81bc5819b4d099a kab -> 2d1c6977fe223d5777c9518da81bc5819b4d099a kk -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ko -> 2d1c6977fe223d5777c9518da81bc5819b4d099a lt -> 2d1c6977fe223d5777c9518da81bc5819b4d099a lv -> 2d1c6977fe223d5777c9518da81bc5819b4d099a mk -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ms -> 2d1c6977fe223d5777c9518da81bc5819b4d099a nb-NO -> 2d1c6977fe223d5777c9518da81bc5819b4d099a nl -> 2d1c6977fe223d5777c9518da81bc5819b4d099a nn-NO -> 2d1c6977fe223d5777c9518da81bc5819b4d099a pa-IN -> 2d1c6977fe223d5777c9518da81bc5819b4d099a pl -> 2d1c6977fe223d5777c9518da81bc5819b4d099a pt-BR -> 2d1c6977fe223d5777c9518da81bc5819b4d099a pt-PT -> 2d1c6977fe223d5777c9518da81bc5819b4d099a rm -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ro -> 2d1c6977fe223d5777c9518da81bc5819b4d099a ru -> 2d1c6977fe223d5777c9518da81bc5819b4d099a sk -> 2d1c6977fe223d5777c9518da81bc5819b4d099a sl -> 2d1c6977fe223d5777c9518da81bc5819b4d099a sq -> 2d1c6977fe223d5777c9518da81bc5819b4d099a sr -> 2d1c6977fe223d5777c9518da81bc5819b4d099a sv-SE -> 2d1c6977fe223d5777c9518da81bc5819b4d099a th -> 2d1c6977fe223d5777c9518da81bc5819b4d099a tr -> 2d1c6977fe223d5777c9518da81bc5819b4d099a uk -> 2d1c6977fe223d5777c9518da81bc5819b4d099a uz -> 2d1c6977fe223d5777c9518da81bc5819b4d099a vi -> 2d1c6977fe223d5777c9518da81bc5819b4d099a zh-CN -> 2d1c6977fe223d5777c9518da81bc5819b4d099a zh-TW -> 2d1c6977fe223d5777c9518da81bc5819b4d099a
# 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/.

<commandset id="calendar_commands"
            commandupdater="true"
            events="calendar_commands"
            oncommandupdate="calendarController.updateCommands()">
  <command id="agenda_delete_event_command" oncommand="TodayPane.agenda.deleteSelectedItem();"/>
  <command id="agenda_edit_event_command" oncommand="TodayPane.agenda.editSelectedItem();"/>
  <command id="switch2calendar"
           oncommand="document.getElementById('tabmail').openTab('calendar')"/>
  <command id="switch2task"
           oncommand="document.getElementById('tabmail').openTab('tasks')"/>
  <command id="new_calendar_tab"
           oncommand="document.getElementById('tabmail').openTab('calendar')"/>
  <command id="new_task_tab"
           oncommand="document.getElementById('tabmail').openTab('tasks')"/>
  <command id="calendar_go_to_today_command"
           observes="calendar_mode_calendar"
           oncommand="document.getElementById('tabmail').openTab('calendar'); goToDate(cal.dtz.now())"/>
  <command id="calendar_new_calendar_command" oncommand="goDoCommand('calendar_new_calendar_command')"/>
  <command id="calendar_delete_calendar_command" oncommand="goDoCommand('calendar_delete_calendar_command')"/>
  <command id="calendar_edit_calendar_command" oncommand="goDoCommand('calendar_edit_calendar_command')"/>

  <command id="calendar_new_event_command" oncommand="goDoCommand('calendar_new_event_command')"/>
  <command id="calendar_new_event_context_command" oncommand="goDoCommand('calendar_new_event_context_command')"/>
  <command id="calendar_new_event_todaypane_command" oncommand="goDoCommand('calendar_new_event_todaypane_command')"/>
  <command id="calendar_modify_event_command" oncommand="goDoCommand('calendar_modify_event_command')"/>
  <command id="calendar_view_event_command" oncommand="goDoCommand('calendar_view_event_command')"/>
  <command id="calendar_delete_event_command" oncommand="goDoCommand('calendar_delete_event_command')"/>

  <command id="calendar_new_todo_command" oncommand="goDoCommand('calendar_new_todo_command')"/>
  <command id="calendar_new_todo_context_command" oncommand="goDoCommand('calendar_new_todo_context_command')"/>
  <command id="calendar_new_todo_todaypane_command" oncommand="goDoCommand('calendar_new_todo_todaypane_command')"/>
  <command id="calendar_modify_todo_command" oncommand="goDoCommand('calendar_modify_todo_command')"/>
  <command id="calendar_modify_todo_todaypane_command" oncommand="goDoCommand('calendar_modify_todo_todaypane_command')"/>
  <command id="calendar_delete_todo_command" oncommand="goDoCommand('calendar_delete_todo_command')"/>

  <command id="calendar_modify_focused_item_command" oncommand="goDoCommand('calendar_modify_focused_item_command')"/>
  <command id="calendar_delete_focused_item_command" oncommand="goDoCommand('calendar_delete_focused_item_command')"/>

  <command id="calendar_import_command" oncommand="goDoCommand('calendar_import_command')"/>
  <command id="calendar_export_command" oncommand="goDoCommand('calendar_export_command')"/>
  <command id="calendar_export_selection_command" oncommand="goDoCommand('calendar_export_selection_command')"/>

  <command id="calendar_publish_selected_calendar_command" oncommand="goDoCommand('calendar_publish_selected_calendar_command')"/>
  <command id="calendar_publish_calendar_command" oncommand="goDoCommand('calendar_publish_calendar_command')"/>
  <command id="calendar_publish_selected_events_command" oncommand="goDoCommand('calendar_publish_selected_events_command')"/>

  <command id="calendar_reload_remote_calendars" oncommand="goDoCommand('calendar_reload_remote_calendars')"/>

  <command id="calendar_show_unifinder_command" oncommand="goDoCommand('calendar_show_unifinder_command')"/>
  <!-- The dash instead of the underscore is intended. the 'xxx-view' part should be the id of the view in the deck -->
  <command id="calendar_day-view_command" oncommand="goDoCommand('calendar_day-view_command')"/>
  <command id="calendar_week-view_command" oncommand="goDoCommand('calendar_week-view_command')"/>
  <command id="calendar_multiweek-view_command" oncommand="goDoCommand('calendar_multiweek-view_command')"/>
  <command id="calendar_month-view_command" oncommand="goDoCommand('calendar_month-view_command')"/>
  <command id="calendar_task_category_command"/>
  <command id="calendar_toggle_completed_command" oncommand="toggleCompleted(event)"/>
  <command id="calendar_percentComplete-0_command" oncommand="contextChangeTaskProgress(0)"/>
  <command id="calendar_percentComplete-25_command" oncommand="contextChangeTaskProgress(25)"/>
  <command id="calendar_percentComplete-50_command" oncommand="contextChangeTaskProgress(50)"/>
  <command id="calendar_percentComplete-75_command" oncommand="contextChangeTaskProgress(75)"/>
  <command id="calendar_percentComplete-100_command" oncommand="contextChangeTaskProgress(100)"/>
  <command id="calendar_priority-0_command" oncommand="contextChangeTaskPriority(0)"/>
  <command id="calendar_priority-9_command" oncommand="contextChangeTaskPriority(9)"/>
  <command id="calendar_priority-5_command" oncommand="contextChangeTaskPriority(5)"/>
  <command id="calendar_priority-1_command" oncommand="contextChangeTaskPriority(1)"/>
  <command id="calendar_general-priority_command" oncommand="goDoCommand('calendar_general-priority_command')"/>
  <command id="calendar_general-progress_command" oncommand="goDoCommand('calendar_general-progress_command')"/>
  <command id="calendar_general-postpone_command"/>
  <command id="calendar_postpone-1hour_command" oncommand="contextPostponeTask('PT1H')"/>
  <command id="calendar_postpone-1day_command" oncommand="contextPostponeTask('P1D')"/>
  <command id="calendar_postpone-1week_command" oncommand="contextPostponeTask('P1W')"/>
  <command id="calendar_toggle_orientation_command" persist="checked" oncommand="goDoCommand('calendar_toggle_orientation_command')"/>
  <command id="calendar_toggle_workdays_only_command" persist="checked" oncommand="goDoCommand('calendar_toggle_workdays_only_command')"/>
  <command id="calendar_toggle_tasks_in_view_command" persist="checked" oncommand="toggleTasksInView()"/>
  <command id="calendar_toggle_show_completed_in_view_command" persist="checked" oncommand="toggleShowCompletedInView()"/>
  <command id="calendar_toggle_calendarsidebar_command" oncommand="togglePaneSplitter('calsidebar_splitter')"/>
  <command id="calendar_toggle_minimonthpane_command" oncommand="document.getElementById('minimonth-pane').togglePane(event)"/>
  <command id="calendar_toggle_calendarlist_command" oncommand="document.getElementById('calendar-list-pane').togglePane(event)"/>
  <command id="calendar_task_filter_command" oncommand="taskViewUpdate(event.explicitOriginalTarget.getAttribute('value'))"/>
  <command id="calendar_toggle_filter_command" oncommand="document.getElementById('task-filter-pane').togglePane(event)"/>
  <command id="calendar_view_next_command" oncommand="goDoCommand('calendar_view_next_command')"/>
  <command id="calendar_view_today_command" oncommand="currentView().moveView()"/>
  <command id="calendar_view_prev_command" oncommand="goDoCommand('calendar_view_prev_command')"/>

  <!-- this is a pseudo-command that is disabled when in calendar mode -->
  <command id="calendar_in_foreground"/>
  <!-- this is a pseudo-command that is disabled when not in calendar mode -->
  <command id="calendar_in_background"/>

  <!-- These commands are enabled when in calendar or task mode, respectively -->
  <command id="calendar_mode_calendar"/>
  <command id="calendar_mode_task"/>

  <command id="calendar_attendance_command"/>

  <command id="calendar_toggle_todaypane_command" oncommand="TodayPane.toggleVisibility(event)"/>
</commandset>