Files
romm/backend/handler/filesystem
alexcastgonz 631a1a3763 fix(roms): parse TOSEC compound region and language tags (#5582)
* fix(roms): parse TOSEC compound region and language tags

* test(roms): use unrecognized compound tag components

* fix(roms): limit TOSEC compounds to two-letter codes (pr-ready: code-review)

Single-letter GoodTools codes made (SW-R) read as Sweden and Russia,
and old-style [T-Br] translation tags read as Taiwan and Brazil.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(roms): drop prefix test the compound branch never reaches (pr-ready: simplify)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(roms): clarify _resolve_every docstring (pr-ready: humanizer)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(roms): give exact-case codes precedence in compound tags

Addresses Greptile: "Nl-No" read as Netherlands and Norway instead of
Dutch and Norwegian.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 15:33:31 -05:00
..