Skip to content

Commit 6ae8a24

Browse files
luke-jrhebasto
authored andcommitted
GUI: Send: Make feerates translatable
1 parent bd42f5e commit 6ae8a24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qt/sendcoinsdialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ void SendCoinsDialog::updateFeeMinimizedLabel()
828828
if (ui->radioSmartFee->isChecked())
829829
ui->labelFeeMinimized->setText(ui->labelSmartFee->text());
830830
else {
831-
ui->labelFeeMinimized->setText(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), ui->customFee->value()) + "/kvB");
831+
ui->labelFeeMinimized->setText(tr("%1/kvB").arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), ui->customFee->value())));
832832
}
833833
}
834834

@@ -863,7 +863,7 @@ void SendCoinsDialog::updateSmartFeeLabel()
863863
FeeReason reason;
864864
CFeeRate feeRate = CFeeRate(model->wallet().getMinimumFee(1000, *m_coin_control, &returned_target, &reason));
865865

866-
ui->labelSmartFee->setText(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), feeRate.GetFeePerK()) + "/kvB");
866+
ui->labelSmartFee->setText(tr("%1/kvB").arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), feeRate.GetFeePerK())));
867867

868868
if (reason == FeeReason::FALLBACK) {
869869
ui->labelSmartFee2->show(); // (Smart fee not initialized yet. This usually takes a few blocks...)

0 commit comments

Comments
 (0)