From cfc420ec2a43bdfa6b259febb8f54b6e50d9ffb5 Mon Sep 17 00:00:00 2001 From: Felix Rindt Date: Thu, 13 Jul 2023 19:17:13 +0200 Subject: [PATCH] fix a string not getting marked by gettext --- ephios/core/signup/participants.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ephios/core/signup/participants.py b/ephios/core/signup/participants.py index bb84829f4..81991a744 100644 --- a/ephios/core/signup/participants.py +++ b/ephios/core/signup/participants.py @@ -114,6 +114,9 @@ def reverse_event_detail(self, event): @property def icon(self): + title = _( + "Placeholder" + ) # not getting marked for translation when inside f-string for some reason return mark_safe( - f'' + f'' )