Bugfix: GUI: Send/PSBT: Correct virtual size unit and make translatable

This commit is contained in:
Luke Dashjr 2022-05-15 22:15:51 +00:00 committed by Hennadii Stepanov
parent 1b0407f5f1
commit bd42f5e1cd
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -355,7 +355,8 @@ bool SendCoinsDialog::PrepareSendText(QString& question_string, QString& informa
question_string.append("</b>");
// append transaction size
question_string.append(" (" + QString::number((double)m_current_transaction->getTransactionSize() / 1000) + " kB): ");
//: When reviewing a newly created PSBT (via Send flow), the transaction fee is shown, with "virtual size" of the transaction displayed for context
question_string.append(" (" + tr("%1 kvB", "PSBT transaction creation").arg((double)m_current_transaction->getTransactionSize() / 1000, 0, 'g', 3) + "): ");
// append transaction fee value
question_string.append("<span style='color:#aa0000; font-weight:bold;'>");