Make an event out of a message
Asked for in #167: a right-click on a mail that turns it into a calendar entry, the way a bill or a task becomes a reminder. Nothing clever, and deliberately so -- the subject becomes the title, the body becomes the description, and the reader supplies the one thing the message cannot. A due date is exactly that thing. "Due on the 14th" in an invoice is not a date a parser could be trusted with, and a wrong guess quietly scheduled is worse than no guess at all, so the editor opens on the next half hour for an hour and the reader fixes it. Forward rather than now, because a start time that has already passed by the time they press Create is one more thing to correct. The body is capped at 5000 characters. A newsletter is a message too, and its whole body would be stored on the event, synced to every device, and shown in a three-row textarea; what is worth keeping -- the amount, the account, the address -- is near the top. The cut is marked, so a truncated bill is not read as the whole of it. One message only. The list menu acts on the selection everywhere else, but there is no sensible event to make out of five mails, and the mobile entry appears only when exactly one row is held. The editor lives inside CalendarView and the reader is in the mail view when they ask, so the draft waits in the calendar store until that view mounts and takes it -- once, or it would reopen on every later visit. It seeds a form rather than an event: the dialog still says New event and still has to be pressed. Called *Create event…* rather than "appointment", which is the word the issue used: it opens the New event dialog, and each catalogue already has its own settled noun for that -- Termin, événement, 日程. Reachable three ways, since a phone has no right-click: the row context menu, a message's ⋮, and the ⋮ of a held row on mobile. Hidden entirely where the account has no calendar.
This commit is contained in:
@@ -248,6 +248,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "Kalender ist nicht verfügbar",
|
||||
"Event": "Termin",
|
||||
"New event": "Neuer Termin",
|
||||
"Create event…": "Termin erstellen…",
|
||||
"(new event)": "(neuer Termin)",
|
||||
"New all-day event": "Neuer ganztägiger Termin",
|
||||
"Add title": "Titel hinzufügen",
|
||||
|
||||
@@ -240,6 +240,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "El calendario no está disponible",
|
||||
"Event": "Evento",
|
||||
"New event": "Evento nuevo",
|
||||
"Create event…": "Crear evento…",
|
||||
"(new event)": "(evento nuevo)",
|
||||
"New all-day event": "Evento nuevo de todo el día",
|
||||
"Add title": "Añadir un título",
|
||||
|
||||
@@ -245,6 +245,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "L'agenda n'est pas disponible",
|
||||
"Event": "Événement",
|
||||
"New event": "Nouvel événement",
|
||||
"Create event…": "Créer un événement…",
|
||||
"(new event)": "(nouvel événement)",
|
||||
"New all-day event": "Nouvel événement sur la journée",
|
||||
"Add title": "Ajouter un titre",
|
||||
|
||||
@@ -239,6 +239,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "カレンダーは利用できません",
|
||||
"Event": "予定",
|
||||
"New event": "新しい予定",
|
||||
"Create event…": "予定を作成…",
|
||||
"(new event)": "(新しい予定)",
|
||||
"New all-day event": "新しい終日の予定",
|
||||
"Add title": "タイトルを追加",
|
||||
|
||||
@@ -236,6 +236,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "Agenda is niet beschikbaar",
|
||||
"Event": "Afspraak",
|
||||
"New event": "Nieuwe afspraak",
|
||||
"Create event…": "Afspraak maken…",
|
||||
"(new event)": "(nieuwe afspraak)",
|
||||
"New all-day event": "Nieuwe afspraak voor de hele dag",
|
||||
"Add title": "Titel toevoegen",
|
||||
|
||||
@@ -243,6 +243,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "A agenda não está disponível",
|
||||
"Event": "Evento",
|
||||
"New event": "Novo evento",
|
||||
"Create event…": "Criar evento…",
|
||||
"(new event)": "(novo evento)",
|
||||
"New all-day event": "Novo evento de dia inteiro",
|
||||
"Add title": "Adicionar um título",
|
||||
|
||||
@@ -242,6 +242,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "Календарь недоступен",
|
||||
"Event": "Событие",
|
||||
"New event": "Новое событие",
|
||||
"Create event…": "Создать событие…",
|
||||
"(new event)": "(новое событие)",
|
||||
"New all-day event": "Новое событие на весь день",
|
||||
"Add title": "Добавить название",
|
||||
|
||||
@@ -236,6 +236,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "Календар недоступний",
|
||||
"Event": "Подія",
|
||||
"New event": "Нова подія",
|
||||
"Create event…": "Створити подію…",
|
||||
"(new event)": "(нова подія)",
|
||||
"New all-day event": "Нова подія на весь день",
|
||||
"Add title": "Додати назву",
|
||||
|
||||
@@ -238,6 +238,7 @@ export const catalog: Catalog = {
|
||||
"Calendar is not available": "日历不可用",
|
||||
"Event": "日程",
|
||||
"New event": "新建日程",
|
||||
"Create event…": "创建日程…",
|
||||
"(new event)": "(新建日程)",
|
||||
"New all-day event": "新建全天日程",
|
||||
"Add title": "添加标题",
|
||||
|
||||
Reference in New Issue
Block a user