From 4b9dba0c53ce99b565aec3deaa11efa8cf5a0bbf Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Mon, 26 Aug 2019 22:06:54 +0200 Subject: [PATCH] Translation problem when creating event filter If you create a filter with the rule name: "Events with a particular type" or "Events with " The menu "Travel", "Academic"... are not translated Fixes #11293 --- gramps/gui/autocomp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/autocomp.py b/gramps/gui/autocomp.py index c1c58da13..e870ef462 100644 --- a/gramps/gui/autocomp.py +++ b/gramps/gui/autocomp.py @@ -171,7 +171,7 @@ class StandardCustomSelector: if self.active_key in items: parent = None else: - parent = store.append(None, row=[None, heading, False]) + parent = store.append(None, row=[None, _(heading), False]) for item in items: store.append(parent, row=[item, self.mapping[item], True])