From ae8ba555eb41a091f3955febae80edf0997e1134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Fri, 24 Sep 2010 14:37:07 +0000 Subject: [PATCH] 4241: ignore Residence events on Addresse page for non-english locales svn: r15925 --- src/plugins/webreport/NarrativeWeb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index e76b30fea..712a92b8f 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -5694,7 +5694,7 @@ class NavWebReport(Report): continue # get event type evt_type = str(event.get_type() ) - if evt_type == "Residence": + if evt_type == _("Residence"): has_res = event break