From 9fea894f87d156eeccffd50b0c144148b0cf9623 Mon Sep 17 00:00:00 2001 From: meaghanfitzgerald Date: Tue, 8 Oct 2024 14:40:00 -0400 Subject: [PATCH] language --- cmd/keycmd/transfer.go | 4 ++-- pkg/prompts/prompts.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/keycmd/transfer.go b/cmd/keycmd/transfer.go index 0f7eeccc7..c99b1f447 100644 --- a/cmd/keycmd/transfer.go +++ b/cmd/keycmd/transfer.go @@ -426,9 +426,9 @@ func transferF(*cobra.Command, []string) error { var useLedger bool goalStr := "" if send { - goalStr = " for the sender address" + goalStr = "as the sender address" } else { - goalStr = " for the destination address" + goalStr = "as the destination address" } useLedger, keyName, err = prompts.GetKeyOrLedger(app.Prompt, goalStr, app.GetKeyDir(), true) if err != nil { diff --git a/pkg/prompts/prompts.go b/pkg/prompts/prompts.go index b19254d86..d1b2983a5 100644 --- a/pkg/prompts/prompts.go +++ b/pkg/prompts/prompts.go @@ -758,7 +758,7 @@ func (prompter *realPrompter) ChooseKeyOrLedger(goal string) (bool, error) { ledgerOption = "Use ledger" ) option, err := prompter.CaptureList( - fmt.Sprintf("Which key source should be used to %s?", goal), + fmt.Sprintf("Which key should be used %s?", goal), []string{keyOption, ledgerOption}, ) if err != nil { @@ -871,7 +871,7 @@ func CaptureKeyName(prompt Prompter, goal string, keyDir string, includeEwoq boo if size > 10 { size = 10 } - keyName, err := prompt.CaptureListWithSize(fmt.Sprintf("Which stored key should be used to %s?", goal), keyNames, size) + keyName, err := prompt.CaptureListWithSize(fmt.Sprintf("Which stored key should be used %s?", goal), keyNames, size) if err != nil { return "", err }