i18n(ja): restore English admonition labels - #23516
Conversation
|
Skipping CI for Draft Pull Request. |
|
[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 |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
c0a92a2 to
4e6ec03
Compare
Machine translation left 95 admonition labels (注記/警告/ヒント) in Japanese across 42 files instead of the English Note/Warning/Tip that the site's renderer keys on to produce a styled callout box -- the Japanese-labeled versions render as plain bold text instead. Restored each to match its corresponding English label's exact colon form (inside/outside/none) at the same position in the source, verified by pairing every JA and EN admonition occurrence in each file positionally and confirming word + count match with zero mismatches before applying any change. resources/doc-templates/ (9 of the 95 sites) is intentionally excluded per an earlier scoping decision and left untouched; 86 sites across 38 real doc pages are fixed. Also fixed 2 related false-friend defects found while auditing every remaining 注記/警告/ヒント occurrence in the corpus: - tidb-cloud/monitor-alert-email.md: a link to the "Alert" page had been mistranslated as 警告 (a "warning"), not the page name. - optimizer-fix-controls.md: a cross-reference to "the **Note** in [Explain Statements Using Index Merge]" had 注記 in place of the literal English label the referenced page's own admonition uses.
4e6ec03 to
18236db
Compare
What is changed, added or deleted? (Required)
Machine translation left 95 admonition labels (注記/警告/ヒント) in Japanese instead of the English Note/Warning/Tip that the site's renderer keys on to produce a styled callout box — the Japanese-labeled versions render as plain bold text instead of a real callout. Restored each to match its corresponding English label's exact colon form (inside/outside/none) at the same position in the source, verified by pairing every JA and EN admonition occurrence in each file positionally and confirming word + count match with zero mismatches before applying any change.
resources/doc-templates/(9 of the 95 sites) is intentionally excluded per an earlier scoping decision and left untouched — 86 sites across 38 real doc pages are fixed.Also fixed 2 related false-friend defects found while auditing every remaining 注記/警告/ヒント occurrence in the corpus:
tidb-cloud/monitor-alert-email.md: a link to the "Alert" page had been mistranslated as 警告 ("a warning"), not the page name.optimizer-fix-controls.md: a cross-reference to "the Note in [Explain Statements Using Index Merge]" had 注記 in place of the literal English label the referenced page's own admonition uses.Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?