diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-25 22:28:12 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-25 22:28:12 +0200 |
commit | e780b94bd3395cb9ecf032c5dcd406d034422d75 (patch) | |
tree | 39cadf80baab58b85362839859a4891e606bf0d2 /src/qt | |
parent | e285ffcd052a42a6e870f093e7663671a2a3b147 (diff) |
fix unit names (μBTC)
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoinunits.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/qt/bitcoinunits.cpp b/src/qt/bitcoinunits.cpp index ff30563f97..567e51ff39 100644 --- a/src/qt/bitcoinunits.cpp +++ b/src/qt/bitcoinunits.cpp @@ -6,10 +6,10 @@ QString BitcoinUnits::name(BitcoinUnits::Unit unit) { switch(unit) { - case BTC: return "BTC"; - case mBTC: return "mBTC"; - case uBTC: return "uBTC"; - default: return "???"; + case BTC: return QString("BTC"); + case mBTC: return QString("mBTC"); + case uBTC: return QString::fromUtf8("μBTC"); + default: return QString("???"); } } @@ -17,10 +17,10 @@ QString BitcoinUnits::description(BitcoinUnits::Unit unit) { switch(unit) { - case BTC: return "Bitcoin"; - case mBTC: return "Milli-bitcoin"; - case uBTC: return "Micro-bitcoin"; - default: return "???"; + case BTC: return QString("Bitcoin"); + case mBTC: return QString("Milli-bitcoin (1/1000)"); + case uBTC: return QString("Micro-bitcoin (1/1000,000)"); + default: return QString("???"); } } |