mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
qt: small English language updates from translators
More friendly language, use placeholders where possible
This commit is contained in:
@@ -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("");
|
||||
|
||||
Reference in New Issue
Block a user