gui/messages.py: allow localization of these strings
This commit is contained in:
@@ -172,7 +172,7 @@ class QEChannelDetails(QObject, QtEventListener):
|
||||
|
||||
@pyqtProperty(str, notify=channelChanged)
|
||||
def messageForceClose(self, notify=channelChanged):
|
||||
return _(messages.MSG_REQUEST_FORCE_CLOSE).strip()
|
||||
return messages.MSG_REQUEST_FORCE_CLOSE.strip()
|
||||
|
||||
@pyqtProperty(bool, notify=channelChanged)
|
||||
def isBackup(self):
|
||||
|
||||
@@ -224,7 +224,7 @@ class QEChannelOpener(QObject, AuthMixin):
|
||||
#self.maybe_show_funding_tx(chan, funding_tx)
|
||||
#else:
|
||||
#title = _('Save backup')
|
||||
#help_text = _(messages.MSG_CREATED_NON_RECOVERABLE_CHANNEL)
|
||||
#help_text = messages.MSG_CREATED_NON_RECOVERABLE_CHANNEL
|
||||
#data = lnworker.export_channel_backup(chan.channel_id)
|
||||
#popup = QRDialog(
|
||||
#title, data,
|
||||
|
||||
Reference in New Issue
Block a user