fix: The title of the risk detection email and server performance check notification i18n

This commit is contained in:
wangruidong
2025-06-19 14:47:17 +08:00
committed by Bryan
parent 60608e92ea
commit 411b485448
3 changed files with 66 additions and 43 deletions

View File

@@ -264,7 +264,7 @@ class CheckAccountManager(BaseManager):
handler.clean()
def get_report_subject(self):
return "Check account report of %s" % self.execution.id
return _("Check account report of {}").format(self.execution.id)
def get_report_template(self):
return "accounts/check_account_report.html"