From 42ce115d2a3ac5084e25a205e6b283e830caaaed Mon Sep 17 00:00:00 2001 From: Till JS Date: Mon, 27 Apr 2026 14:47:56 +0200 Subject: [PATCH] i18n(mail): add namespace JSONs (de/en/es/fr/it) Adds list_view sub-namespace covering compose action, loading + retry, empty states (title + hint), compose form (heading, to/subject/body placeholders, cancel/send/sending), thread detail (sender_unknown, to-prefix), empty-detail prompt, and 6 context-menu items. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../web/src/lib/i18n/locales/mail/de.json | 25 +++++++++++++++++++ .../web/src/lib/i18n/locales/mail/en.json | 25 +++++++++++++++++++ .../web/src/lib/i18n/locales/mail/es.json | 25 +++++++++++++++++++ .../web/src/lib/i18n/locales/mail/fr.json | 25 +++++++++++++++++++ .../web/src/lib/i18n/locales/mail/it.json | 25 +++++++++++++++++++ 5 files changed, 125 insertions(+) create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/mail/de.json create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/mail/en.json create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/mail/es.json create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/mail/fr.json create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/mail/it.json diff --git a/apps/mana/apps/web/src/lib/i18n/locales/mail/de.json b/apps/mana/apps/web/src/lib/i18n/locales/mail/de.json new file mode 100644 index 000000000..9f189e5e5 --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/mail/de.json @@ -0,0 +1,25 @@ +{ + "list_view": { + "action_compose": "Neue Mail", + "loading": "Lade Mails...", + "action_retry": "Erneut versuchen", + "empty_title": "Keine Mails", + "empty_hint": "Dein Postfach ist leer.", + "compose_heading": "Neue Nachricht", + "placeholder_to": "An", + "placeholder_subject": "Betreff", + "placeholder_body": "Nachricht schreiben...", + "action_cancel": "Abbrechen", + "action_send": "Senden", + "action_sending": "Wird gesendet...", + "sender_unknown": "Unbekannt", + "thread_to_prefix": "An:", + "empty_detail": "Wähle eine Nachricht aus", + "ctx_mark_unread": "Als ungelesen", + "ctx_mark_read": "Als gelesen", + "ctx_unstar": "Stern entfernen", + "ctx_star": "Markieren", + "ctx_archive": "Archivieren", + "ctx_delete": "Löschen" + } +} diff --git a/apps/mana/apps/web/src/lib/i18n/locales/mail/en.json b/apps/mana/apps/web/src/lib/i18n/locales/mail/en.json new file mode 100644 index 000000000..a48349c7d --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/mail/en.json @@ -0,0 +1,25 @@ +{ + "list_view": { + "action_compose": "New mail", + "loading": "Loading mails…", + "action_retry": "Try again", + "empty_title": "No mails", + "empty_hint": "Your inbox is empty.", + "compose_heading": "New message", + "placeholder_to": "To", + "placeholder_subject": "Subject", + "placeholder_body": "Write your message…", + "action_cancel": "Cancel", + "action_send": "Send", + "action_sending": "Sending…", + "sender_unknown": "Unknown", + "thread_to_prefix": "To:", + "empty_detail": "Select a message", + "ctx_mark_unread": "Mark unread", + "ctx_mark_read": "Mark read", + "ctx_unstar": "Remove star", + "ctx_star": "Star", + "ctx_archive": "Archive", + "ctx_delete": "Delete" + } +} diff --git a/apps/mana/apps/web/src/lib/i18n/locales/mail/es.json b/apps/mana/apps/web/src/lib/i18n/locales/mail/es.json new file mode 100644 index 000000000..a72762032 --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/mail/es.json @@ -0,0 +1,25 @@ +{ + "list_view": { + "action_compose": "Nuevo correo", + "loading": "Cargando correos…", + "action_retry": "Reintentar", + "empty_title": "Sin correos", + "empty_hint": "Tu bandeja está vacía.", + "compose_heading": "Nuevo mensaje", + "placeholder_to": "Para", + "placeholder_subject": "Asunto", + "placeholder_body": "Escribe tu mensaje…", + "action_cancel": "Cancelar", + "action_send": "Enviar", + "action_sending": "Enviando…", + "sender_unknown": "Desconocido", + "thread_to_prefix": "Para:", + "empty_detail": "Selecciona un mensaje", + "ctx_mark_unread": "Marcar no leído", + "ctx_mark_read": "Marcar leído", + "ctx_unstar": "Quitar estrella", + "ctx_star": "Marcar", + "ctx_archive": "Archivar", + "ctx_delete": "Eliminar" + } +} diff --git a/apps/mana/apps/web/src/lib/i18n/locales/mail/fr.json b/apps/mana/apps/web/src/lib/i18n/locales/mail/fr.json new file mode 100644 index 000000000..0af238bab --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/mail/fr.json @@ -0,0 +1,25 @@ +{ + "list_view": { + "action_compose": "Nouveau mail", + "loading": "Chargement des mails…", + "action_retry": "Réessayer", + "empty_title": "Aucun mail", + "empty_hint": "Ta boîte de réception est vide.", + "compose_heading": "Nouveau message", + "placeholder_to": "À", + "placeholder_subject": "Objet", + "placeholder_body": "Écris ton message…", + "action_cancel": "Annuler", + "action_send": "Envoyer", + "action_sending": "Envoi…", + "sender_unknown": "Inconnu", + "thread_to_prefix": "À :", + "empty_detail": "Sélectionne un message", + "ctx_mark_unread": "Marquer non lu", + "ctx_mark_read": "Marquer lu", + "ctx_unstar": "Retirer l'étoile", + "ctx_star": "Marquer", + "ctx_archive": "Archiver", + "ctx_delete": "Supprimer" + } +} diff --git a/apps/mana/apps/web/src/lib/i18n/locales/mail/it.json b/apps/mana/apps/web/src/lib/i18n/locales/mail/it.json new file mode 100644 index 000000000..553053d14 --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/mail/it.json @@ -0,0 +1,25 @@ +{ + "list_view": { + "action_compose": "Nuova mail", + "loading": "Caricamento mail…", + "action_retry": "Riprova", + "empty_title": "Nessuna mail", + "empty_hint": "La tua casella è vuota.", + "compose_heading": "Nuovo messaggio", + "placeholder_to": "A", + "placeholder_subject": "Oggetto", + "placeholder_body": "Scrivi il messaggio…", + "action_cancel": "Annulla", + "action_send": "Invia", + "action_sending": "Invio…", + "sender_unknown": "Sconosciuto", + "thread_to_prefix": "A:", + "empty_detail": "Seleziona un messaggio", + "ctx_mark_unread": "Segna non letto", + "ctx_mark_read": "Segna letto", + "ctx_unstar": "Rimuovi stella", + "ctx_star": "Segna con stella", + "ctx_archive": "Archivia", + "ctx_delete": "Elimina" + } +}