7276: translate some punctuation marks -- partial
This commit is contained in:
parent
1ad6634888
commit
f867caf61e
@ -414,7 +414,8 @@ class ArgHandler(object):
|
||||
print(_("Family Tree \"%s\":") % summary[_("Family Tree")])
|
||||
for item in sorted(summary):
|
||||
if item != "Family Tree":
|
||||
print(" %s: %s" % (item, summary[item]))
|
||||
# translators: needed for French, ignore otherwise
|
||||
print(_(" %s: %s") % (item, summary[item]))
|
||||
sys.exit(0)
|
||||
|
||||
if self.list_table:
|
||||
|
@ -121,10 +121,10 @@ class FamilyGroup(Report):
|
||||
# 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),
|
||||
'value' : attr.get_value()
|
||||
}
|
||||
# translators: needed for French, ignore otherwise
|
||||
descr += self._("%(str1)s: %(str2)s") % {
|
||||
'str1' : self._(attr_type),
|
||||
'str2' : attr.get_value() }
|
||||
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("FGR-TextContents")
|
||||
|
@ -562,10 +562,12 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_row()
|
||||
|
||||
self.doc.start_cell('IDS-NormalCell')
|
||||
self.normal_paragraph("%s:" % self._("Name"))
|
||||
self.normal_paragraph("%s:" % self._("Gender"))
|
||||
self.normal_paragraph("%s:" % self._("Father"))
|
||||
self.normal_paragraph("%s:" % self._("Mother"))
|
||||
# translators: needed for French, ignore otherwise
|
||||
ignore4 = self._("%s:")
|
||||
self.normal_paragraph(self._("%s:") % self._("Name"))
|
||||
self.normal_paragraph(self._("%s:") % self._("Gender"))
|
||||
self.normal_paragraph(self._("%s:") % self._("Father"))
|
||||
self.normal_paragraph(self._("%s:") % self._("Mother"))
|
||||
self.doc.end_cell()
|
||||
|
||||
self.doc.start_cell('IDS-NormalCell')
|
||||
@ -593,7 +595,10 @@ class IndivCompleteReport(Report):
|
||||
crop=media0.get_rectangle())
|
||||
else:
|
||||
self._user.warn(_("Could not add photo to page"),
|
||||
"%s: %s" % (filename, _('File does not exist')))
|
||||
# translators: for French, else ignore
|
||||
_("%(str1)s: %(str2)s") %
|
||||
{'str1' : filename,
|
||||
'str2' : _('File does not exist') } )
|
||||
self.doc.end_cell()
|
||||
|
||||
self.doc.end_row()
|
||||
|
Loading…
Reference in New Issue
Block a user