domain: i18n for config panel section

This commit is contained in:
Alexandre Aubin 2022-10-07 17:03:07 +02:00 committed by GitHub
parent 5cfbcd4c49
commit 1fe507651b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -514,7 +514,7 @@ def _get_registrar_config_section(domain):
from lexicon.providers.auto import _relevant_provider_for_domain
registrar_infos = {
"name": "Registrar infos",
"name": m18n.n('registrar_infos'), # This is meant to name the config panel section, for proper display in the webadmin
}
dns_zone = _get_dns_zone_for_domain(domain)