i18n(ja): restore English CLI flag names and argument types in command references - #23394
i18n(ja): restore English CLI flag names and argument types in command references#23394yahonda wants to merge 3 commits into
Conversation
…d references The machine translation katakana-ized CLI flag names and their argument-type hints in the TiUP/TiDB Cloud CLI (ticloud) reference tables, e.g. --gcs.サービスアカウントキー文字列, --s3.アクセスキーID文字列, --csv.スキップヘッダー, --マスターアドレス. Flag names and their type hints are literal CLI (`--help`) output and must stay English, matching the English source and the int/int32/ strings hints that were already kept in English. Restore them (name → English, 文字列 → string / strings) across 18 command-reference files (76 rows). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
[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 |
Follow-up: the first pass only handled flag cells that begin with `--`, so short-form flags written as `-c, --cluster-id 文字列` / `-n, --display-name 文字列` / `-P, --profile 文字列` / `-u, --user 文字列` were left with the Japanese type, leaving the tables mixed. Normalize their type hint 文字列 → string too, so every flag cell is English and matches the source. 37 rows. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Complete the flag tables: a few flags were missing the ` string` type hint that the English source has (--private-key/--public-key/--cloud-storage/--rule/ --new-display-name/--compression/--password). Add ` string` so every flag cell matches the English source. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
What is changed, added or deleted? (Required)
CLI flag names and their argument-type hints are literal parts of the tool's
--helpoutput and must stay in English. The machine translation had katakana-ized them in the TiUP / TiDB Cloud CLI (ticloud) command-reference tables. This PR restores them to match the English source.Two classes of defect fixed (76 rows across 18 files):
Flag names katakana-ized (name was corrupted):
--gcs.サービスアカウントキー文字列→--gcs.service-account-key string,--s3.アクセスキーID文字列→--s3.access-key-id string,--csv.スキップヘッダー→--csv.skip-header,--csv.バックスラッシュエスケープ→--csv.backslash-escape,--csv.null値文字列→--csv.null-value string,--マスターアドレス→--master-addr, and--文字列→--where string(the--wherename had been dropped entirely).Argument-type hint translated (
string→文字列): normalized back to English so the type column is consistent with theint/int32/stringshints that were already kept in English (e.g.--s3.secret-access-key 文字列→--s3.secret-access-key string,--role 文字列→--role strings).All flag cells were verified 1:1 against the English
release-8.5source (including pluralstringsfor--filter/--role/--add-role/--delete-role).Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
i18n-ja-release-8.5machine-translation cleanup seriesAI agent involvement
Do your changes match any of the following descriptions?