From d63ae4768a840a79c903c3022c65454c3896bd7d Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 14 Dec 2023 12:43:52 +0000 Subject: [PATCH] infra: Fix string to use correct translation function name --- snikket_web/infra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snikket_web/infra.py b/snikket_web/infra.py index 4d6469c..ddfb914 100644 --- a/snikket_web/infra.py +++ b/snikket_web/infra.py @@ -53,7 +53,7 @@ def flatten(a: typing.Iterable, levels: int = 1) -> typing.Iterable: def circle_name(c: typing.Any) -> str: if c.id_ == "default" and c.name == "default": - return _("Main") + return _l("Main") return c.name