fix(i18n): add missing translation keys for signatures and email import

Fixes 25 failing tests across translations and eml-import test suites:

- Add 141 missing i18n keys to en/common.json for P2.1 (extended signatures
  feature) and P2.5 (email import feature). Keys cover:
  - signatures.* (signature editor, toolbar labels, per-identity settings)
  - settings.importer.* (mail import UI labels and messages)
  - settings.tabs.signatures, settings.{loading,refresh}
  - email_composer.{insert_signature,no_signature,select_signature}
  - identities.form.{signature_store_*,use_global_default}
  - calendar.{edit,delete,duplicate}, contacts.{edit,delete,send_email}
  - contacts.import.csv_* (CSV column mapping labels)
  - Other related keys for sharing, mailbox context menu, file operations

- Propagate new keys to all 23 other locale files:
  - ar, ca, cs, da, de, es, fa, fr, he, hu, it, ja, ko, lv, nl, pl, pt, ro,
    ru, sk, tr, uk, zh
  - 19 locales with real, idiomatic translations matching existing tone
  - 4 locales (da, es, fa, zh) with English placeholders pending native
    translation

- Fix eml-import test: update accept-string expectation to match actual
  EML_IMPORT_ACCEPT constant (now includes .tgz, .tar.gz, application/gzip
  support added in P2.5)

All 53 tests now pass:
  - 48 translation completeness tests
  - 5 eml-import tests

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bernd Rodler
2026-08-07 15:15:17 +02:00
co-authored by Claude Sonnet 5
parent a0bffa9467
commit 1189b146ef
26 changed files with 4123 additions and 253 deletions
+124 -6
View File
@@ -713,7 +713,10 @@
"delete_table": "Delete table",
"pick_size": "Pick size"
},
"send_filing_warning": "Sent - but the post-send cleanup failed, a stale draft may remain."
"send_filing_warning": "Sent - but the post-send cleanup failed, a stale draft may remain.",
"insert_signature": "Insert signature",
"no_signature": "No signature",
"select_signature": "Select signature"
},
"confirm_dialog": {
"confirm": "Confirm",
@@ -894,7 +897,8 @@
"about_data": "About & Data",
"import": "Import",
"sharing": "Sharing",
"debug": "Debug"
"debug": "Debug",
"signatures": "Signatures"
},
"tab_groups": {
"general": "General",
@@ -2010,6 +2014,38 @@
"preview": {
"label": "Preview"
}
},
"loading": "Loading...",
"refresh": "Refresh",
"importer": {
"title": "Import Mail",
"description": "Import email messages from .eml files into a folder.",
"file_label": "Files",
"file_description": "Select one or more .eml files to import.",
"choose_files": "Choose files",
"files_selected": "{count, plural, one {# file selected} other {# files selected}}",
"folder_label": "Destination folder",
"folder_description": "Choose the folder to import messages into.",
"conflict_label": "Duplicate handling",
"conflict_description": "Choose what to do when an imported message already exists.",
"conflict_skip": "Skip duplicates",
"conflict_replace": "Replace duplicates",
"conflict_copy": "Keep both",
"action_label": "Import",
"start_import": "{count, plural, one {Import # file} other {Import # files}}",
"importing": "Importing...",
"cancel": "Cancel",
"progress_imported": "{count} imported",
"progress_skipped": "{count} skipped",
"progress_failed": "{count} failed",
"import_complete": "Import complete",
"summary_imported": "{count, plural, one {# message imported} other {# messages imported}}",
"summary_skipped": "{count, plural, one {# message skipped} other {# messages skipped}}",
"summary_failed": "{count, plural, one {# message failed} other {# messages failed}}",
"error_details": "{count, plural, one {# error} other {# errors}}",
"import_more": "Import more",
"fail": "Import failed",
"success": "{count, plural, one {# message imported} other {# messages imported}}"
}
},
"errors": {
@@ -2188,7 +2224,11 @@
"save": "Save Identity",
"cancel": "Cancel",
"creating": "Creating...",
"updating": "Updating..."
"updating": "Updating...",
"signature_store_mapping": "Signature mapping",
"signature_store_default": "Default signature",
"signature_store_reply": "Reply signature",
"use_global_default": "Use global default"
},
"sub_address": {
"button_tooltip": "Use sub-address",
@@ -2515,7 +2555,29 @@
"success": "{count, plural, one {1 contact imported} other {# contacts imported}}",
"failed": "Import failed",
"close": "Close",
"file_too_large": "File is too large (max 5 MB)"
"file_too_large": "File is too large (max 5 MB)",
"csv_first_name": "First name",
"csv_last_name": "Last name",
"csv_email": "Email",
"csv_phone": "Phone",
"csv_company": "Company",
"csv_job_title": "Job title",
"csv_address": "Address",
"csv_city": "City",
"csv_region": "State/Region",
"csv_postcode": "Postal code",
"csv_country": "Country",
"csv_website": "Website",
"csv_note": "Note",
"csv_nickname": "Nickname",
"csv_map_columns": "Map columns",
"csv_ignore": "Ignore this column",
"csv_address_book": "Address book",
"csv_preview": "Preview",
"csv_preview_title": "Preview ({count, plural, one {# row} other {# rows}})",
"csv_back": "Back",
"csv_load_all": "Load all",
"file_types_csv": ".csv files"
},
"export": {
"title": "Export Contacts",
@@ -2573,7 +2635,10 @@
"has_email": "Has email",
"has_phone": "Has phone",
"has_photo": "Has photo"
}
},
"edit": "Edit",
"delete": "Delete",
"send_email": "Send email"
},
"calendar": {
"title": "Calendar",
@@ -3019,7 +3084,10 @@
"no_resources": "No resources available",
"remove": "Remove {name}",
"clear_all": "Clear all"
}
},
"edit": "Edit",
"delete": "Delete",
"duplicate": "Duplicate"
},
"sharing": {
"title": "Share \"{name}\"",
@@ -3363,5 +3431,55 @@
"install": "Install",
"dont_remind": "Don't remind me again",
"dismiss_aria": "Dismiss install prompt"
},
"signatures": {
"title": "Signatures",
"description": "Create and manage email signatures to use when composing or replying.",
"default_signature": {
"label": "Default signature",
"description": "Used for new messages unless overridden per identity."
},
"reply_signature": {
"label": "Reply signature",
"description": "Used when replying or forwarding unless overridden per identity."
},
"per_identity_signatures": {
"label": "Per-identity signatures",
"description": "Override the default and reply signature for individual identities."
},
"use_global_default": "Use global default",
"default": "Default",
"reply": "Reply",
"your_signatures": "Your signatures ({count})",
"add_signature": "Add signature",
"no_signatures": "No signatures yet",
"no_signature": "No signature",
"duplicate": "Duplicate",
"delete_title": "Delete signature?",
"delete_message": "Are you sure you want to delete \"{name}\"? This cannot be undone.",
"new_signature": "New signature",
"edit_signature": "Edit signature",
"name_label": "Name",
"name_placeholder": "e.g., Work, Personal",
"name_required": "Name is required",
"editor_label": "Signature",
"show_editor": "Show editor",
"show_preview": "Show preview",
"html_preview_label": "HTML preview",
"plain_text_preview_label": "Plain text preview",
"toolbar": {
"bold": "Bold",
"italic": "Italic",
"underline": "Underline",
"strikethrough": "Strikethrough",
"text_color": "Text color",
"remove_color": "Remove color",
"bullet_list": "Bullet list",
"ordered_list": "Ordered list",
"align_left": "Align left",
"align_center": "Align center",
"align_right": "Align right",
"link": "Link"
}
}
}