his name is spelled "d'Aboville" and not "D'Aboville"

This commit is contained in:
Paul Franklin 2016-07-20 22:33:10 -07:00
parent c817554dbf
commit 7fe4b6a079

View File

@ -64,7 +64,14 @@ from gramps.gen.display.name import displayer as _nd
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
class PrintDAboville(): class PrintDAboville():
""" D'Aboville numbering system """ """
d'Aboville numbering system
(according to en.wikipedia.org/Genealogical_numbering_systems
his name is spelled "d'Aboville" and not "D'Aboville" but I will
leave this class name alone, mainly fixing the translated string,
so that it is both accurate and also agrees with the DDR string)
"""
def __init__(self): def __init__(self):
self.num = [0] self.num = [0]
@ -441,7 +448,7 @@ class DescendantReport(Report):
obj = PrintHenry() obj = PrintHenry()
elif numbering == "Modified Henry": elif numbering == "Modified Henry":
obj = PrintHenry(modified=True) obj = PrintHenry(modified=True)
elif numbering == "D'Aboville": elif numbering == "d'Aboville":
obj = PrintDAboville() obj = PrintDAboville()
elif numbering == "de Villiers/Pama": elif numbering == "de Villiers/Pama":
obj = PrintVilliers() obj = PrintVilliers()
@ -509,7 +516,7 @@ class DescendantOptions(MenuReportOptions):
numbering = EnumeratedListOption(_("Numbering system"), "Simple") numbering = EnumeratedListOption(_("Numbering system"), "Simple")
numbering.set_items([ numbering.set_items([
("Simple", _("Simple numbering")), ("Simple", _("Simple numbering")),
("D'Aboville", _("D'Aboville numbering")), ("d'Aboville", _("d'Aboville numbering")),
("Henry", _("Henry numbering")), ("Henry", _("Henry numbering")),
("Modified Henry", _("Modified Henry numbering")), ("Modified Henry", _("Modified Henry numbering")),
("de Villiers/Pama", _("de Villiers/Pama numbering")), ("de Villiers/Pama", _("de Villiers/Pama numbering")),