i18n(ja): fix mistranslation of the database term sargable - #23462
i18n(ja): fix mistranslation of the database term sargable#23462yahonda wants to merge 1 commit into
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 |
"Sargable" (Search ARGument-able) is a real database term describing whether a condition can use an index; the corpus's own second occurrence links to https://en.wikipedia.org/wiki/Sargable, confirming it. Japanese Wikipedia has a matching article titled "検索引数可能", which is the correct established term -- both existing ja occurrences of "sargable" mistranslated it differently and are fixed to use this term consistently: - explain-overview.md: italic emphasis wrapped only part of the term (*検索引数*可能 instead of *検索引数可能*), and a particle was dropped after the adjacent code span. - explain-partitions.md: "non-sargable" was rendered as 非検索可能 ("non-searchable"), dropping the "argument" component and changing the meaning; fixed to 検索引数可能でない (negated with でない, matching natural ja negation of an -able adjective). Also restored a dropped に particle and と particle in the same sentence. The Wikipedia link target is left unchanged (en.wikipedia.org) per this corpus's existing convention of never localizing Wikipedia links in ja translations (56 other en.wikipedia.org links, 0 ja.wikipedia.org links). Also fixes two adjacent dropped-particle defects found while reviewing the same two Note/list blocks: - explain-overview.md: missing を before "比較することをお勧めします" ("it is recommended to compare data of the same type and [character set and collation]"). - explain-partitions.md: missing は after the operator name in "The operator `PartitionUnion_21` unions the results from accessing each partition."
7968505 to
f7486ec
Compare
What is changed, added or deleted? (Required)
"Sargable" (Search ARGument-able) is a real database term describing whether a condition can use an index. It appears twice in the corpus, and the second occurrence links to https://en.wikipedia.org/wiki/Sargable, confirming it's intentional jargon, not a typo. The Japanese Wikipedia has a matching article titled 検索引数可能, which is the correct established Japanese term.
Both existing ja occurrences mistranslated the term differently:
explain-overview.md: italic emphasis wrapped only part of the term (*検索引数*可能instead of*検索引数可能*), and a particle was dropped in the same sentence.explain-partitions.md: "non-sargable" was rendered as 非検索可能 ("non-searchable"), dropping the "argument" component and changing the meaning. Fixed to 検索引数可能でない (negated with でない). Also restored a dropped に particle and と particle in the same sentence.The Wikipedia link target is left unchanged (en.wikipedia.org) per this corpus's existing convention — no ja translation anywhere localizes a Wikipedia link (0 ja.wikipedia.org links vs 56 en.wikipedia.org links corpus-wide).
Two more dropped-particle defects found while reviewing the same two Note/list blocks:
explain-overview.md: missing を before "比較することをお勧めします" ("it is recommended to compare data of the same type and [character set and collation]").explain-partitions.md: missing は after the operator name in "The operatorPartitionUnion_21unions the results from accessing each partition."Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
N/A
AI agent involvement
Do your changes match any of the following descriptions?