i18n(ja): restore text dropped by the translation pipeline (part 2)#23316
i18n(ja): restore text dropped by the translation pipeline (part 2)#23316yahonda wants to merge 1 commit 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 |
af44097 to
99e79da
Compare
99e79da to
6489514
Compare
3a92e84 to
3ac78e0
Compare
3ac78e0 to
b643336
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>
b643336 to
93826e3
Compare
What is changed, added or deleted? (Required)
Follow-up to #23315, sweeping the same translation-pipeline damage outside the
。-anchored subset that PR covered.The old MT pipeline numbered inline elements (code spans, links) before translating and sometimes failed to restore one, leaving a bare digit where the text belongs — often shuffling the surrounding spans too. The English source is intact; only the Japanese is damaged.
327 lines across 208 files. This branch was rebuilt from
i18n-ja-release-8.5so the diff shows only this PR's own contribution; lines that #23315 or #23275 also touch are left to those PRs. Verified that the rebuild changes nothing about the end result: merging all fifteen ja PRs produces a byte-identical tree before and after.This pass also covers a form the earlier detection missed entirely — a bare digit with no space after it (
。1パラメータ\gc.max_write_bytes_per_sec`を使用するとfor EN "You can use thegc.max_write_bytes_per_secparameter"). 76 such lines were repaired. Two of them had lost real information:dm/dm-config-overview.mdsaid 「1の最大長はsource-idです」 where the English is "The maximum length ofsource-idis **32**", andserverless-private-link-connection-to-amazon-msk.mdhad lost the "SASL" ofSASL/SCRAM`.Several instances were carrying wrong technical information:
tiflash/tiflash-configuration.md×2[0.0, 1.0)の範囲 /[0.0, 1.0)から10000000000000の範囲[0.0, 1.0)の範囲 — the invented bounds are not in the Englishpredicate-push-down.mda < 1に簡略化されて TiKV にプッシュダウンされますfaq/monitor-faq.mdextraレプリカが不足していることtiflash/tiflash-alert-rules.md×3transaction-overview.mdtxn-total-size-limitで、1 TB ですtxn-total-size-limitの最大値は 1 TB ですtune-tikv-thread-performance.mdAlso fixed, same pipeline, no digit involved: 7 occurrences of 「〜をビュー。」 (EN imperative "View X" left as a bare noun, not a sentence) — e.g.
`TIDB_TRX`テーブルをビュー:→`TIDB_TRX`テーブルを確認します:; andmigrate-large-mysql-to-tidb.mdwhere the file and directory spans were swapped (`metadata`ディレクトリにある`${data-path}`ファイル→`${data-path}`ディレクトリにある`metadata`ファイル).How it was checked
984 candidate sites were extracted, then every one was cross-checked against
release-8.5before editing — 760 turned out to be genuine numbers (「手順 3」,「16 進数」,「2 進対数スケール」, version/step/layer numbers, region and instance IDs) and were left untouched.Mechanical verification of the result:
grep -r PLACEHOLDER: 0.Scope note
Together with #23315 this closes the bare-digit defect class. The sweep repeatedly surfaced a different, pervasive artifact — a particle dropped right after a code span (
`header`が`true`場合,`stream_count` 8 です) — which is only partially covered by #23272 / #23273 and would need its own pass.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?