From 843d9d57ee5c6ff32df8e26db259c7e7c025ce02 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Sun, 15 May 2022 22:15:51 +0000 Subject: [PATCH] Bugfix: GUI: Send/PSBT: Correct virtual size unit and make translatable --- src/qt/sendcoinsdialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 360a353f010..c35311763e3 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -359,7 +359,8 @@ bool SendCoinsDialog::PrepareSendText(QString& question_string, QString& informa question_string.append(""); // 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("");