mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
GUI: Use translated external signer errors for messagebox text
This commit is contained in:
parent
96989599d6
commit
170f3126f2
1 changed files with 4 additions and 2 deletions
|
@ -454,12 +454,14 @@ bool SendCoinsDialog::signWithExternalSigner(PartiallySignedTransaction& psbtx,
|
|||
}
|
||||
if (err == TransactionError::EXTERNAL_SIGNER_NOT_FOUND) {
|
||||
//: "External signer" means using devices such as hardware wallets.
|
||||
QMessageBox::critical(nullptr, tr("External signer not found"), "External signer not found");
|
||||
const QString msg = tr("External signer not found");
|
||||
QMessageBox::critical(nullptr, msg, msg);
|
||||
return false;
|
||||
}
|
||||
if (err == TransactionError::EXTERNAL_SIGNER_FAILED) {
|
||||
//: "External signer" means using devices such as hardware wallets.
|
||||
QMessageBox::critical(nullptr, tr("External signer failure"), "External signer failure");
|
||||
const QString msg = tr("External signer failure");
|
||||
QMessageBox::critical(nullptr, msg, msg);
|
||||
return false;
|
||||
}
|
||||
if (err != TransactionError::OK) {
|
||||
|
|
Loading…
Add table
Reference in a new issue