perf: notification i18n

This commit is contained in:
wangruidong
2024-05-24 15:42:12 +08:00
committed by w940853815
parent 8ebdd59e00
commit 0ea2339ad5
18 changed files with 173 additions and 124 deletions

View File

@@ -12,7 +12,7 @@ class PermedAssetsWillExpireUserMsg(UserMessage):
self.day_count = _('today') if day_count == 0 else str(day_count) + _('day')
def get_html_msg(self) -> dict:
subject = _("You permed assets is about to expire")
subject = _("The asset you authorized is about to expire")
context = {
'name': self.user.name,
'count': self.day_count,