Skip to content

Commit

Permalink
update button text
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeBoy committed May 9, 2024
1 parent cf8eedd commit 0a6e2fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ui/page/seedbackup/save_seed.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func NewSaveSeedPage(l *load.Load, wallet sharedW.Asset, redirect Redirectfunc)
hexLabel: l.Theme.Label(values.TextSize12, ""),
copy: l.Theme.Button(values.String(values.StrCopy)),
infoText: values.String(values.StrAskedEnterSeedWords),
actionButton: l.Theme.Button(values.String(values.StrWroteAllWords)),
actionButton: l.Theme.Button(""),
seedList: &widget.List{
List: layout.List{Axis: layout.Vertical},
},
Expand Down Expand Up @@ -246,6 +246,7 @@ func (pg *SaveSeedPage) Layout(gtx C) D {
layout := func(gtx C) D {
return sp.Layout(pg.ParentWindow(), gtx)
}
pg.actionButton.Text = values.StringF(values.String(values.StrWroteAllWords), pg.wordSeedType.ToInt())
return container(gtx, pg.IsMobileView(), *pg.Theme, layout, pg.infoText, pg.actionButton, true)
}

Expand Down
2 changes: 1 addition & 1 deletion ui/values/localizable/en.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ const EN = `
"wouldTradeCex" = "Would you like to trade on CEX?"
"writeDownAllXWords" = "Write down all %d words in the correct order."
"writeDownSeed" = "Write down seed phrase"
"wroteAllWords" = "I have written down all words"
"wroteAllWords" = "I have written down all %d words"
"xInputsConsumed" = "%d Inputs consumed"
"xOutputCreated" = "%d Outputs created"
"xpubKeyErr" = "Error checking xpub: %v"
Expand Down

0 comments on commit 0a6e2fc

Please sign in to comment.