Skip to content

Commit bd42f5e

Browse files
luke-jrhebasto
authored andcommitted
Bugfix: GUI: Send/PSBT: Correct virtual size unit and make translatable
1 parent 1b0407f commit bd42f5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qt/sendcoinsdialog.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ bool SendCoinsDialog::PrepareSendText(QString& question_string, QString& informa
355355
question_string.append("</b>");
356356

357357
// append transaction size
358-
question_string.append(" (" + QString::number((double)m_current_transaction->getTransactionSize() / 1000) + " kB): ");
358+
//: When reviewing a newly created PSBT (via Send flow), the transaction fee is shown, with "virtual size" of the transaction displayed for context
359+
question_string.append(" (" + tr("%1 kvB", "PSBT transaction creation").arg((double)m_current_transaction->getTransactionSize() / 1000, 0, 'g', 3) + "): ");
359360

360361
// append transaction fee value
361362
question_string.append("<span style='color:#aa0000; font-weight:bold;'>");

0 commit comments

Comments
 (0)