1
0

gui/messages.py: allow localization of these strings

This commit is contained in:
SomberNight
2023-04-25 17:54:07 +00:00
parent 663ea431f6
commit 55140a9e27
11 changed files with 57 additions and 49 deletions

View File

@@ -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):

View File

@@ -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,