From 0811b9242b176fdcbd7bf2b81fd6530d1db010e3 Mon Sep 17 00:00:00 2001 From: AJIekceu4 Date: Sat, 6 Jan 2018 22:04:04 +0700 Subject: [PATCH] fix some confirmation dialog, add missing symbols Change some confirmation dialog to look like other ones (add symbol ":" and space) So, it will look like: (Y/Yes/N/No): y Now it look: (Y/Yes/N/No)y --- src/simplewallet/simplewallet.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index f4f24ed77..fd62ebd2a 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -3825,7 +3825,7 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector m_wallet->get_confirm_backlog_threshold()) - prompt << (boost::format(tr("There is currently a %u block backlog at that fee level. Is this okay? (Y/Yes/N/No)")) % nblocks[0].first).str(); + prompt << (boost::format(tr("There is currently a %u block backlog at that fee level. Is this okay? (Y/Yes/N/No): ")) % nblocks[0].first).str(); } } catch (const std::exception &e) @@ -4243,7 +4243,7 @@ bool simple_wallet::sweep_main(uint64_t below, const std::vector &a print_money(total_fee); } else { - prompt << boost::format(tr("Sweeping %s for a total fee of %s. Is this okay? (Y/Yes/N/No)")) % + prompt << boost::format(tr("Sweeping %s for a total fee of %s. Is this okay? (Y/Yes/N/No): ")) % print_money(total_sent) % print_money(total_fee); } @@ -4448,7 +4448,7 @@ bool simple_wallet::sweep_single(const std::vector &args_) std::ostringstream prompt; if (!print_ring_members(ptx_vector, prompt)) return true; - prompt << boost::format(tr("Sweeping %s for a total fee of %s. Is this okay? (Y/Yes/N/No)")) % + prompt << boost::format(tr("Sweeping %s for a total fee of %s. Is this okay? (Y/Yes/N/No): ")) % print_money(total_sent) % print_money(total_fee); std::string accepted = input_line(prompt.str());