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
This commit is contained in:
parent
a529f0a6c9
commit
0811b9242b
@ -3825,7 +3825,7 @@ bool simple_wallet::transfer_main(int transfer_type, const std::vector<std::stri
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (nblocks[0].first > m_wallet->get_confirm_backlog_threshold())
|
if (nblocks[0].first > 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)
|
catch (const std::exception &e)
|
||||||
@ -4243,7 +4243,7 @@ bool simple_wallet::sweep_main(uint64_t below, const std::vector<std::string> &a
|
|||||||
print_money(total_fee);
|
print_money(total_fee);
|
||||||
}
|
}
|
||||||
else {
|
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_sent) %
|
||||||
print_money(total_fee);
|
print_money(total_fee);
|
||||||
}
|
}
|
||||||
@ -4448,7 +4448,7 @@ bool simple_wallet::sweep_single(const std::vector<std::string> &args_)
|
|||||||
std::ostringstream prompt;
|
std::ostringstream prompt;
|
||||||
if (!print_ring_members(ptx_vector, prompt))
|
if (!print_ring_members(ptx_vector, prompt))
|
||||||
return true;
|
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_sent) %
|
||||||
print_money(total_fee);
|
print_money(total_fee);
|
||||||
std::string accepted = input_line(prompt.str());
|
std::string accepted = input_line(prompt.str());
|
||||||
|
Loading…
Reference in New Issue
Block a user