Fix trans
This commit is contained in:
parent
eb36ed4f79
commit
9ce925fd6a
3 changed files with 64 additions and 63 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue