mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
fix typo's/formatting
This commit is contained in:
parent
44a219fb3a
commit
ee0cc92658
1 changed files with 2 additions and 4 deletions
|
@ -98,7 +98,7 @@ config_page.register('network','encryption', NetworkEnc)
|
||||||
class Proxy(config_forms.CfgForm):
|
class Proxy(config_forms.CfgForm):
|
||||||
title = _("Proxy")
|
title = _("Proxy")
|
||||||
_type_choices = list(enumerate(
|
_type_choices = list(enumerate(
|
||||||
["None", _("Socksv4"), _("Socksv5"), _("Socksv5 W/ Auth"),_("HTTP"), _("HTTP W/ Auth")]))
|
[_("None"), _("Socksv4"), _("Socksv5"), _("Socksv5 W/ Auth"),_("HTTP"), _("HTTP W/ Auth")]))
|
||||||
|
|
||||||
proxy_type = forms.IntChoiceField(_("Type"), _type_choices)
|
proxy_type = forms.IntChoiceField(_("Type"), _type_choices)
|
||||||
proxy_server =forms.CharField(label= _("Host"),required=False)
|
proxy_server =forms.CharField(label= _("Host"),required=False)
|
||||||
|
@ -106,8 +106,6 @@ class Proxy(config_forms.CfgForm):
|
||||||
proxy_username = forms.CharField(label= _("Username"), required=False)
|
proxy_username = forms.CharField(label= _("Username"), required=False)
|
||||||
proxy_password = forms.Password(label= _("Password"), required=False)
|
proxy_password = forms.Password(label= _("Password"), required=False)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
config_page.register('network','proxy', Proxy)
|
config_page.register('network','proxy', Proxy)
|
||||||
|
|
||||||
class BandwithGlobal(config_forms.CfgForm):
|
class BandwithGlobal(config_forms.CfgForm):
|
||||||
|
@ -180,7 +178,7 @@ class Queue(config_forms.CfgForm):
|
||||||
config_page.register('deluge','queue', Queue)
|
config_page.register('deluge','queue', Queue)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Will be should be a plugin, saved for later use.
|
Will become a plugin, saved for later use.
|
||||||
class Notification(config_forms.CfgForm):
|
class Notification(config_forms.CfgForm):
|
||||||
title = _("Notification")
|
title = _("Notification")
|
||||||
_security_choices = [(t,t) for t in [None,"SSL","TLS"]]
|
_security_choices = [(t,t) for t in [None,"SSL","TLS"]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue