8000 feat(composer): undo send and a forgotten-attachment reminder by Dandiccf · Pull Request #458 · hyprlab/hylki · GitHub
[go: up one dir, main page]

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Unreleased

- **Added: Undo Send** (#434). **Send** holds a message in the Outbox for
five seconds, with **Undo** on a notice, which brings it back into the
composer. **Settings → Composing → Undo send** sets the wait or turns it
off.
- **Added: a reminder of forgotten attachments.** A message that says
something is attached but has nothing attached asks before it goes.

- **Changed: a reply sent from the reading pane becomes its card in the
conversation.** The editor lifts out of the composer and moves to where
the reply now sits in the conversation, turning into its card on the
Expand Down
18 changes: 18 additions & 0 deletions docs/DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,24 @@ anything reading it did not. The recipient still gets them. In dark mode a
quoted message that sets its own colors keeps the light ground it was
designed for.

### Undo Send

A message sent with **Send** waits five seconds in the Outbox before it
goes, with **Undo** on a notice at the bottom of the window. **Undo** brings
it back into a composer, unsent, and sending it again starts a new wait.
**Settings → Composing → Undo send** sets the wait (5, 10, 20 or 30 seconds)
or turns it off. A message sent with **Send Later** waits already and is not
held again. Hylki closed before the wait is over sends the message the next
time it starts.

### Forgotten attachments

A message that mentions an attachment ("attached", "enclosed", and in German
"Anhang", "anbei" and the like) but has none asks before it goes: **Attach
Files…** opens the file chooser, **Send Anyway** sends it as it is. Only
what you wrote counts, not the quoted message or the signature. **Settings
→ Composing → Remind me of forgotten attachments** turns the question off.

### Drafts saved as you write

A message being written is saved to the Drafts folder on its own every 30
Expand Down
2 changes: 2 additions & 0 deletions docs/FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ The full list. The [README](../README.md) carries a shorter one.
returns, not lost. Queued messages can be edited, sent by hand or discarded.
- **Send later:** schedule a message for tomorrow morning, Monday, or any
date and time; it waits in the Outbox, editable, until then.
- **Undo send:** a sent message waits a few seconds, with Undo, before it
goes. A message that mentions an attachment but has none asks first.

## Writing

Expand Down
53 changes: 53 additions & 0 deletions po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,13 @@ msgstr "No s'ha pogut obrir {file}: {e}"
msgid "Delete {n} messages"
msgstr "Suprimeix {n} missatges"

#, fuzzy
msgid "Sending your message…"
msgstr "S'estan indexant {n} missatges…"

msgid "Sending “{subject}”…"
msgstr ""

msgid "Could not attach {names}: Hylki cannot read the file."
msgid_plural "Could not attach {n} files (Hylki cannot read them): {names}"
msgstr[0] "No s'ha pogut adjuntar {names}: l'Hylki no pot llegir el fitxer."
Expand Down Expand Up @@ -1273,6 +1280,13 @@ msgstr "Nom (Z a A)"
msgid "Full Path"
msgstr "Camí complet"

#. Translators: the beginnings of words that, written in a message,
#. mean a file is attached ("attach" also finds "attached" and
#. "attachment"). Give the words only, separated by commas; the English
#. ones are always looked for too.
msgid "attachment words|attach,enclos"
msgstr ""

msgid "Sender"
msgstr "Remitent"

Expand Down Expand Up @@ -3637,6 +3651,21 @@ msgstr ""
msgid "Check the From address"
msgstr "Comprova l'adreça del remitent"

#, fuzzy
msgid "Send without an attachment?"
msgstr "Envia com un adjunt normal"

msgid "What you wrote mentions an attachment, but none is attached."
msgstr ""

#, fuzzy
msgid "Attach Files…"
msgstr "Adjunta fitxers"

#, fuzzy
msgid "Send Anyway"
msgstr "Envia ara"

msgid "The From has to be one address, such as Ann <ann@example.com>."
msgstr "El remitent ha de ser una sola adreça, com ara Ann <ann@example.com>."

Expand Down Expand Up @@ -6144,6 +6173,24 @@ msgstr ""
"l'Evolution i el Mutt l'utilitzen per atenuar la signatura i ometre-la quan "
"citen el teu missatge."

#, fuzzy
msgid "Undo send"
msgstr "Desfés"

msgid ""
"A sent message waits this long in the Outbox, with Undo offered, before it "
"goes."
msgstr ""

#, fuzzy
msgid "Remind me of forgotten attachments"
msgstr "Amaga els adjunts"

msgid ""
"Ask before sending when what you wrote speaks of an attachment and none is "
"attached."
msgstr ""

msgid "Spelling"
msgstr "Ortografia"

Expand Down Expand Up @@ -6639,6 +6686,12 @@ msgstr "A sota dels missatges"
msgid "Follows the reading order"
msgstr "Segueix l'ordre de lectura"

#, fuzzy
msgid "{n} second"
msgid_plural "{n} seconds"
msgstr[0] "{n} destinatari"
msgstr[1] "{n} destinataris"

msgid "System language"
msgstr "Idioma del sistema"

Expand Down
50 changes: 50 additions & 0 deletions po/de.po
8
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,12 @@ msgstr "Ordner konnte nicht verschoben werden: {e}"
msgid "Delete {n} messages"
msgstr "{n} Nachrichten löschen"

msgid "Sending your message…"
msgstr "Ihre Nachricht wird gesendet…"

msgid "Sending “{subject}”…"
msgstr "„{subject}“ wird gesendet…"

msgid "Could not attach {names}: Hylki cannot read the file."
msgid_plural "Could not attach {n} files (Hylki cannot read them): {names}"
msgstr[0] ""
Expand Down Expand Up @@ -1353,6 +1359,13 @@ msgstr "Name (Z–A)"
msgid "Full Path"
msgstr "Vollständiger Pfad"

#. Translators: the beginnings of words that, written in a message,
#. mean a file is attached ("attach" also finds "attached" and
#. "attachment"). Give the words only, separated by commas; the English
#. ones are always looked for too.
msgid "attachment words|attach,enclos"
msgstr "anhang,anhäng,angehängt,anbei,beigefügt,beiliegend"

#, fuzzy
msgid "Sender"
msgstr "Absender"
Expand Down Expand Up @@ -3788,6 +3801,18 @@ msgstr ""
msgid "Check the From address"
msgstr "DMARC (ist die Absenderadresse echt?)"

msgid "Send without an attachment?"
msgstr "Ohne Anhang senden?"

msgid "What you wrote mentions an attachment, but none is attached."
msgstr "Ihr Text erwähnt einen Anhang, aber es ist keiner angehängt."

msgid "Attach Files…"
msgstr "Dateien anhängen…"

msgid "Send Anyway"
msgstr "Trotzdem senden"

msgid "The From has to be one address, such as Ann <ann@example.com>."
msgstr ""

Expand Down Expand Up @@ -6324,6 +6349,26 @@ msgstr ""
"Evolution und Mutt verwenden sie, um die Signatur abgeschwächt darzustellen "
"und beim Zitieren Ihrer Nachricht auszulassen."

msgid "Undo send"
msgstr "Senden rückgängig machen"

msgid ""
"A sent message waits this long in the Outbox, with Undo offered, before it "
"goes."
msgstr ""
"So lange wartet eine gesendete Nachricht im Postausgang, bevor sie "
"verschickt wird; bis dahin lässt sie sich zurückholen."

msgid "Remind me of forgotten attachments"
msgstr "An vergessene Anhänge erinnern"

msgid ""
"Ask before sending when what you wrote speaks of an attachment and none is "
"attached."
msgstr ""
"Vor dem Senden nachfragen, wenn Ihr Text einen Anhang erwähnt, aber keiner "
"angehängt ist."

msgid "Spelling"
msgstr "Rechtschreibung"

Expand Down Expand Up @@ -6825,6 +6870,11 @@ msgstr "Unterhalb der Meldungen"
msgid "Follows the reading order"
msgstr "Befolgt die Lesereihenfolge"

msgid "{n} second"
msgid_plural "{n} seconds"
msgstr[0] "{n} Sekunde"
msgstr[1] "{n} Sekunden"

#, fuzzy
msgid "System language"
msgstr "Systemsprache — {language}"
Expand Down
53 changes: 53 additions & 0 deletions po/el.po
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,13 @@ msgstr "Δεν ήταν δυνατό το άνοιγμα του {file}: {e}"
msgid "Delete {n} messages"
msgstr "Διαγραφή {n} μηνυμάτων"

#, fuzzy
msgid "Sending your message…"
msgstr "Ευρετηρίαση {n} μηνυμάτων…"

msgid "Sending “{subject}”…"
msgstr ""

msgid "Could not attach {names}: Hylki cannot read the file."
msgid_plural "Could not attach {n} files (Hylki cannot read them): {names}"
msgstr[0] ""
Expand Down Expand Up @@ -1289,6 +1296,13 @@ msgstr "Όνομα (Ω έως Α)"
msgid "Full Path"
msgstr "Πλήρης διαδρομή"

#. Translators: the beginnings of words that, written in a message,
#. mean a file is attached ("attach" also finds "attached" and
#. "attachment"). Give the words only, separated by commas; the English
#. ones are always looked for too.
msgid "attachment words|attach,enclos"
msgstr ""

msgid "Sender"
msgstr "Αποστολέας"

Expand Down Expand Up @@ -3687,6 +3701,21 @@ msgstr ""
msgid "Check the From address"
msgstr "Ελέγξτε τη διεύθυνση αποστολέα"

#, fuzzy
msgid "Send without an attachment?"
msgstr "Αποστολή ως κανονικό συνημμένο"

msgid "What you wrote mentions an attachment, but none is attached."
msgstr ""

#, fuzzy
msgid "Attach Files…"
msgstr "Επισύναψη αρχείων"

#, fuzzy
msgid "Send Anyway"
msgstr "Αποστολή τώρα"

msgid "The From has to be one address, such as Ann <ann@example.com>."
msgstr ""
"Το πεδίο αποστολέα πρέπει να περιέχει μία διεύθυνση, όπως Ann "
Expand Down Expand Up @@ -6234,6 +6263,24 @@ msgstr ""
"Evolution και Mutt τη χρησιμοποιούν για να εμφανίζουν την υπογραφή πιο αχνά "
"και να την παραλείπουν όταν παραθέτουν το μήνυμά σας."

#, fuzzy
msgid "Undo send"
msgstr "Αναίρεση"

msgid ""
"A sent message waits this long in the Outbox, with Undo offered, before it "
"goes."
msgstr ""

#, fuzzy
msgid "Remind me of forgotten attachments"
msgstr "Απόκρυψη συνημμένων"

msgid ""
"Ask before sending when what you wrote speaks of an attachment and none is "
"attached."
msgstr ""

msgid "Spelling"
msgstr "Ορθογραφία"

Expand Down Expand Up @@ -6736,6 +6783,12 @@ msgstr "Κάτω από τα μηνύματα"
msgid "Follows the reading order"
msgstr "Ακολουθεί τη σειρά ανάγνωσης"

#, fuzzy
msgid "{n} second"
msgid_plural "{n} seconds"
msgstr[0] "{n} παραλήπτης"
msgstr[1] "{n} παραλήπτες"

msgid "System language"
msgstr "Γλώσσα συστήματος"

Expand Down
53 changes: 53 additions & 0 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,13 @@ msgstr "No se pudo abrir {file}: {e}"
msgid "Delete {n} messages"
msgstr "Eliminar {n} mensajes"

#, fuzzy
msgid "Sending your message…"
msgstr "Indexando {n} mensajes…"

msgid "Sending “{subject}”…"
msgstr ""

msgid "Could not attach {names}: Hylki cannot read the file."
msgid_plural "Could not attach {n} files (Hylki cannot read them): {names}"
msgstr[0] "No se pudo adjuntar {names}: Hylki no puede leer el archivo."
Expand Down Expand Up @@ -1289,6 +1296,13 @@ msgstr "Nombre (Z a A)"
msgid "Full Path"
msgstr "Ruta completa"

#. Translators: the beginnings of words that, written in a message,
#. mean a file is attached ("attach" also finds "attached" and
#. "attachment"). Give the words only, separated by commas; the English
#. ones are always looked for too.
msgid "attachment words|attach,enclos"
msgstr ""

msgid "Sender"
msgstr "Remitente"

Expand Down Expand Up @@ -3660,6 +3674,21 @@ msgstr ""
msgid "Check the From address"
msgstr "Comprobar la dirección del remitente"

#, fuzzy
msgid "Send without an attachment?"
msgstr "Enviar como archivo adjunto normal"

msgid "What you wrote mentions an attachment, but none is attached."
msgstr ""

#, fuzzy
msgid "Attach Files…"
msgstr "Adjuntar archivos"

#, fuzzy
msgid "Send Anyway"
msgstr "Enviar ahora"

msgid "The From has to be one address, such as Ann <ann@example.com>."
msgstr ""
"El campo De debe contener una sola dirección, como Ana <ana@example.com>."
Expand Down Expand Up @@ -6180,6 +6209,24 @@ msgstr ""
"Añade el separador estándar «-- » encima de la firma. Thunderbird, Evolution "
"y Mutt lo utilizan para atenuar la firma y omitirla cuando citan tu mensaje."

#, fuzzy
msgid "Undo send"
msgstr "Deshacer"

msgid ""
"A sent message waits this long in the Outbox, with Undo offered, before it "
"goes."
msgstr ""

#, fuzzy
msgid "Remind me of forgotten attachments"
msgstr "Ocultar los archivos adjuntos"

msgid ""
"Ask before sending when what you wrote speaks of an attachment and none is "
"attached."
msgstr ""

msgid "Spelling"
msgstr "Ortografía"

Expand Down Expand Up @@ -6675,6 +6722,12 @@ msgstr "Debajo de los mensajes"
msgid "Follows the reading order"
msgstr "Seguir el orden de lectura"

#, fuzzy
msgid "{n} second"
msgid_plural "{n} seconds"
msgstr[0] "{n} destinatario"
msgstr[1] "{n} destinatarios"

msgid "System language"
msgstr "Idioma del sistema"

Expand Down
Loading
0