5389: GVFamilyLine.py has some incorrect help hints
svn: r18496
This commit is contained in:
parent
8485b57ba3
commit
421ab45a3d
@ -6,6 +6,7 @@
|
||||
# Copyright (C) 2009-2010 Gary Burton
|
||||
# Contribution 2009 by Bob Ham <rah@bash.sh>
|
||||
# Copyright (C) 2010 Jakim Friant
|
||||
# Copyright (C) 2011 Paul Franklin
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -156,54 +157,56 @@ class FamilyLinesOptions(MenuReportOptions):
|
||||
add_option('colorfemales', color_females)
|
||||
|
||||
color_unknown = ColorOption(_('Unknown'), '#e0e0e0')
|
||||
color_unknown.set_help(
|
||||
_('The colour to use when the gender is unknown.'))
|
||||
color_unknown.set_help(_('The colour to use '
|
||||
'when the gender is unknown.'))
|
||||
add_option('colorunknown', color_unknown)
|
||||
|
||||
color_family = ColorOption(_('Families'), '#ffffe0')
|
||||
color_family.set_help(_('The colour to use to display families.'))
|
||||
add_option('colorfamilies', color_family)
|
||||
|
||||
self.limit_parents = BooleanOption(_('Limit the number of parents'),
|
||||
self.limit_parents = BooleanOption(_('Limit the number of ancestors'),
|
||||
False)
|
||||
self.limit_parents.set_help(
|
||||
_('The maximum number of ancestors to include.'))
|
||||
self.limit_parents.set_help(_('Whether to '
|
||||
'limit the number of ancestors.'))
|
||||
add_option('limitparents', self.limit_parents)
|
||||
self.limit_parents.connect('value-changed', self.limit_changed)
|
||||
|
||||
self.max_parents = NumberOption('', 50, 10, 9999)
|
||||
self.max_parents.set_help(
|
||||
_('The maximum number of ancestors to include.'))
|
||||
self.max_parents.set_help(_('The maximum number '
|
||||
'of ancestors to include.'))
|
||||
add_option('maxparents', self.max_parents)
|
||||
|
||||
self.limit_children = BooleanOption(_('Limit the number of children'),
|
||||
self.limit_children = BooleanOption(_('Limit the number '
|
||||
'of descendants'),
|
||||
False)
|
||||
self.limit_children.set_help(
|
||||
_('The maximum number of children to include.'))
|
||||
self.limit_children.set_help(_('Whether to '
|
||||
'limit the number of descendants.'))
|
||||
add_option('limitchildren', self.limit_children)
|
||||
self.limit_children.connect('value-changed', self.limit_changed)
|
||||
|
||||
self.max_children = NumberOption('', 50, 10, 9999)
|
||||
self.max_children.set_help(
|
||||
_('The maximum number of children to include.'))
|
||||
self.max_children.set_help(_('The maximum number '
|
||||
'of descendants to include.'))
|
||||
add_option('maxchildren', self.max_children)
|
||||
|
||||
# --------------------
|
||||
add_option = partial(menu.add_option, _('Images'))
|
||||
# --------------------
|
||||
|
||||
self.include_images = BooleanOption(
|
||||
_('Include thumbnail images of people'), True)
|
||||
self.include_images.set_help(
|
||||
_('The maximum number of children to include.'))
|
||||
self.include_images = BooleanOption(_('Include '
|
||||
'thumbnail images of people'),
|
||||
True)
|
||||
self.include_images.set_help(_('Whether to '
|
||||
'include thumbnail images of people.'))
|
||||
add_option('incimages', self.include_images)
|
||||
self.include_images.connect('value-changed', self.images_changed)
|
||||
|
||||
self.image_location = EnumeratedListOption(_('Thumbnail location'), 0)
|
||||
self.image_location.add_item(0, _('Above the name'))
|
||||
self.image_location.add_item(1, _('Beside the name'))
|
||||
self.image_location.set_help(
|
||||
_('Where the thumbnail image should appear relative to the name'))
|
||||
self.image_location.set_help(_('Where the thumbnail image '
|
||||
'should appear relative to the name'))
|
||||
add_option('imageonside', self.image_location)
|
||||
|
||||
# ---------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user