chore(core): use translated strings at some places
What changed, and why it matters
This commit simply swaps three hard-coded English UI labels for translated versions in the Trezor hardware wallet's on-screen prompts. It does not change what the device does, only the language shown to users. There is no security issue here.
No action needed; this is a routine localization cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change replaces literal strings in confirm_modify_output() within core/src/trezor/ui/layouts/bolt/__init__.py with references to translation keys (TR.modify_amount__title, TR.buttons__continue, TR.words__address). Functionality, flow, and security behavior are unchanged.
Changed components
core/src/trezor/ui/layouts/bolt/__init__.pyInspect captured patch +3 / −3
diff --git a/core/src/trezor/ui/layouts/bolt/__init__.py b/core/src/trezor/ui/layouts/bolt/__init__.py
index c9692eadc..8278f2207 100644
--- a/core/src/trezor/ui/layouts/bolt/__init__.py
+++ b/core/src/trezor/ui/layouts/bolt/__init__.py
@@ -1509,11 +1509,11 @@ async def confirm_modify_output(
# if the user cancels here, raise ActionCancelled (by default)
await interact(
trezorui_api.confirm_value(
- title="MODIFY AMOUNT",
+ title=TR.modify_amount__title,
value=address,
- verb="CONTINUE",
+ verb=TR.buttons__continue,
verb_cancel=None,
- description="Address:",
+ description=TR.words__address + ":",
),
"modify_output" if send_button_request else None,
ButtonRequestType.ConfirmOutput,
Why this scored 15/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.