Browse Source

Replaces numbered place marker %2 with %1.

Replaces numbered place marker %2 with %1, because the QString::arg() member function is called once on the string used to create the QString object.
0.16
251 7 years ago
parent
commit
8a93543419
  1. 2
      src/qt/sendcoinsdialog.cpp

2
src/qt/sendcoinsdialog.cpp

@ -336,7 +336,7 @@ void SendCoinsDialog::on_sendButton_clicked() @@ -336,7 +336,7 @@ void SendCoinsDialog::on_sendButton_clicked()
}
questionString.append(tr("Total Amount %1")
.arg(BitcoinUnits::formatHtmlWithUnit(model->getOptionsModel()->getDisplayUnit(), totalAmount)));
questionString.append(QString("<span style='font-size:10pt;font-weight:normal;'><br />(=%2)</span>")
questionString.append(QString("<span style='font-size:10pt;font-weight:normal;'><br />(=%1)</span>")
.arg(alternativeUnits.join(" " + tr("or") + "<br />")));
questionString.append("<hr /><span>");

Loading…
Cancel
Save