Fix trans

This commit is contained in:
cuom1999 2023-04-03 11:55:13 -05:00
parent eb36ed4f79
commit 9ce925fd6a
3 changed files with 64 additions and 63 deletions

View file

@ -40,7 +40,7 @@ class NotificationList(ListView):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["unseen_count"] = self.unseen_cnt
context["title"] = _("Notifications (%d unseen)" % context["unseen_count"])
context["title"] = _("Notifications (%d unseen)") % context["unseen_count"]
context["has_notifications"] = self.queryset.exists()
return context