Skip to content

The glossary keeps list, type and Boolean in English but says nothing about object or module #58

Description

@tamnd

Found while wiring the L02 exemption in #57.

L02 reported 144 entries whose translation is the English verbatim. #49 triaged them into two piles, and the exemption moved 54 rather than the 38 that triage predicted. The extra 16 are type (12) and Boolean (4), which the glossary already holds as keep_en and which #49 had counted as real findings.

The glossary wins, because it is the written decision and the check is only reading it. But the rows are not consistent with each other:

term in the glossary L02 today
list kept exempt
type kept exempt
Boolean kept exempt
object absent 36 findings
module absent 41 findings

All five are the same thing in the corpus: a Sphinx index category, generated from .. index:: object: bytearray and the like, sitting one entry away from the identifier it categorises. Here is one such cluster from c-api/intro.po:

msgid "module"
msgstr "module"

msgid "builtins"
msgstr "builtins"

msgid "sys"
msgstr "sys"

builtins and sys name modules and stay in English. module is the English word for the category and wants translating. object and type are the same pair one level up, and the glossary currently keeps one and has no opinion about the other.

So somebody has to decide, per word, whether the Vietnamese documentation says kiểu or type, and đối tượng or object. That is terminology work and not a code change. What the code can do is stop the two answers coexisting, which is what G03 now does for the kept side.

There is a second, smaller thing in the same measurement. Lists is still reported 3 times while list is kept, because the whole-msgid match in L02 is exact and an inflected or capitalised form misses it. That is deliberate for now, a hard check that exempts loosely is worse than one that reports 3 extra entries, but it is the same shape as the inflectional-divergence check G-g was filed for.

  • Decide object and module, and add whichever rows the decision produces
  • Re-read type and Boolean against that decision, since they were curated before the index-category pattern was understood
  • Decide whether L02's whole-msgid match should fold case and inflection, or whether Lists is corpus work

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditThe deterministic check catalogueglossaryTerminology contract and the matcher

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions