flag some semicolons, for translation in Arabic
This commit is contained in:
parent
8f4aebe4c6
commit
8e164e29a2
@ -446,7 +446,8 @@ class DetAncestorReport(Report):
|
|||||||
attr_list.extend(event_ref.get_attribute_list())
|
attr_list.extend(event_ref.get_attribute_list())
|
||||||
for attr in attr_list:
|
for attr in attr_list:
|
||||||
if text:
|
if text:
|
||||||
text += "; "
|
# translators: needed for Arabic, ignore otherwise
|
||||||
|
text += self._("; ")
|
||||||
attrName = self._get_type(attr.get_type())
|
attrName = self._get_type(attr.get_type())
|
||||||
text += self._("%(type)s: %(value)s%(endnotes)s") % {
|
text += self._("%(type)s: %(value)s%(endnotes)s") % {
|
||||||
'type' : self._(attrName),
|
'type' : self._(attrName),
|
||||||
|
@ -344,7 +344,8 @@ class DetDescendantReport(Report):
|
|||||||
if index == 1:
|
if index == 1:
|
||||||
self.doc.write_text(name + "-" + str(index) + ") ")
|
self.doc.write_text(name + "-" + str(index) + ") ")
|
||||||
else:
|
else:
|
||||||
self.doc.write_text(name + "-" + str(index) + "; ")
|
# translators: needed for Arabic, ignore otherwise
|
||||||
|
self.doc.write_text(name + "-" + str(index) + self._("; "))
|
||||||
index -= 1
|
index -= 1
|
||||||
|
|
||||||
def write_person(self, key):
|
def write_person(self, key):
|
||||||
@ -458,7 +459,8 @@ class DetDescendantReport(Report):
|
|||||||
attr_list.extend(event_ref.get_attribute_list())
|
attr_list.extend(event_ref.get_attribute_list())
|
||||||
for attr in attr_list:
|
for attr in attr_list:
|
||||||
if text:
|
if text:
|
||||||
text += "; "
|
# translators: needed for Arabic, ignore otherwise
|
||||||
|
text += self._("; ")
|
||||||
attrName = self._get_type(attr.get_type())
|
attrName = self._get_type(attr.get_type())
|
||||||
text += self._("%(type)s: %(value)s%(endnotes)s") % {
|
text += self._("%(type)s: %(value)s%(endnotes)s") % {
|
||||||
'type' : self._(attrName),
|
'type' : self._(attrName),
|
||||||
|
@ -123,7 +123,8 @@ class FamilyGroup(Report):
|
|||||||
if self.includeAttrs:
|
if self.includeAttrs:
|
||||||
for attr in event.get_attribute_list():
|
for attr in event.get_attribute_list():
|
||||||
if descr:
|
if descr:
|
||||||
descr += "; "
|
# translators: needed for Arabic, ignore otherwise
|
||||||
|
descr += self._("; ")
|
||||||
attr_type = self._get_type(attr.get_type())
|
attr_type = self._get_type(attr.get_type())
|
||||||
descr += "%(type)s: %(value)s" % {
|
descr += "%(type)s: %(value)s" % {
|
||||||
'type' : self._(attr_type),
|
'type' : self._(attr_type),
|
||||||
|
Loading…
Reference in New Issue
Block a user