Skip to content

Commit 170f312

Browse files
luke-jrhebasto
authored andcommitted
GUI: Use translated external signer errors for messagebox text
1 parent 9698959 commit 170f312

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/qt/sendcoinsdialog.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,14 @@ bool SendCoinsDialog::signWithExternalSigner(PartiallySignedTransaction& psbtx,
454454
}
455455
if (err == TransactionError::EXTERNAL_SIGNER_NOT_FOUND) {
456456
//: "External signer" means using devices such as hardware wallets.
457-
QMessageBox::critical(nullptr, tr("External signer not found"), "External signer not found");
457+
const QString msg = tr("External signer not found");
458+
QMessageBox::critical(nullptr, msg, msg);
458459
return false;
459460
}
460461
if (err == TransactionError::EXTERNAL_SIGNER_FAILED) {
461462
//: "External signer" means using devices such as hardware wallets.
462-
QMessageBox::critical(nullptr, tr("External signer failure"), "External signer failure");
463+
const QString msg = tr("External signer failure");
464+
QMessageBox::critical(nullptr, msg, msg);
463465
return false;
464466
}
465467
if (err != TransactionError::OK) {

0 commit comments

Comments
 (0)