diff options
author | cryptochangements34 <bW9uZXJv@gmail.com> | 2018-06-20 15:57:23 -0400 |
---|---|---|
committer | cryptochangements34 <bW9uZXJv@gmail.com> | 2018-06-20 15:57:23 -0400 |
commit | 7bf99a237651fa3796682ac25558c369697492ae (patch) | |
tree | 474f6856e9e2a442c71a0fa55a6fd345625c63a3 | |
parent | Merge pull request #3398 (diff) | |
download | monero-7bf99a237651fa3796682ac25558c369697492ae.tar.xz |
fix string handling for donation message
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 3668df7b9..dd0f7455e 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -4781,7 +4781,7 @@ bool simple_wallet::donate(const std::vector<std::string> &args_) local_args.push_back(amount_str); if (!payment_id_str.empty()) 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); return true; } |