flag some semicolons, for translation in Arabic
This commit is contained in:
@@ -454,7 +454,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),
|
||||||
|
|||||||
@@ -353,7 +353,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):
|
||||||
@@ -468,6 +469,8 @@ class DetDescendantReport(Report):
|
|||||||
for attr in attr_list:
|
for attr in attr_list:
|
||||||
if text:
|
if text:
|
||||||
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),
|
||||||
|
|||||||
@@ -119,7 +119,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._("; ")
|
||||||
descr += _("%(type)s: %(value)s") % {
|
descr += _("%(type)s: %(value)s") % {
|
||||||
'type' : attr.get_type(),
|
'type' : attr.get_type(),
|
||||||
'value' : attr.get_value()
|
'value' : attr.get_value()
|
||||||
|
|||||||
Reference in New Issue
Block a user