flag some semicolons, for translation in Arabic

This commit is contained in:
Paul Franklin 2014-04-20 16:34:29 -07:00
parent 8f4aebe4c6
commit 8e164e29a2
3 changed files with 8 additions and 4 deletions

View File

@ -446,7 +446,8 @@ class DetAncestorReport(Report):
attr_list.extend(event_ref.get_attribute_list())
for attr in attr_list:
if text:
text += "; "
# translators: needed for Arabic, ignore otherwise
text += self._("; ")
attrName = self._get_type(attr.get_type())
text += self._("%(type)s: %(value)s%(endnotes)s") % {
'type' : self._(attrName),

View File

@ -344,7 +344,8 @@ class DetDescendantReport(Report):
if index == 1:
self.doc.write_text(name + "-" + str(index) + ") ")
else:
self.doc.write_text(name + "-" + str(index) + "; ")
# translators: needed for Arabic, ignore otherwise
self.doc.write_text(name + "-" + str(index) + self._("; "))
index -= 1
def write_person(self, key):
@ -458,7 +459,8 @@ class DetDescendantReport(Report):
attr_list.extend(event_ref.get_attribute_list())
for attr in attr_list:
if text:
text += "; "
# translators: needed for Arabic, ignore otherwise
text += self._("; ")
attrName = self._get_type(attr.get_type())
text += self._("%(type)s: %(value)s%(endnotes)s") % {
'type' : self._(attrName),

View File

@ -123,7 +123,8 @@ class FamilyGroup(Report):
if self.includeAttrs:
for attr in event.get_attribute_list():
if descr:
descr += "; "
# translators: needed for Arabic, ignore otherwise
descr += self._("; ")
attr_type = self._get_type(attr.get_type())
descr += "%(type)s: %(value)s" % {
'type' : self._(attr_type),