Skip to content

Repair translations whose input names lost words or swapped places - #1506

Merged
amyjko merged 1 commit into
mainfrom
repair-translated-inputs
Nov 15, 2026
Merged

amyjko merged 1 commit into
mainfrom
repair-translated-inputs

Conversation

@amyjko

@amyjko amyjko commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Context

This repairs the strings already damaged by the translation-tool defects fixed in #1504. Those defects deleted the words written right after an input, and moved inputs back into English order. Neither fails any check, so the damage had shipped.

Lost words (77 strings, repaired by hand)

  • ja-JP: 63.
  • zh-CN: 2.
  • zh-TW and yue-HK: 1 each.

For example, "a moderator has been asked to look at $project" had become just "モデレーターに$project" ("to a moderator, $project"). Chinese and Cantonese were mostly spared, because they usually put a space or punctuation mark after an input.

Swapped inputs (346 strings, repaired by hand)

  • Covers 19 locales whose word order differs from English: ja, ko, zh-CN, zh-TW, yue, tr, hi, mr, ne, bn, as, gu, pa, ur, fa, ta, te, kn, ml.
  • Each fix only renames inputs. A script confirmed that no other text changed in any of them.
  • Typical examples: "access index $index of $list" read as "index $list of $index", and the character editor's "step $step of $total" was backwards.

Re-translated (118 strings, marked $! and bought again for $0.34)
These needed more than a swap:

  • broken conditionals in UnknownName/NameException (tr, te, kn, ta, as, gu, pa);
  • Korean code descriptions missing their particles;
  • IncompatibleType/IncompatibleInput showing another error's text (tr, as, gu, kn, zh-CN);
  • strings still in English, such as the phrase description in 13 locales;
  • a few one-off defects the reviewers found.

The 17 locales that mostly keep English word order were not reviewed for swaps.

Related issues

Verification

  • Review: each locale was judged against its en-US source.
  • Script checks on every fix: the "before" text matched the file, the set of inputs was unchanged, the write-status marker was unchanged, and \ example delimiters were unchanged.
  • Checks: npm run locales, npm run test:sweep, npm run test:run, npm run check:now.

Checklist

  • A native reader's spot-check would still be welcome, especially ja-JP

🤖 Generated with Claude Code

A translation-tool defect deleted the words written directly after an
input in Japanese, Chinese and Cantonese, and moved inputs back into
English order in languages that order them differently, so messages said
less or said the reverse. 77 lost-word strings and 346 swapped strings
were repaired by hand in 19 locales; 118 strings that needed more than a
swap were re-translated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@amyjko
amyjko merged commit 2abcf8e into main Nov 15, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant