1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

core/slip39: hopefully final version of slip39 texts

This commit is contained in:
Tomas Susanka 2019-06-26 11:11:50 +02:00
parent daa473c34b
commit 2f0a5adac6

View File

@ -60,7 +60,7 @@ async def show_backup_success(ctx):
async def confirm_backup(ctx): async def confirm_backup(ctx):
text = Text("Backup wallet", ui.ICON_RESET, new_lines=False) text = Text("Back up wallet", ui.ICON_RESET, new_lines=False)
text.bold("New wallet created") text.bold("New wallet created")
text.br() text.br()
text.bold("successfully!") text.bold("successfully!")
@ -80,21 +80,21 @@ async def confirm_backup(ctx):
async def confirm_backup_again(ctx): async def confirm_backup_again(ctx):
text = Text("Backup wallet", ui.ICON_RESET, new_lines=False) text = Text("Back up wallet", ui.ICON_RESET, new_lines=False)
text.bold("Are you sure you want") text.bold("Are you sure you want")
text.br() text.br()
text.bold("to skip the backup?") text.bold("to skip the backup?")
text.br() text.br()
text.br_half() text.br_half()
text.normal("You can backup Trezor") text.normal("You can back up your")
text.br() text.br()
text.normal("anytime later.") text.normal("Trezor once, at any time.")
return await confirm( return await confirm(
ctx, ctx,
text, text,
ButtonRequestType.ResetDevice, ButtonRequestType.ResetDevice,
cancel="Skip", cancel="Skip",
confirm="Backup", confirm="Back up",
major_confirm=True, major_confirm=True,
) )
@ -243,7 +243,7 @@ async def slip39_show_checklist_set_shares(ctx):
checklist = Checklist("Backup checklist", ui.ICON_RESET) checklist = Checklist("Backup checklist", ui.ICON_RESET)
checklist.add("Set number of shares") checklist.add("Set number of shares")
checklist.add("Set threshold") checklist.add("Set threshold")
checklist.add(("Write down and check", "all shares")) checklist.add(("Write down and check", "all recovery shares"))
checklist.select(0) checklist.select(0)
return await confirm( return await confirm(
ctx, checklist, ButtonRequestType.ResetDevice, cancel=None, confirm="Continue" ctx, checklist, ButtonRequestType.ResetDevice, cancel=None, confirm="Continue"
@ -253,8 +253,8 @@ async def slip39_show_checklist_set_shares(ctx):
async def slip39_show_checklist_set_threshold(ctx, num_of_shares): async def slip39_show_checklist_set_threshold(ctx, num_of_shares):
checklist = Checklist("Backup checklist", ui.ICON_RESET) checklist = Checklist("Backup checklist", ui.ICON_RESET)
checklist.add("Set number of shares") checklist.add("Set number of shares")
checklist.add("Set the threshold") checklist.add("Set threshold")
checklist.add(("Write down and check", "all backup shares")) checklist.add(("Write down and check", "all recovery shares"))
checklist.select(1) checklist.select(1)
return await confirm( return await confirm(
ctx, checklist, ButtonRequestType.ResetDevice, cancel=None, confirm="Continue" ctx, checklist, ButtonRequestType.ResetDevice, cancel=None, confirm="Continue"
@ -264,8 +264,8 @@ async def slip39_show_checklist_set_threshold(ctx, num_of_shares):
async def slip39_show_checklist_show_shares(ctx, num_of_shares, threshold): async def slip39_show_checklist_show_shares(ctx, num_of_shares, threshold):
checklist = Checklist("Backup checklist", ui.ICON_RESET) checklist = Checklist("Backup checklist", ui.ICON_RESET)
checklist.add("Set number of shares") checklist.add("Set number of shares")
checklist.add("Set the threshold") checklist.add("Set threshold")
checklist.add(("Write down and check", "all backup shares")) checklist.add(("Write down and check", "all recovery shares"))
checklist.select(2) checklist.select(2)
return await confirm( return await confirm(
ctx, checklist, ButtonRequestType.ResetDevice, cancel=None, confirm="Continue" ctx, checklist, ButtonRequestType.ResetDevice, cancel=None, confirm="Continue"