Files
romm/backend/tests/handler/filesystem
Nathan Alcantara e8fa1d5f20 chore(scan): recognize Brazilian Portuguese as a language (#5499)
* feat(scan): recognize Brazilian Portuguese as a language

Add "Pt-BR" (Brazilian Portuguese) to the filename language table, so
"(Pt-BR)" and "(T-Pt-BR)" no longer fall back to an unrecognized tag or
to European Portuguese, and show the Brazilian flag for it in the UI.

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

* fix(scan): read the regional variant ahead of a translation's version

"[T+Pt-BR1.1_Grp]" kept the version in the lookup and fell back to
Portuguese. Match only the two-letter variant that opens the patch, and
cover the Brazilian flag in the frontend tests.

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

* style(scan): apply black formatting

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 07:42:56 -05:00
..