core: Clarify the messages on the screens and get rid of overflows.

pull/553/head
Andrew Kozlik 5 years ago committed by Pavol Rusnak
parent bf518665a0
commit 576a211c3d

@ -44,7 +44,7 @@ async def request_passphrase_source(ctx: wire.Context) -> int:
await ctx.call(req, ButtonAck)
text = Text("Enter passphrase", ui.ICON_CONFIG)
text.normal("Where to enter your", "passphrase?")
text.normal("Where do you want to", "enter your passphrase?")
source = PassphraseSource(text)
return await ctx.wait(source)
@ -53,7 +53,7 @@ async def request_passphrase_source(ctx: wire.Context) -> int:
async def request_passphrase_ack(ctx: wire.Context, on_device: bool) -> str:
if not on_device:
text = Text("Passphrase entry", ui.ICON_CONFIG)
text.normal("Please, type passphrase", "on connected host.")
text.normal("Please type your", "passphrase on the", "connected host.")
await Popup(text)
req = PassphraseRequest(on_device=on_device)

@ -49,14 +49,14 @@ async def apply_settings(ctx, msg):
async def require_confirm_change_homescreen(ctx):
text = Text("Change homescreen", ui.ICON_CONFIG)
text.normal("Do you really want to", "change homescreen?")
text = Text("Set homescreen", ui.ICON_CONFIG)
text.normal("Do you really want to", "change the homescreen", "image?")
await require_confirm(ctx, text, ButtonRequestType.ProtectCall)
async def require_confirm_change_label(ctx, label):
text = Text("Change label", ui.ICON_CONFIG)
text.normal("Do you really want to", "change label to")
text.normal("Do you really want to", "change the label to")
text.bold("%s?" % label)
await require_confirm(ctx, text, ButtonRequestType.ProtectCall)

@ -50,7 +50,7 @@ def require_confirm_change_pin(ctx: wire.Context, msg: ChangePin) -> None:
if not msg.remove and has_pin: # changing pin
text = Text("Change PIN", ui.ICON_CONFIG)
text.normal("Do you really want to")
text.bold("change the current PIN?")
text.bold("change your PIN?")
return require_confirm(ctx, text)
if not msg.remove and not has_pin: # setting new pin

Loading…
Cancel
Save