diff --git a/locales/en.json b/locales/en.json index 78df35c33..819a28008 100644 --- a/locales/en.json +++ b/locales/en.json @@ -403,7 +403,7 @@ "service_conf_file_remove_failed": "Unable to remove the configuration file '{conf}'", "service_conf_file_removed": "The configuration file '{conf}' has been removed", "service_conf_file_updated": "The configuration file '{conf}' has been updated", - "service_conf_new_managed_file": "The configuration file '{conf}' is now managed by the service {service}.", + "service_conf_now_managed_by_yunohost": "The configuration file '{conf}' is now managed by YunoHost.", "service_conf_up_to_date": "The configuration is already up-to-date for service '{service}'", "service_conf_updated": "The configuration has been updated for service '{service}'", "service_conf_would_be_updated": "The configuration would have been updated for service '{service}'", diff --git a/src/yunohost/service.py b/src/yunohost/service.py index 9ab301933..47d53e0ac 100644 --- a/src/yunohost/service.py +++ b/src/yunohost/service.py @@ -508,8 +508,8 @@ def service_regen_conf(operation_logger, names=[], with_diff=False, force=False, # we assume that it is safe to regen it, since the file is backuped # anyway (by default in _regen), as long as we warn the user # appropriately. - logger.info(m18n.n('service_conf_new_managed_file', - conf=system_path, service=service)) + logger.info(m18n.n('service_conf_now_managed_by_yunohost', + conf=system_path)) regenerated = _regen(system_path, pending_path) conf_status = 'new' elif force: