infra: Fix string to use correct translation function name

This commit is contained in:
Matthew Wild
2023-12-14 12:43:52 +00:00
parent 92a8da724f
commit d63ae4768a

View File

@@ -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