From 64bbc22485b1b91568b3aa19280deacf5f6d96ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Mon, 31 Oct 2011 09:54:23 +0000 Subject: [PATCH] 5338: Family Descendant Chart text errors svn: r18389 --- 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 f40b2714c..e1d06c485 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