Skip to content

Commit

Permalink
Changed wording of messages
Browse files Browse the repository at this point in the history
  • Loading branch information
psolstice committed Jun 7, 2024
1 parent c5a5c82 commit 0f7a908
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/qt/sendcoinsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ void SendCoinsDialog::on_sendButton_clicked()
if (fGoThroughTransparentAddress) {
QString transparentAddress = "<span style='font-family: monospace;'>" + recipients[recipients.size()-1].address + "</span>";
formatted.append("<br />");
formatted.append(tr("It's impossible to send directly to exchange address."
" The transaction will go through a new auto-generated transparent address %1.").arg(transparentAddress));
formatted.append(tr("EX-addresses can only receive FIRO from transparent addresses.<br /><br />"
"Your FIRO will go from Spark to a newly generated transparent address %1 and then immediately be sent to the EX-address.").arg(transparentAddress));
}

QString questionString = tr("Are you sure you want to send?");
Expand Down Expand Up @@ -556,10 +556,12 @@ void SendCoinsDialog::on_sendButton_clicked()
questionString.append(" (" + QString::number(txSize / 1000) + " kB)");

if (fGoThroughTransparentAddress) {
questionString.append(tr(". Note: the transaction will go through a transparent address, fee for the second transaction is "));
questionString.append("<span style='color:#aa0000;'>");
questionString.append(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), extraFee));
questionString.append("</span>.");
QString feeString;
feeString.append("<span style='color:#aa0000;'>");
feeString.append(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), extraFee));
feeString.append("</span>");

questionString.append(tr(". An additional transaction fee of %1 will apply to complete the send from the transparent address to the EX-address.").arg(feeString));
}
}

Expand Down

0 comments on commit 0f7a908

Please sign in to comment.