Better typography in graph reports
Replace hyphen with en-dash.
This commit is contained in:
parent
1efab19f1e
commit
56fa261ef2
@ -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 += ')'
|
||||
|
@ -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('"', '\\\"')
|
||||
|
||||
|
@ -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 += ')'
|
||||
|
Loading…
Reference in New Issue
Block a user