From 3f69e5ae3e1c834f2a5b4abb20dd3822a619a262 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 15 Sep 2021 17:37:22 +0200 Subject: [PATCH] qt cpfp: (trivial) make some strings translatable gettext was not picking these up --- electrum/gui/qt/main_window.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index 0e286be5b..1a8de9b43 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -3306,17 +3306,17 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): return d = WindowModalDialog(self, _('Child Pays for Parent')) vbox = QVBoxLayout(d) - msg = ( + msg = _( "A CPFP is a transaction that sends an unconfirmed output back to " "yourself, with a high fee. The goal is to have miners confirm " "the parent transaction in order to get the fee attached to the " "child transaction.") - vbox.addWidget(WWLabel(_(msg))) - msg2 = ("The proposed fee is computed using your " + vbox.addWidget(WWLabel(msg)) + msg2 = _("The proposed fee is computed using your " "fee/kB settings, applied to the total size of both child and " "parent transactions. After you broadcast a CPFP transaction, " "it is normal to see a new unconfirmed transaction in your history.") - vbox.addWidget(WWLabel(_(msg2))) + vbox.addWidget(WWLabel(msg2)) grid = QGridLayout() grid.addWidget(QLabel(_('Total size') + ':'), 0, 0) grid.addWidget(QLabel('%d bytes'% total_size), 0, 1)