1.1 KiB
Admin System metric formatting
Bounded I18N-02 display fix on codex/i18n-admin-metrics, based on the isolated salary checkpoint af33e45542aea1e18088c44308161284fdca47a7. The same unlocalised storage-size and benchmark-percentage formatting was present at A3 49e79875.
Database storage sizes and CV benchmark summary and entry percentages now format using the current English or Bokmål UI locale. Storage retains the existing B/KB/MB boundaries and one fractional digit for KB and MB. Percentages use locale-specific spacing and whole-number precision. Input metrics, missing-value fallbacks, threshold colours and diagnostic operation paths remain intact.
The existing mounted Bokmål diagnostic test reproduced the missing 2,0 KB display before the fix and now checks that display and the localised 72 % benchmark result. npm test -- --runInBand --runTestsByPath src/admin-system-page.test.tsx src/translation-catalogue.test.ts passed 23 tests across two suites. Full frontend typecheck, scoped ESLint with zero warnings and the Next static export passed. No browser/device or native-language review and no actual diagnostic or benchmark execution.