mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 18:53:14 +00:00
Merge pull request #3407
7bf99a2
fix string handling for donation message (cryptochangements34)
This commit is contained in:
commit
ff7dc087ae
1 changed files with 1 additions and 1 deletions
|
@ -5448,7 +5448,7 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
|
||||||
local_args.push_back(amount_str);
|
local_args.push_back(amount_str);
|
||||||
if (!payment_id_str.empty())
|
if (!payment_id_str.empty())
|
||||||
local_args.push_back(payment_id_str);
|
local_args.push_back(payment_id_str);
|
||||||
message_writer() << tr("Donating ") << amount_str << " to The Monero Project (donate.getmonero.org or "<< MONERO_DONATION_ADDR <<").";
|
message_writer() << (boost::format(tr("Donating %s %s to The Monero Project (donate.getmonero.org or %s).")) % amount_str % cryptonote::get_unit(cryptonote::get_default_decimal_point()) % MONERO_DONATION_ADDR).str();
|
||||||
transfer_new(local_args);
|
transfer_new(local_args);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue