mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix #3941
This commit is contained in:
parent
51f04d4e7b
commit
d971a75ef8
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ class _(str):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def translate(s, *args, **kwargs):
|
def translate(s, *args, **kwargs):
|
||||||
return _.lang(s).format(args, kwargs)
|
return _.lang(s).format(*args, **kwargs)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def bind(label):
|
def bind(label):
|
||||||
|
|
|
@ -11,7 +11,7 @@ Popup:
|
||||||
height: self.minimum_height
|
height: self.minimum_height
|
||||||
padding: '10dp'
|
padding: '10dp'
|
||||||
SettingsItem:
|
SettingsItem:
|
||||||
value: _("{} connections.").format(app.num_nodes) if app.num_nodes else _("Not connected")
|
value: _("{} connections.", app.num_nodes) if app.num_nodes else _("Not connected")
|
||||||
title: _("Status") + ': ' + self.value
|
title: _("Status") + ': ' + self.value
|
||||||
description: _("Connections with Electrum servers")
|
description: _("Connections with Electrum servers")
|
||||||
action: lambda x: None
|
action: lambda x: None
|
||||||
|
@ -46,7 +46,7 @@ Popup:
|
||||||
|
|
||||||
CardSeparator
|
CardSeparator
|
||||||
SettingsItem:
|
SettingsItem:
|
||||||
title: _('Fork detected at block {}').format(app.blockchain_checkpoint) if app.num_chains>1 else _('No fork detected')
|
title: _('Fork detected at block {}', app.blockchain_checkpoint) if app.num_chains>1 else _('No fork detected')
|
||||||
fork_description: (_('You are following branch') if app.auto_connect else _("Your server is on branch")) + ' ' + app.blockchain_name
|
fork_description: (_('You are following branch') if app.auto_connect else _("Your server is on branch")) + ' ' + app.blockchain_name
|
||||||
description: self.fork_description if app.num_chains>1 else _('Connected nodes are on the same chain')
|
description: self.fork_description if app.num_chains>1 else _('Connected nodes are on the same chain')
|
||||||
action: app.choose_blockchain_dialog
|
action: app.choose_blockchain_dialog
|
||||||
|
|
Loading…
Add table
Reference in a new issue