From 6d876da1c4945ff08e7b285786fd7b7327c84e25 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 1 Apr 2023 12:43:53 +0200 Subject: [PATCH] qml InvoiceDialog: update userinfo messages --- electrum/gui/qml/qeinvoice.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/electrum/gui/qml/qeinvoice.py b/electrum/gui/qml/qeinvoice.py index 32c09c0db..2b93dab37 100644 --- a/electrum/gui/qml/qeinvoice.py +++ b/electrum/gui/qml/qeinvoice.py @@ -389,8 +389,8 @@ class QEInvoiceParser(QEInvoice, QtEventListener): self.userinfo = _('Insufficient balance') else: self.userinfo = { - PR_EXPIRED: _('Invoice is expired'), - PR_PAID: _('Invoice is already paid'), + PR_EXPIRED: _('This invoice has expired'), + PR_PAID: _('This invoice was already paid'), PR_INFLIGHT: _('Payment in progress...'), PR_ROUTING: _('Payment in progress'), PR_UNKNOWN: _('Invoice has unknown status'), @@ -401,9 +401,9 @@ class QEInvoiceParser(QEInvoice, QtEventListener): self.userinfo = _('Insufficient balance') else: self.userinfo = { - PR_EXPIRED: _('Invoice is expired'), - PR_PAID: _('Invoice is already paid'), - PR_UNCONFIRMED: _('Invoice is already paid'), + PR_EXPIRED: _('This invoice has expired'), + PR_PAID: _('This invoice was already paid'), + PR_UNCONFIRMED: _('Payment in progress...') + ' (' + _('waiting for confirmation') + ')', PR_UNKNOWN: _('Invoice has unknown status'), }[self.status]