diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-24 21:23:43 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-24 21:23:43 +0200 |
commit | 6665c2431bb572bb710073de5dc1b6270980101c (patch) | |
tree | 00e2802bb20981c0c64a8cd7a9ddce941e5c0788 /src/qt/bitcoingui.cpp | |
parent | daaee738fcdcb6b319b522ee40bc26a95c8a7ad3 (diff) |
use buttonbox for options dialog
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r-- | src/qt/bitcoingui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index bc986dcf9f..52b33fb838 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -361,7 +361,7 @@ void BitcoinGUI::setNumConnections(int count) default: icon = ":/icons/connect_4"; break; } labelConnections->setTextFormat(Qt::RichText); - labelConnections->setText("<img src=\""+icon+"\"> " + QLocale::system().toString(count)+" "+tr("connection(s)", "", count)); + labelConnections->setText("<img src=\""+icon+"\"> " + tr("%n connection(s)", "", count)); } void BitcoinGUI::setNumBlocks(int count) @@ -380,12 +380,12 @@ void BitcoinGUI::setNumBlocks(int count) progressBar->setVisible(false); } - labelBlocks->setText(QLocale::system().toString(count)+" "+tr("block(s)", "", count)); + labelBlocks->setText(tr("%n block(s)", "", count)); } void BitcoinGUI::setNumTransactions(int count) { - labelTransactions->setText(QLocale::system().toString(count)+" "+tr("transaction(s)", "", count)); + labelTransactions->setText(tr("%n transaction(s)", "", count)); } void BitcoinGUI::error(const QString &title, const QString &message) |