From 746d8cddc191d4044146c97d125a08e837ab7a76 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 17 Feb 2026 08:32:57 +0000 Subject: [PATCH] qt: Use plurals where necessary --- src/qt/psbtoperationsdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qt/psbtoperationsdialog.cpp b/src/qt/psbtoperationsdialog.cpp index 7661e59fa7a..f5cb077386e 100644 --- a/src/qt/psbtoperationsdialog.cpp +++ b/src/qt/psbtoperationsdialog.cpp @@ -98,7 +98,7 @@ void PSBTOperationsDialog::signTransaction() } else if (!complete && n_signed < 1) { showStatus(tr("Could not sign any more inputs."), StatusLevel::WARN); } else if (!complete) { - showStatus(tr("Signed %1 inputs, but more signatures are still required.").arg(n_signed), + showStatus(tr("Signed %n input(s), but more signatures are still required.", "", n_signed), StatusLevel::INFO); } else { showStatus(tr("Signed transaction successfully. Transaction is ready to broadcast."), @@ -219,7 +219,7 @@ QString PSBTOperationsDialog::renderTransaction(const PartiallySignedTransaction size_t num_unsigned = CountPSBTUnsignedInputs(psbtx); if (num_unsigned > 0) { tx_description.append("

"); - tx_description.append(tr("Transaction has %1 unsigned inputs.").arg(QString::number(num_unsigned))); + tx_description.append(tr("Transaction has %n unsigned input(s).", "", num_unsigned)); } return tx_description;