diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-06-25 14:39:01 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-06-25 14:39:01 -0500 |
| commit | ff7dc087ae5f7de162131cea9dbcf8eac7c126a1 (patch) | |
| tree | c2b9b31bbde194db0ddd687b848c0f5607cfb9f6 /src/simplewallet/simplewallet.cpp | |
| parent | ffab67004ca9a846d6f6d39de552e7ce79febf88 (diff) | |
| parent | 7bf99a237651fa3796682ac25558c369697492ae (diff) | |
| download | monzero-core-ff7dc087ae5f7de162131cea9dbcf8eac7c126a1.tar.gz monzero-core-ff7dc087ae5f7de162131cea9dbcf8eac7c126a1.tar.xz monzero-core-ff7dc087ae5f7de162131cea9dbcf8eac7c126a1.zip | |
Merge pull request #3407
7bf99a2 fix string handling for donation message (cryptochangements34)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
| -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 90c3da6ca..a68b5f331 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -5448,7 +5448,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; } |
