Importing PIC reports:
Languages: English, es-MX, es, es-MX
Not a double-count: those are two files whose gloss languages resolved onto one tag. The message
drops the only thing that explains it.
The converter groups by the raw GlossLanguage string, so es-MX and es-mx stay separate
groups; tag resolution then uppercases the region subtag, so both land on es-MX. The modal maps
each group to its resolved tag with no dedupe and no disambiguation
(Pt9ImportModal.tsx:91) — foldReport dedupes books one line above and not languages.
The report already carries merge.sameTagCollisions, which groups exactly these raw values.
Nothing surfaces it, so the explanation is computed and then discarded at the UI boundary.
Options: a footnote line when sameTagCollisions is non-empty, beside the existing
missing-books note — recommended, since the collision is a fact about the files rather than about
one language; or print the raw value beside a colliding tag (es-MX (es-mx)). Deduping the list
is cheapest and wrong: the groups really are separate and their glosses really did merge onto one
key.
Decide tagIsFallback at the same time — English prints identically to a real tag though the
report flags it — since the same line decides both.
Out of scope: whether two raw groups should share a gloss key. That's a converter question;
this is only about the report saying it happened.
Size: S. Priority: Low — cosmetic, but it reads as a double-count.
PIC is the reproduction (#283).
Importing PIC reports:
Not a double-count: those are two files whose gloss languages resolved onto one tag. The message
drops the only thing that explains it.
The converter groups by the raw
GlossLanguagestring, soes-MXandes-mxstay separategroups; tag resolution then uppercases the region subtag, so both land on
es-MX. The modal mapseach group to its resolved tag with no dedupe and no disambiguation
(
Pt9ImportModal.tsx:91) —foldReportdedupes books one line above and not languages.The report already carries
merge.sameTagCollisions, which groups exactly these raw values.Nothing surfaces it, so the explanation is computed and then discarded at the UI boundary.
Options: a footnote line when
sameTagCollisionsis non-empty, beside the existingmissing-books note — recommended, since the collision is a fact about the files rather than about
one language; or print the raw value beside a colliding tag (
es-MX (es-mx)). Deduping the listis cheapest and wrong: the groups really are separate and their glosses really did merge onto one
key.
Decide
tagIsFallbackat the same time —Englishprints identically to a real tag though thereport flags it — since the same line decides both.
Out of scope: whether two raw groups should share a gloss key. That's a converter question;
this is only about the report saying it happened.
Size: S. Priority: Low — cosmetic, but it reads as a double-count.
PIC is the reproduction (#283).