diff --git a/components/email/email-composer.tsx b/components/email/email-composer.tsx index 1dbefb2a0..b062d9892 100644 --- a/components/email/email-composer.tsx +++ b/components/email/email-composer.tsx @@ -1561,7 +1561,9 @@ export function EmailComposer({ [composingAccountId], ); // The admin may leave users only organisation and team templates. - const personalTemplatesHidden = useTemplateSources(composingAccountId).personalHidden; + const composingTemplates = useTemplateSources(composingAccountId); + const personalTemplatesHidden = composingTemplates.personalHidden; + const composingPersonalTemplates = composingTemplates.sources.find((source) => source.kind === 'personal')?.templates; // Sign/encrypt is provided by crypto plugins (S/MIME, PGP) via the // composer-toolbar slot + the onComposeSend hook — the host stays // crypto-agnostic. @@ -4873,6 +4875,7 @@ export function EmailComposer({ >
+ {[ + template.defaultRecipients?.to?.length ? tOrg('preview_to', { list: template.defaultRecipients.to.join(', ') }) : null, + template.defaultRecipients?.cc?.length ? tOrg('preview_cc', { list: template.defaultRecipients.cc.join(', ') }) : null, + ].filter(Boolean).join(' · ')} +
+ ) : null} ); diff --git a/locales/de/common.json b/locales/de/common.json index 3880ae779..16d1fb485 100644 --- a/locales/de/common.json +++ b/locales/de/common.json @@ -2925,7 +2925,10 @@ "local_only_no_room": "Nur in diesem Browser: In Ihrem Konto ist kein Platz für weitere Vorlagen.", "personal_in_account": "Ihre Vorlagen werden in Ihrem Konto gespeichert, Sie haben sie also auf jedem Gerät, auf dem Sie sich anmelden. Alle, für die Sie Ihren Posteingang freigeben, können sie lesen.", "team_note": "Alle Mitglieder von {name} sehen diese Vorlagen und können sie ändern.", - "team_read_only": "Sie können diese Vorlagen verwenden, aber nicht ändern." + "team_read_only": "Sie können diese Vorlagen verwenden, aber nicht ändern.", + "save_failed_conflict": "Von jemand anderem geändert. Laden Sie neu und versuchen Sie es erneut.", + "preview_to": "An: {list}", + "preview_cc": "Cc: {list}" }, "contacts": { "directory": { diff --git a/locales/en/common.json b/locales/en/common.json index 53a06b2ad..d71930a35 100644 --- a/locales/en/common.json +++ b/locales/en/common.json @@ -2925,7 +2925,10 @@ "local_only_no_room": "Only in this browser: your account has no room for more templates.", "personal_in_account": "Your templates are kept in your account, so you have them on every device you sign in on. Anyone you share your Inbox with can read them.", "team_note": "Everyone in {name} sees these templates and can change them.", - "team_read_only": "You can use these templates but not change them." + "team_read_only": "You can use these templates but not change them.", + "save_failed_conflict": "Changed by someone else. Reload and try again.", + "preview_to": "To: {list}", + "preview_cc": "Cc: {list}" }, "contacts": { "directory": {