|
@ -14,40 +14,41 @@ Popup: |
|
|
value: _("%d connections.")% app.num_nodes if app.num_nodes else _("Not connected") |
|
|
value: _("%d 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: x |
|
|
action: lambda x: None |
|
|
|
|
|
|
|
|
CardSeparator |
|
|
CardSeparator |
|
|
SettingsItem: |
|
|
SettingsItem: |
|
|
title: _("Server") + ': ' + app.server_host |
|
|
title: _("Server") + ': ' + app.server_host |
|
|
description: _("Server used to request your history.") |
|
|
description: _("Server used to query your history.") |
|
|
action: lambda x: app.popup_dialog('server') |
|
|
action: lambda x: app.popup_dialog('server') |
|
|
|
|
|
|
|
|
|
|
|
CardSeparator |
|
|
|
|
|
SettingsItem: |
|
|
|
|
|
proxy: app.proxy_config.get('mode') |
|
|
|
|
|
host: app.proxy_config.get('host') |
|
|
|
|
|
port: app.proxy_config.get('port') |
|
|
|
|
|
title: _("Proxy") + ': ' + ((self.host +':' + self.port) if self.proxy else _('None')) |
|
|
|
|
|
description: _('Proxy configuration') |
|
|
|
|
|
action: lambda x: app.popup_dialog('proxy') |
|
|
|
|
|
|
|
|
CardSeparator |
|
|
CardSeparator |
|
|
SettingsItem: |
|
|
SettingsItem: |
|
|
title: _("Auto-connect") + ': ' + ('ON' if app.auto_connect else 'OFF') |
|
|
title: _("Auto-connect") + ': ' + ('ON' if app.auto_connect else 'OFF') |
|
|
description: _("Find a server automatically") |
|
|
description: _("Select your server automatically") |
|
|
action: app.toggle_auto_connect |
|
|
action: app.toggle_auto_connect |
|
|
|
|
|
|
|
|
CardSeparator |
|
|
CardSeparator |
|
|
SettingsItem: |
|
|
SettingsItem: |
|
|
value: "%d blocks" % app.num_blocks |
|
|
value: "%d blocks" % app.num_blocks |
|
|
title: _("Blockchain") + ': ' + self.value |
|
|
title: _("Blockchain") + ': ' + self.value |
|
|
description: _("Verified block headers.") |
|
|
description: _('Verified block headers') |
|
|
action: lambda x: x |
|
|
action: lambda x: x |
|
|
|
|
|
|
|
|
CardSeparator |
|
|
CardSeparator |
|
|
SettingsItem: |
|
|
SettingsItem: |
|
|
title: _("Checkpoint") + ': ' + app.blockchain_status() |
|
|
title: app.blockchain_info() |
|
|
description: app.blockchain_info() |
|
|
fork_description: (_('You are following branch') if app.auto_connect else _("Your server is on branch")) + ' ' + app.blockchain_name |
|
|
|
|
|
description: _('Everything is fine') if self.disabled else self.fork_description |
|
|
action: app.choose_blockchain_dialog |
|
|
action: app.choose_blockchain_dialog |
|
|
|
|
|
disabled: len(app.network.blockchains) == 1 |
|
|
CardSeparator |
|
|
|
|
|
SettingsItem: |
|
|
|
|
|
proxy: app.proxy_config.get('mode') |
|
|
|
|
|
host: app.proxy_config.get('host') |
|
|
|
|
|
port: app.proxy_config.get('port') |
|
|
|
|
|
title: _("Proxy") + ': ' + ((self.host +':' + self.port) if self.proxy else _('None')) |
|
|
|
|
|
description: _('Proxy configuration') |
|
|
|
|
|
action: lambda x: app.popup_dialog('proxy') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|