aboutsummaryrefslogtreecommitdiff
path: root/src/qt/intro.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-10-21 15:40:00 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-10-21 15:40:43 +0200
commit9acbb4180a383ff123e07887a24b439cef846e89 (patch)
tree701e7b441622a83693bb1592eba562b1205b4f65 /src/qt/intro.cpp
parentc313d6ecb945f8d908b061989d31d53cb6d0297d (diff)
downloadbitcoin-9acbb4180a383ff123e07887a24b439cef846e89.tar.xz
qt: small English language updates from translators
More friendly language, use placeholders where possible
Diffstat (limited to 'src/qt/intro.cpp')
-rw-r--r--src/qt/intro.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp
index d469c9a0bd..7618bff69d 100644
--- a/src/qt/intro.cpp
+++ b/src/qt/intro.cpp
@@ -215,10 +215,10 @@ void Intro::setStatus(int status, const QString &message, quint64 bytesAvailable
{
ui->freeSpace->setText("");
} else {
- QString freeString = QString::number(bytesAvailable/GB_BYTES) + tr("GB of free space available");
+ QString freeString = tr("%n GB of free space available", "", bytesAvailable/GB_BYTES);
if(bytesAvailable < BLOCK_CHAIN_SIZE)
{
- freeString += " " + tr("(of %1GB needed)").arg(BLOCK_CHAIN_SIZE/GB_BYTES);
+ freeString += " " + tr("(of %n GB needed)", "", BLOCK_CHAIN_SIZE/GB_BYTES);
ui->freeSpace->setStyleSheet("QLabel { color: #800000 }");
} else {
ui->freeSpace->setStyleSheet("");