Fix i18n issues / also we don't need operation logger for domain_action_run, already handled in subcalls

This commit is contained in:
Alexandre Aubin 2022-10-04 13:04:30 +02:00
parent aad576fdd0
commit 85b6d8554d
2 changed files with 2 additions and 5 deletions

View file

@ -139,6 +139,7 @@
"certmanager_self_ca_conf_file_not_found": "Could not find configuration file for self-signing authority (file: {file})",
"certmanager_unable_to_parse_self_CA_name": "Could not parse name of self-signing authority (file: {file})",
"certmanager_warning_subdomain_dns_record": "Subdomain '{subdomain}' does not resolve to the same IP address as '{domain}'. Some features will not be available until you fix this and regenerate the certificate.",
"config_action_failed": "Failed to run action '{action}': {error}",
"config_action_disabled": "Could not run action '{action}' since it is disabled, make sure to meet its constraints. help: {help}",
"config_apply_failed": "Applying the new configuration failed: {error}",
"config_cant_set_value_on_section": "You can't set a single value on an entire config section.",
@ -362,7 +363,6 @@
"dyndns_registered": "DynDNS domain registered",
"dyndns_registration_failed": "Could not register DynDNS domain: {error}",
"dyndns_unavailable": "The domain '{domain}' is unavailable.",
"experimental_feature": "Warning: This feature is experimental and not considered stable, you should not use it unless you know what you are doing.",
"extracting": "Extracting...",
"field_invalid": "Invalid field '{}'",
"file_does_not_exist": "The file {path} does not exist.",

View file

@ -531,10 +531,7 @@ class DomainConfigPanel(ConfigPanel):
self.values["acme_eligible"] = self.cert_status["ACME_eligible"]
@is_unit_operation()
def domain_action_run(
operation_logger, domain, action, args=None
):
def domain_action_run(domain, action, args=None):
import urllib.parse