From 0c2773f39cae8f158af98c38134e7ecf4b2f04c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Mon, 31 Oct 2011 09:56:06 +0000 Subject: [PATCH] 5338: Family Descendant Chart text errors; english locale svn: r18390 --- src/plugins/drawreport/DescendTree.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/plugins/drawreport/DescendTree.py b/src/plugins/drawreport/DescendTree.py index 6d502d931..3816558ee 100644 --- a/src/plugins/drawreport/DescendTree.py +++ b/src/plugins/drawreport/DescendTree.py @@ -33,12 +33,7 @@ Reports/Graphical Reports/Personal Tree # GRAMPS modules # #------------------------------------------------------------------------ -try: - from TransUtils import get_addon_translator - _ = get_addon_translator(__file__).gettext -except: - import gettext - _ = gettext.gettext +from TransUtils import sgettext as _ from Errors import ReportError