fixed small type-o's and does not print ', ' before marriage infomration if no birth and death information

svn: r14765
This commit is contained in:
Craig J. Anderson 2010-03-11 21:22:34 +00:00
parent 6801063087
commit d9c5d83c33

View File

@ -68,7 +68,7 @@ class PrintSimple():
# de_Villiers_Pama numbering system
#
#------------------------------------------------------------------------
class PrintVlliers():
class PrintVilliers():
def __init__(self):
self.pama = 'abcdefghijklmnopqrstuvwxyz'
self.num = {0:1}
@ -165,9 +165,7 @@ class Printinfo():
tmp = self.__date_place(ReportUtils.find_marriage(self.database,
family))
if tmp:
if string:
string += ", "
string += tmp
string += ", " + tmp
self.doc.write_text(string)
@ -273,7 +271,7 @@ class DescendantReport(Report):
if numbering == "Simple":
obj = PrintSimple()
elif numbering == "de Villiers/Pama":
obj = PrintVlliers()
obj = PrintVilliers()
elif numbering == "Meurgey de Tupigny":
obj = PrintMeurgey()
else:
@ -327,8 +325,8 @@ class DescendantOptions(MenuReportOptions):
gen.set_help(_("The number of generations to include in the report"))
menu.add_option(category_name, "gen", gen)
marrs = BooleanOption(_('Show Marriage info'), False)
marrs.set_help(_("Whether to show marriage informaiton in the report."))
marrs = BooleanOption(_('Show marriage info'), False)
marrs.set_help(_("Whether to show marriage information in the report."))
menu.add_option(category_name, "marrs", marrs)
def make_default_style(self, default_style):