diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-07-15 00:54:20 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-07-15 00:54:21 +0200 |
commit | ad841cb1b90101b40ce351bef51aca23fd1c26fe (patch) | |
tree | 6a54c37e4c92b3d9afaa7819f4640337a45da154 /src/simplewallet/simplewallet.h | |
parent | Merge pull request #334 (diff) | |
parent | Translatable strings for simplewallet (diff) | |
download | monero-ad841cb1b90101b40ce351bef51aca23fd1c26fe.tar.xz |
Merge pull request #335
78b2eab Translatable strings for simplewallet (moneromooo-monero)
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r-- | src/simplewallet/simplewallet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 2b8ca0ed2..ad1dd015f 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -58,6 +58,9 @@ namespace cryptonote class simple_wallet : public tools::i_wallet2_callback { public: + static const char *tr(const char *str) { return i18n_translate(str, "cryptonote::simple_wallet"); } + + public: typedef std::vector<std::string> command_type; simple_wallet(); @@ -165,7 +168,7 @@ namespace cryptonote if (std::chrono::milliseconds(1) < current_time - m_print_time || force) { - std::cout << "Height " << height << " of " << m_blockchain_height << '\r'; + std::cout << QT_TRANSLATE_NOOP("Height ", "cryptonote::simple_wallet") << height << " / " << m_blockchain_height << '\r'; m_print_time = current_time; } } |