aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbrunner7 <rbrunner@dreamshare.ch>2017-08-31 18:01:15 +0200
committerrbrunner7 <rbrunner@dreamshare.ch>2017-08-31 18:01:15 +0200
commit840aed1cf3c0a0171e0090b9dfbc72a02209d417 (patch)
tree64a9b2055f641862b612b9083b99815066112505
parentmonero-wallet-cli: New command 'wallet_info' (diff)
downloadmonero-840aed1cf3c0a0171e0090b9dfbc72a02209d417.tar.xz
monero-wallet-cli: New command 'wallet_info' improved
-rw-r--r--src/simplewallet/simplewallet.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index e69a7aa1b..3cfb89949 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -4446,11 +4446,10 @@ bool simple_wallet::status(const std::vector<std::string> &args)
//----------------------------------------------------------------------------------------------------
bool simple_wallet::wallet_info(const std::vector<std::string> &args)
{
- success_msg_writer() << "Filename: " << m_wallet->get_wallet_file();
- success_msg_writer() << "Address: " << m_wallet->get_account().get_public_address_str(m_wallet->testnet());
- success_msg_writer() << "Watch only: " << (m_wallet->watch_only() ? "Yes" : "No");
- success_msg_writer() << "Restricted RPC: " << (m_wallet->restricted() ? "Yes" : "No");
- success_msg_writer() << "Testnet: " << (m_wallet->testnet() ? "Yes" : "No");
+ message_writer() << tr("Filename: ") << m_wallet->get_wallet_file();
+ message_writer() << tr("Address: ") << m_wallet->get_account().get_public_address_str(m_wallet->testnet());
+ message_writer() << tr("Watch only: ") << (m_wallet->watch_only() ? tr("Yes") : tr("No"));
+ message_writer() << tr("Testnet: ") << (m_wallet->testnet() ? tr("Yes") : tr("No"));
return true;
}
//----------------------------------------------------------------------------------------------------