AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 15 Bitcoin

i18n: add firmware translation core

Public commit record

What the developer wrote

Authored by Sebastian Sutter

68/100 · Adequate
i18n: add firmware translation core

Keep English prompts readable at call sites while sharing one
translation implementation between Rust workflows and C UI code.

Add bitbox-i18n with English and German JSON catalogs. Validate
locale keys, placeholders and hash collisions at build time, then
generate static tables keyed by English text hashes. Use English
as the fallback and expose source checks for translation macros.

Provide placeholder substitution and localized date formatting
without parsing JSON on the device.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit adds a new translation system for the BitBox02 hardware wallet so that on-screen messages can appear in English or German. It does not fix a bug or change security behavior; it is a feature that reorganizes how text is stored and displayed. There is no indication this introduces a vulnerability.

Recommended action

No security action required. Review the build-time validation and runtime panic behavior of `format_pattern` during normal QA; ensure placeholder mismatches cannot be triggered by untrusted data.

Security signals we found

No strong security signals were identified.

Risk score

Why this scored 15/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 10/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.