Skip to content

Commit fe519c6

Browse files
Use localization for review notification message
This change ensures that the review notification message is translated based on the user's locale. It improves the internationalization of the application, enhancing user experience for non-English speakers.
1 parent 4974950 commit fe519c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/models/memo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def get_absolute_url(self):
120120

121121
def send_review_notification(self) -> None:
122122
"""Send review notification to memo owner."""
123-
message = "The office memo has been reviewed"
123+
message = _("The office memo has been reviewed")
124124
participants = [self.owner]
125125
subscribers = self.subscribers.all() # NOQA
126126
if subscribers:

0 commit comments

Comments
 (0)