9041: Father/mother's age attributes are not translated on DA and DD reports

Update translation template
This commit is contained in:
romjerome 2015-12-05 12:02:44 +01:00
parent a57257415c
commit 0937286eba
3 changed files with 651 additions and 645 deletions

View File

@ -407,7 +407,8 @@ class DetAncestorReport(Report):
for attr in attrs: for attr in attrs:
self.doc.start_paragraph('DAR-MoreDetails') self.doc.start_paragraph('DAR-MoreDetails')
attrName = self._get_type(attr.get_type()) attrName = attr.get_type().type2base()
# translators: needed for French, ignore otherwise
text = self._("%(type)s: %(value)s%(endnotes)s") % { text = self._("%(type)s: %(value)s%(endnotes)s") % {
'type' : self._(attrName), 'type' : self._(attrName),
'value' : attr.get_value(), 'value' : attr.get_value(),
@ -462,7 +463,8 @@ class DetAncestorReport(Report):
if text: if text:
# translators: needed for Arabic, ignore otherwise # translators: needed for Arabic, ignore otherwise
text += self._("; ") text += self._("; ")
attrName = self._get_type(attr.get_type()) attrName = attr.get_type().type2base()
# translators: needed for French, ignore otherwise
text += self._("%(type)s: %(value)s%(endnotes)s") % { text += self._("%(type)s: %(value)s%(endnotes)s") % {
'type' : self._(attrName), 'type' : self._(attrName),
'value' : attr.get_value(), 'value' : attr.get_value(),

View File

@ -467,7 +467,8 @@ class DetDescendantReport(Report):
if text: if text:
# translators: needed for Arabic, ignore otherwise # translators: needed for Arabic, ignore otherwise
text += self._("; ") text += self._("; ")
attrName = self._get_type(attr.get_type()) attrName = attr.get_type().type2base()
# translators: needed for French, ignore otherwise
text += self._("%(type)s: %(value)s%(endnotes)s") % { text += self._("%(type)s: %(value)s%(endnotes)s") % {
'type' : self._(attrName), 'type' : self._(attrName),
'value' : attr.get_value(), 'value' : attr.get_value(),
@ -863,7 +864,8 @@ class DetDescendantReport(Report):
for attr in attrs: for attr in attrs:
self.doc.start_paragraph('DDR-MoreDetails') self.doc.start_paragraph('DDR-MoreDetails')
attrName = self._get_type(attr.get_type()) attrName = attr.get_type().type2base()
# translators: needed for French, ignore otherwise
text = self._("%(type)s: %(value)s%(endnotes)s") % { text = self._("%(type)s: %(value)s%(endnotes)s") % {
'type' : self._(attrName), 'type' : self._(attrName),
'value' : attr.get_value(), 'value' : attr.get_value(),

File diff suppressed because it is too large Load Diff