diff --git a/components/email/email-list.tsx b/components/email/email-list.tsx index 605672ad..dc478e8d 100644 --- a/components/email/email-list.tsx +++ b/components/email/email-list.tsx @@ -275,7 +275,7 @@ export function EmailList({
- {selectedEmailIds.size} {selectedEmailIds.size === 1 ? 'email' : 'emails'} selected + {t('batch_actions.selected_messages', { count: selectedEmailIds.size })}
@@ -330,7 +330,7 @@ export function EmailList({ disabled={isProcessing} className="text-muted-foreground hover:text-foreground transition-colors disabled:opacity-50" > - Cancel + {t('batch_actions.clear_selection')}
diff --git a/locales/en/common.json b/locales/en/common.json index 39cb5af0..071d078f 100644 --- a/locales/en/common.json +++ b/locales/en/common.json @@ -184,6 +184,7 @@ "batch_actions": { "select": "Select emails", "select_all": "Select all", + "selected_messages": "{count, plural, one {1 email} other {# emails}} selected", "mark_read": "Mark as read", "mark_unread": "Mark as unread", "delete": "Delete", diff --git a/locales/fr/common.json b/locales/fr/common.json index 8578b50f..0c45aefd 100644 --- a/locales/fr/common.json +++ b/locales/fr/common.json @@ -184,6 +184,7 @@ "batch_actions": { "select": "Sélectionner les e-mails", "select_all": "Tout sélectionner", + "selected_messages": "{count, plural, one {1 e-mail sélectionné} other {# e-mails sélectionnés}}", "mark_read": "Marquer comme lu", "mark_unread": "Marquer comme non lu", "delete": "Supprimer",