i18n(ja): restore text dropped by the translation pipeline#23315
i18n(ja): restore text dropped by the translation pipeline#23315yahonda wants to merge 11 commits into
Conversation
|
Skipping CI for Draft Pull Request. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
4c1e066 to
022ea3e
Compare
022ea3e to
bc7fb1a
Compare
bc7fb1a to
8549433
Compare
8549433 to
7427a2a
Compare
Follow-up to pingcap#23315, covering the bare-digit artifacts outside the subset that PR handled — including the form with no space after the digit (`。1パラメータ`), which the earlier detection regex missed entirely. The old MT pipeline numbered inline elements before translating and sometimes failed to restore one, leaving a digit where the text belongs and shuffling the neighbouring code spans. Each site was reconstructed from the English source on release-8.5. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
7427a2a to
13d72e7
Compare
What is changed, added or deleted? (Required)
The machine-translation pipeline numbers inline elements (code spans, links) before translating and restores them afterwards. In many places it failed to restore one, leaving a bare digit where the text should be — and often shuffling the surrounding code spans as well. The English source is intact; only the Japanese is damaged.
155 lines across 115 files. Two kinds of damage:
{{B-PLACEHOLDER-2-PLACEHOLDER-E}}leaked into the published text. The English source contains zero occurrences of "PLACEHOLDER", so all of it is garbage.Several instances were losing technical information outright:
runtime-filter.mdANALYZE%向上します50was gone)as-of-timestamp.mdNOW(3)秒単位で取得grafana-pd-dashboard.md100msである必要があります100ms未満である必要があります(「未満」was gone)develop/dev-guide-sql-development-specification.mdINの数は300でなければなりません300未満でなければなりませんpd-control.md×2falseに設定すると(the value was gone)How it was checked
Every line was cross-checked against
release-8.5before editing. Mechanical verification after editing:grep -r PLACEHOLDER: 0 remaining.Scope note
This PR covers the artifacts that follow a sentence-ending
。. A wider sweep suggests roughly 1,600 further bare-digit sites across ~550 files that still need the same treatment; those are left for follow-up PRs. Note that sweep mixes in genuine numbers (「12 テーブル」, 「0 に設定すると」), so each hit needs an English cross-check before editing.This damage predates the current translation tooling, which has since been replaced, so it is a finite backlog rather than something that regenerates on each sync.
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?