4.8 KiB
Mail and connection messages in the European localisation inventory
B05 extends the I18N-00 inventory to the full mail subset of B03’s remaining quoted lines. It also follows multiline HTML into the actual popup and application presenters. The two CSVs are source-review material for the existing 24 EU language groups and 60 planned locale tags. The active research branch started from a404c913b1e779fb4e9aac9abbfa9bacd2743a28; its application references use 5fd5c470452ae78ab46e74b7c1d8fb4336a7484d.
What enters translation review
Mail display occurrences records 21 literal occurrences on 18 source lines, representing 18 distinct English strings. It gives the owner, source line, display role, English text with any placeholders, context and handling of private values. Occurrences are retained separately when the same English text has different owners or display paths. This is a bounded source inventory rather than 21 proposed runtime keys.
| Screen or boundary | Source evidence on the application commit | Localisation implication |
|---|---|---|
| Gmail and Outlook connection popups | GmailController 706–727, GmailParsing 89–112, MicrosoftGraphController 72–93 and 116–139 | Visible tab titles, success/failure headings, close instructions and callback details need an explicit language owner. Both HTML templates omit a document language. A quote-bearing-line scan alone misses the titles and close instructions in multiline HTML. |
| Settings connection feedback | emailOAuth.ts 19–26, EmailProviderConnections.tsx 109–121 | The validated popup callback supplies the toast body when its message is nonempty. Existing translated success/failure fallbacks only cover missing/empty messages. Preserve provider identifiers, the attempt/origin/window checks and separate the translated frame from provider-error and mailbox parameters. Never submit actual mailbox or exception text for translation. |
| Gmail matching and review | GmailController 138 and 235, GmailReviewPage.tsx 266 | When the backend substitutes “(no subject)”, the review heading can show the English fallback in any UI language. Preserve real subject text, including mail whose author actually used those words. The review queue and job-match paths have separate source loci. |
| Correspondence sender | EmailController 226–232, GmailController 900–906, CorrespondenceInboxPage.tsx 838 and 842 | The inbox shows the external sender when available and otherwise renders the stored sender field. “Me” and “Company” can therefore be visible. A future presenter must use proven role metadata for system values and preserve historical or user-entered names. Direction already has an independent translated chip. |
| Persisted channel and delivery state | EmailController 183–257, GmailController 876–938 | “Email” is a stored channel label with no confirmed visible presenter in this check. Keep its display ownership open. Delivery/error/route/event values remain machine contracts, even when they contain English words. |
Coverage and verification
Mail frontier dispositions partitions 149 of B03’s 708 lines under nine mail controllers/provider owners. The compared raw Git blobs are identical on the B03 application source and the newer A3 audit source. The 149 comparable lines comprise 53 endpoint or policy lines, 50 identifiers or format lines, 12 provider identity/branding lines, 10 display-source lines, 9 comments, 5 private search-expression lines, 4 persisted-display ambiguities, 4 template-markup lines and 2 opaque exception lines. A role describes the source line’s use; it does not make every substring on the line a translation candidate. The separate display CSV includes supporting lines outside the 149, so its row count must not be added to the coverage count.
Run python docs/i18n/00/B05_mail_tests.py -v from the worktree with the two historical Git commits available locally. 4 tests passed, zero skipped. They check the exact multiset of source-line identities, all nine byte-equivalent mail owners, each review occurrence, 9 presenter/guard anchors across four frontend files, and the frozen 60-candidate catalogue with communications still planned. The first local setup run failed before test execution because it compared a Windows working-copy digest to normalised bytes. The corrected test checks canonical Git LF digests and accepts normal checkout line endings.
559 other quoted lines in B03 remain across 19 owners. Quote-free strings, other source owners and unreviewed presenters remain eligible for I18N-00 inventory. Stages 01–08 retain their existing entry gates. No locale has gained translations, native approval, product support or release status through this inventory. No application/UI/provider/security runtime test was needed or executed for this documentation-only package.