From 85b6d8554d2ce3fc545a20e1d109f0e061b59149 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 4 Oct 2022 13:04:30 +0200 Subject: [PATCH] Fix i18n issues / also we don't need operation logger for domain_action_run, already handled in subcalls --- locales/en.json | 2 +- src/domain.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/locales/en.json b/locales/en.json index 0a1203b61..81be8da6c 100644 --- a/locales/en.json +++ b/locales/en.json @@ -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.", diff --git a/src/domain.py b/src/domain.py index 50a6451bf..51c9fb7fb 100644 --- a/src/domain.py +++ b/src/domain.py @@ -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