Firmware explorer in Russian and Chinese - #312
Conversation
The page shipped English-only, relying on the fallback. Every explorer string, the page title and lede, and the menu label now have ru and zh translations; the build test asserts each locale shows its own title and a full explorer catalogue of its own rather than English. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 943 КиБ and 1,91 МБ on the Russian page, 已用 on the Chinese tooltip:
the island sets the formatter's locale once, and every size, count and
KiB label goes through it instead of toLocaleString('en').
PR Summary by QodoLocalize firmware explorer for Russian and Chinese
AI Description
Diagram
High-Level Assessment
Files changed (20)
|
Code Review by Qodo
1.
|
The firmware explorer (#311) was English-only on every locale. This puts it on
/ru/firmware-explorerand/zh/firmware-explorerin the page's language.explorer.ru.yml/explorer.zh.ymlcatalogues (UI, tabs, help), localized page title and lede, and a nav/footer entry (Обозреватель прошивок / 固件浏览器).toLocaleString('en'). Russian reads1 710 / 2 048 КиБ,10,89 МБ,83,5 %,+64,0 КБ/нед; Chinese keeps1,710 KiB/10.89 MBwith/周and已用.format.test.tspins the ru/zh formats.Validated on dev.openipc.org (
591c516): both locales clicked through in a browser with no JavaScript errors and no English-formatted numbers left on the Russian page.