fix(core): fix overflowing text in Delizia bld
What changed, and why it matters
This commit shortens two on-screen text labels in the Trezor bootloader from 'INSTALL FIRMWARE' to 'INSTALL FW' and 'UPDATE FIRMWARE' to 'UPDATE FW'. The change is purely cosmetic, intended to stop the text from overflowing its display area. The commit message notes these screens are not normally seen by users because updates now happen without user interaction. There is no security fix here.
No security action required. Treat as a normal UI/layout fix.
Security signals we found
None identified. The change is a UI text truncation to prevent label overflow.
Evidence from the diff
The patch modifies two string literals in core/embed/rust/src/ui/layout_delizia/bootloader/mod.rs. It replaces ‘INSTALL FIRMWARE’ with ‘INSTALL FW’ and ‘UPDATE FIRMWARE’ with ‘UPDATE FW’ in the bootloader UI title logic. The diff is +2/-2 lines and only affects label text length. No logic, cryptography, memory handling, or trust decisions are changed.
Changed components
Trezor Core bootloader UI (Delizia layout)core/embed/rust/src/ui/layout_delizia/bootloader/mod.rsInspect captured patch +2 / −2
diff --git a/core/embed/rust/src/ui/layout_delizia/bootloader/mod.rs b/core/embed/rust/src/ui/layout_delizia/bootloader/mod.rs
index 8b9cb5e4..6e16adcb 100644
--- a/core/embed/rust/src/ui/layout_delizia/bootloader/mod.rs
+++ b/core/embed/rust/src/ui/layout_delizia/bootloader/mod.rs
@@ -209,11 +209,11 @@ impl BootloaderUI for UIDelizia {
unwrap!(version_str.push_str(vendor));
let title_str = if is_newinstall {
- "INSTALL FIRMWARE"
+ "INSTALL FW"
} else if is_newvendor {
"CHANGE FW\nVENDOR"
} else if version_cmp > 0 {
- "UPDATE FIRMWARE"
+ "UPDATE FW"
} else if version_cmp == 0 {
"REINSTALL FW"
} else {
Why this scored 16/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.