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

This commit is contained in:
Luke Dashjr authored and Hennadii Stepanov committed 2023-03-31 12:22:16 +01:00
1 parent 1b0407f5f1
commit bd42f5e1cd
1 file changed
+2 -1
+2 -1
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;'>");