Better typography in graph reports

Replace hyphen with en-dash.
This commit is contained in:
milotype 2018-09-28 01:12:59 +02:00 committed by Nick Hall
parent 1efab19f1e
commit 56fa261ef2
3 changed files with 6 additions and 6 deletions

View File

@ -878,7 +878,7 @@ class FamilyLinesReport(Report):
label += '%s(' % line_delimiter
if birth_str:
label += '%s' % birth_str
label += ' - '
label += ' '
if death_str:
label += '%s' % death_str
label += ')'

View File

@ -227,11 +227,11 @@ class HourGlassReport(Report):
death = ""
if self.includeid == 0: # no ID
label = "%s \\n(%s - %s)" % (name, birth, death)
label = "%s \\n(%s %s)" % (name, birth, death)
elif self.includeid == 1: # same line
label = "%s (%s)\\n(%s - %s)" % (name, p_id, birth, death)
label = "%s (%s)\\n(%s %s)" % (name, p_id, birth, death)
elif self.includeid == 2: # own line
label = "%s \\n(%s - %s)\\n(%s)" % (name, birth, death, p_id)
label = "%s \\n(%s %s)\\n(%s)" % (name, birth, death, p_id)
label = label.replace('"', '\\\"')

View File

@ -597,7 +597,7 @@ class RelGraphReport(Report):
label += '%s(' % line_delimiter
if b_date:
label += '%s' % b_date
label += ' - '
label += ' '
if d_date:
label += '%s' % d_date
label += ')'
@ -608,7 +608,7 @@ class RelGraphReport(Report):
label += '%s(' % line_delimiter
if b_place:
label += '%s' % b_place
label += ' - '
label += ' '
if d_place:
label += '%s' % d_place
label += ')'