diff --git a/gramps/cli/arghandler.py b/gramps/cli/arghandler.py index 66ed3e470..6e3248c6c 100644 --- a/gramps/cli/arghandler.py +++ b/gramps/cli/arghandler.py @@ -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: diff --git a/gramps/plugins/textreport/familygroup.py b/gramps/plugins/textreport/familygroup.py index 6447a78b3..e2ea3e74d 100644 --- a/gramps/plugins/textreport/familygroup.py +++ b/gramps/plugins/textreport/familygroup.py @@ -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") diff --git a/gramps/plugins/textreport/indivcomplete.py b/gramps/plugins/textreport/indivcomplete.py index ce9d58476..3443d69cf 100644 --- a/gramps/plugins/textreport/indivcomplete.py +++ b/gramps/plugins/textreport/indivcomplete.py @@ -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()