mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
bind: Minor i18n updates
- Use a proper i18n label for 'Forwarders' fields instead of auto-generated one. - Reuse an already used success message for form submission so that a new message is not introduced for l10n. - Minor styling fixes and a yapf run. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
4 files changed
+7
-11
No files matched your search
@@ -34,9 +34,9 @@ def validate_ips(ips):
|
||||
class BindForm(ServiceForm):
|
||||
"""BIND configuration form"""
|
||||
forwarders = forms.CharField(
|
||||
required=False, validators=[validate_ips], help_text=_(
|
||||
'A list DNS servers, separated by space, to which '
|
||||
'requests will be forwarded'))
|
||||
label=_('Forwarders'), required=False, validators=[validate_ips],
|
||||
help_text=_('A list DNS servers, separated by space, to which '
|
||||
'requests will be forwarded'))
|
||||
|
||||
enable_dnssec = forms.BooleanField(
|
||||
label=_('Enable DNSSEC'), required=False,
|
||||
|
||||
Reference in new issue
Block a user