Skip to content

Commit

Permalink
Bugfix: GUI: Send/PSBT: Correct virtual size unit and make translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed May 15, 2022
1 parent f5ad8e0 commit 843d9d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qt/sendcoinsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,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;'>");
Expand Down

0 comments on commit 843d9d5

Please sign in to comment.