7276: translate some currently-untranslated punctuation marks

slightly alter the comment near the translated punctuation
This commit is contained in:
Paul Franklin 2015-12-05 19:50:43 -08:00
parent 5c958bd7fb
commit aaca511c75
3 changed files with 5 additions and 5 deletions

View File

@ -433,7 +433,7 @@ class ArgHandler(object):
line_list = [(_('"%s"') % summary[_("Family Tree")])] line_list = [(_('"%s"') % summary[_("Family Tree")])]
for item in sorted(summary): for item in sorted(summary):
if item != _("Family Tree"): if item != _("Family Tree"):
# translators: ignore unless your quotation marks differ # translators: used in French+Russian, ignore otherwise
line_list += [(_('"%s"') % summary[item])] line_list += [(_('"%s"') % summary[item])]
print("\t".join(line_list)) print("\t".join(line_list))
sys.exit(0) sys.exit(0)

View File

@ -195,7 +195,7 @@ def _format_source_text(source, elocale):
if src_txt: if src_txt:
# translators: needed for Arabic, ignore otherwise # translators: needed for Arabic, ignore otherwise
src_txt += trans_text(', ') src_txt += trans_text(', ')
# translators: ignore unless your quotation marks differ # translators: used in French+Russian, ignore otherwise
src_txt += trans_text('"%s"') % source.get_title() src_txt += trans_text('"%s"') % source.get_title()
if source.get_publication_info(): if source.get_publication_info():

View File

@ -265,17 +265,17 @@ class Verify(tool.Tool, ManagedWindow, UpdateCallback):
# print data for the user, no GUI # print data for the user, no GUI
(msg,gramps_id, name, the_type, rule_id, severity, handle) = results (msg,gramps_id, name, the_type, rule_id, severity, handle) = results
if severity == Rule.WARNING: if severity == Rule.WARNING:
# translators: needed for Arabic, ignore otherwise # translators: needed for French+Arabic, ignore otherwise
print(_("%(severity)s: %(msg)s, %(type)s: %(gid)s, %(name)s") % print(_("%(severity)s: %(msg)s, %(type)s: %(gid)s, %(name)s") %
{'severity':'W', 'msg':msg, 'type':the_type, {'severity':'W', 'msg':msg, 'type':the_type,
'gid':gramps_id, 'name':name}) 'gid':gramps_id, 'name':name})
elif severity == Rule.ERROR: elif severity == Rule.ERROR:
# translators: needed for Arabic, ignore otherwise # translators: needed for French+Arabic, ignore otherwise
print(_("%(severity)s: %(msg)s, %(type)s: %(gid)s, %(name)s") % print(_("%(severity)s: %(msg)s, %(type)s: %(gid)s, %(name)s") %
{'severity':'E', 'msg':msg, 'type':the_type, {'severity':'E', 'msg':msg, 'type':the_type,
'gid':gramps_id, 'name':name}) 'gid':gramps_id, 'name':name})
else: else:
# translators: needed for Arabic, ignore otherwise # translators: needed for French+Arabic, ignore otherwise
print(_("%(severity)s: %(msg)s, %(type)s: %(gid)s, %(name)s") % print(_("%(severity)s: %(msg)s, %(type)s: %(gid)s, %(name)s") %
{'severity':'S', 'msg':msg, 'type':the_type, {'severity':'S', 'msg':msg, 'type':the_type,
'gid':gramps_id, 'name':name}) 'gid':gramps_id, 'name':name})