qt cpfp: (trivial) make some strings translatable
gettext was not picking these up
This commit is contained in:
@@ -3306,17 +3306,17 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
|
|||||||
return
|
return
|
||||||
d = WindowModalDialog(self, _('Child Pays for Parent'))
|
d = WindowModalDialog(self, _('Child Pays for Parent'))
|
||||||
vbox = QVBoxLayout(d)
|
vbox = QVBoxLayout(d)
|
||||||
msg = (
|
msg = _(
|
||||||
"A CPFP is a transaction that sends an unconfirmed output back to "
|
"A CPFP is a transaction that sends an unconfirmed output back to "
|
||||||
"yourself, with a high fee. The goal is to have miners confirm "
|
"yourself, with a high fee. The goal is to have miners confirm "
|
||||||
"the parent transaction in order to get the fee attached to the "
|
"the parent transaction in order to get the fee attached to the "
|
||||||
"child transaction.")
|
"child transaction.")
|
||||||
vbox.addWidget(WWLabel(_(msg)))
|
vbox.addWidget(WWLabel(msg))
|
||||||
msg2 = ("The proposed fee is computed using your "
|
msg2 = _("The proposed fee is computed using your "
|
||||||
"fee/kB settings, applied to the total size of both child and "
|
"fee/kB settings, applied to the total size of both child and "
|
||||||
"parent transactions. After you broadcast a CPFP transaction, "
|
"parent transactions. After you broadcast a CPFP transaction, "
|
||||||
"it is normal to see a new unconfirmed transaction in your history.")
|
"it is normal to see a new unconfirmed transaction in your history.")
|
||||||
vbox.addWidget(WWLabel(_(msg2)))
|
vbox.addWidget(WWLabel(msg2))
|
||||||
grid = QGridLayout()
|
grid = QGridLayout()
|
||||||
grid.addWidget(QLabel(_('Total size') + ':'), 0, 0)
|
grid.addWidget(QLabel(_('Total size') + ':'), 0, 0)
|
||||||
grid.addWidget(QLabel('%d bytes'% total_size), 0, 1)
|
grid.addWidget(QLabel('%d bytes'% total_size), 0, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user