fix(locale): put TCOUNT's new prompts back in the catalog

The placement options arrived with their prompts and messages written as
plain Rust strings, so they were the only command left speaking English
whatever the interface was set to.

They go through t! / tf! now like every other prompt, and the strings are
registered so the call actually reaches a translation: a source string
only resolves if the generated lookup knows it, and t! on an unknown
string just hands the source back. Keys follow what the table already
uses — the slug of the source, cut to forty-six characters, and the first
ten hex digits of its SHA-1 — which reproduces 2978 of the 3161 entries
exactly; the rest are hand-written ones predating the generator.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-08-08 03:19:54 +03:00
commit 2feac73eec
4 changed files with 34 additions and 15 deletions

View file

@ -3428,3 +3428,11 @@ style-manager-center-of-text = Center of text
style-manager-center-of-text-overline = Center of text with overline
style-manager-block-extents = Block extents
style-manager-base-point = Base point
catalog-tcount-select-text-objects-then-press-enter-9b1ee71b4d = TCOUNT select text objects, then press Enter:
catalog-tcount-starting-number-start-7471e47711 = TCOUNT starting number <__ocs_fmt_0__>:
catalog-tcount-increment-increment-79f9ab6108 = TCOUNT increment <__ocs_fmt_0__>:
catalog-tcount-placement-overwrite-prefix-suffix-overw-9214874a72 = TCOUNT placement [Overwrite/Prefix/Suffix] <Overwrite>:
catalog-tcount-placement-must-be-overwrite-prefix-or-s-84211d2b75 = TCOUNT: placement must be Overwrite, Prefix, or Suffix.
catalog-tcount-numbered-n-text-object-s-from-start-by-30588884cc = TCOUNT: numbered __ocs_fmt_0__ text object(s) from __ocs_fmt_1__ by __ocs_fmt_2__ (__ocs_fmt_3__).
catalog-prefix-90eceb016c = Prefix
catalog-suffix-885db975a3 = Suffix