From 56ed2ce45e1cbaac69f35e9e9f84903f2d5e26f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Mon, 1 Nov 2010 15:33:53 +0000 Subject: [PATCH] 2371: translate family attributes svn: r16101 --- src/plugins/textreport/DetDescendantReport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/textreport/DetDescendantReport.py b/src/plugins/textreport/DetDescendantReport.py index 762ff5998..9c766140d 100644 --- a/src/plugins/textreport/DetDescendantReport.py +++ b/src/plugins/textreport/DetDescendantReport.py @@ -659,8 +659,9 @@ class DetDescendantReport(Report): for attr in attrs: self.doc.start_paragraph('DDR-MoreDetails') + attrName = str(attr.get_type()) text = self._("%(type)s: %(value)s%(endnotes)s") % { - 'type' : attr.get_type(), + 'type' : self._(attrName), 'value' : attr.get_value(), 'endnotes' : self.endnotes(attr) } self.doc.write_text_citation( text )