removed '+' from
_("text" + "more text") lines to help with translations. svn: r16391
This commit is contained in:
parent
5fad02da57
commit
459bc9e87b
@ -787,7 +787,7 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
menu.add_option(category_name, "pid", pid)
|
menu.add_option(category_name, "pid", pid)
|
||||||
|
|
||||||
self.max_gen = NumberOption(_("Generations"), 10, 1, 50)
|
self.max_gen = NumberOption(_("Generations"), 10, 1, 50)
|
||||||
self.max_gen.set_help(_("The number of generations to include " +
|
self.max_gen.set_help(_("The number of generations to include "
|
||||||
"in the tree"))
|
"in the tree"))
|
||||||
menu.add_option(category_name, "maxgen", self.max_gen)
|
menu.add_option(category_name, "maxgen", self.max_gen)
|
||||||
|
|
||||||
@ -803,11 +803,11 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
menu.add_option(category_name, "compress", compress)
|
menu.add_option(category_name, "compress", compress)
|
||||||
|
|
||||||
#better to 'Show siblings of\nthe center person
|
#better to 'Show siblings of\nthe center person
|
||||||
#Spouse_disp = EnumeratedListOption(_("Show spouses of\nthe center " +
|
#Spouse_disp = EnumeratedListOption(_("Show spouses of\nthe center "
|
||||||
# "person"), 0)
|
# "person"), 0)
|
||||||
#Spouse_disp.add_item( 0, _("No. Do not show Spouses"))
|
#Spouse_disp.add_item( 0, _("No. Do not show Spouses"))
|
||||||
#Spouse_disp.add_item( 1, _("Yes, and use the the Main Display Format"))
|
#Spouse_disp.add_item( 1, _("Yes, and use the the Main Display Format"))
|
||||||
#Spouse_disp.add_item( 2, _("Yes, and use the the Secondary " +
|
#Spouse_disp.add_item( 2, _("Yes, and use the the Secondary "
|
||||||
# "Display Format"))
|
# "Display Format"))
|
||||||
#Spouse_disp.set_help(_("Show spouses of the center person?"))
|
#Spouse_disp.set_help(_("Show spouses of the center person?"))
|
||||||
#menu.add_option(category_name, "Spouse_disp", Spouse_disp)
|
#menu.add_option(category_name, "Spouse_disp", Spouse_disp)
|
||||||
@ -819,14 +819,14 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
disp.set_help(_("Display format for the outputbox."))
|
disp.set_help(_("Display format for the outputbox."))
|
||||||
menu.add_option(category_name, "dispf", disp)
|
menu.add_option(category_name, "dispf", disp)
|
||||||
|
|
||||||
difMom = EnumeratedListOption(_("Use Main/Secondary\nDisplay " +
|
difMom = EnumeratedListOption(_("Use Main/Secondary\nDisplay "
|
||||||
"Format for"), 0)
|
"Format for"), 0)
|
||||||
difMom.add_item( 0, _("Everyone uses the Main Display format"))
|
difMom.add_item( 0, _("Everyone uses the Main Display format"))
|
||||||
difMom.add_item( 1, _("Mothers use Main, and Fathers use the " +
|
difMom.add_item( 1, _("Mothers use Main, and Fathers use the "
|
||||||
"Secondary"))
|
"Secondary"))
|
||||||
difMom.add_item( 2, _("Fathers use Main, and Mothers use the " +
|
difMom.add_item( 2, _("Fathers use Main, and Mothers use the "
|
||||||
"Secondary"))
|
"Secondary"))
|
||||||
difMom.set_help(_("Which Display format to use for Fathers and " +
|
difMom.set_help(_("Which Display format to use for Fathers and "
|
||||||
"Mothers"))
|
"Mothers"))
|
||||||
menu.add_option(category_name, "dif_sec", difMom)
|
menu.add_option(category_name, "dif_sec", difMom)
|
||||||
|
|
||||||
@ -847,7 +847,7 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
menu.add_option(category_name, "disp_sec", dispMom)
|
menu.add_option(category_name, "disp_sec", dispMom)
|
||||||
|
|
||||||
incmarr = BooleanOption(_('Include Marriage information'), False)
|
incmarr = BooleanOption(_('Include Marriage information'), False)
|
||||||
incmarr.set_help(_("Whether to include marriage information in the " +
|
incmarr.set_help(_("Whether to include marriage information in the "
|
||||||
"report."))
|
"report."))
|
||||||
menu.add_option(category_name, "incmarr", incmarr)
|
menu.add_option(category_name, "incmarr", incmarr)
|
||||||
|
|
||||||
@ -861,13 +861,13 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
self.scale.add_item( 0, _("Do not scale report"))
|
self.scale.add_item( 0, _("Do not scale report"))
|
||||||
self.scale.add_item( 1, _("Scale report to fit page width only"))
|
self.scale.add_item( 1, _("Scale report to fit page width only"))
|
||||||
self.scale.add_item( 2, _("Scale report to fit the size of the page"))
|
self.scale.add_item( 2, _("Scale report to fit the size of the page"))
|
||||||
self.scale.set_help(_("Wheather to scale the report to fit a " +
|
self.scale.set_help(_("Wheather to scale the report to fit a "
|
||||||
"specific size"))
|
"specific size"))
|
||||||
menu.add_option(category_name, "scale_report", self.scale)
|
menu.add_option(category_name, "scale_report", self.scale)
|
||||||
self.scale.connect('value-changed', self.__check_blank)
|
self.scale.connect('value-changed', self.__check_blank)
|
||||||
|
|
||||||
self.__onepage = BooleanOption(_('One page report'), True)
|
self.__onepage = BooleanOption(_('One page report'), True)
|
||||||
self.__onepage.set_help(_("Whether to scale the size of the page to " +
|
self.__onepage.set_help(_("Whether to scale the size of the page to "
|
||||||
"the size of the report."))
|
"the size of the report."))
|
||||||
menu.add_option(category_name, "onepage", self.__onepage)
|
menu.add_option(category_name, "onepage", self.__onepage)
|
||||||
self.__onepage.connect('value-changed', self.__check_blank)
|
self.__onepage.connect('value-changed', self.__check_blank)
|
||||||
@ -894,11 +894,11 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
category_name = _("Notes")
|
category_name = _("Notes")
|
||||||
|
|
||||||
self.usenote = BooleanOption(_('Include a personal note'), False)
|
self.usenote = BooleanOption(_('Include a personal note'), False)
|
||||||
self.usenote.set_help(_("Whether to include a personalized note on " +
|
self.usenote.set_help(_("Whether to include a personalized note on "
|
||||||
"the report."))
|
"the report."))
|
||||||
menu.add_option(category_name, "use_note", self.usenote)
|
menu.add_option(category_name, "use_note", self.usenote)
|
||||||
|
|
||||||
self.notedisp = TextOption(_("Note to add\nto the graph\n\n$T " +
|
self.notedisp = TextOption(_("Note to add\nto the graph\n\n$T "
|
||||||
"inserts today's date"), [])
|
"inserts today's date"), [])
|
||||||
self.notedisp.set_help(_("Add a personal note"))
|
self.notedisp.set_help(_("Add a personal note"))
|
||||||
menu.add_option(category_name, "note_disp", self.notedisp)
|
menu.add_option(category_name, "note_disp", self.notedisp)
|
||||||
@ -918,13 +918,13 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
max_gen = self.max_gen.get_value()
|
max_gen = self.max_gen.get_value()
|
||||||
old_val = self.fillout.get_value()
|
old_val = self.fillout.get_value()
|
||||||
item_list = []
|
item_list = []
|
||||||
item_list.append([0, _("No generations of empty boxes " +
|
item_list.append([0, _("No generations of empty boxes "
|
||||||
"for unknown ancestors") ])
|
"for unknown ancestors") ])
|
||||||
if max_gen > 1:
|
if max_gen > 1:
|
||||||
item_list.append([1, _("One Generation of empty boxes " +
|
item_list.append([1, _("One Generation of empty boxes "
|
||||||
"for unknown ancestors") ])
|
"for unknown ancestors") ])
|
||||||
for itr in range(2, max_gen):
|
for itr in range(2, max_gen):
|
||||||
item_list.append([itr, str(itr) + _(" Generations of empty boxes " +
|
item_list.append([itr, str(itr) + _(" Generations of empty boxes "
|
||||||
"for unknown ancestors") ])
|
"for unknown ancestors") ])
|
||||||
|
|
||||||
self.fillout.set_items(item_list)
|
self.fillout.set_items(item_list)
|
||||||
@ -944,7 +944,7 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
font.set_type_face(FONT_SANS_SERIF)
|
font.set_type_face(FONT_SANS_SERIF)
|
||||||
para_style = ParagraphStyle()
|
para_style = ParagraphStyle()
|
||||||
para_style.set_font(font)
|
para_style.set_font(font)
|
||||||
para_style.set_description(_('The basic style used for the ' +
|
para_style.set_description(_('The basic style used for the '
|
||||||
'text display.'))
|
'text display.'))
|
||||||
default_style.add_paragraph_style("AC2-Normal", para_style)
|
default_style.add_paragraph_style("AC2-Normal", para_style)
|
||||||
box_shadow = PT2CM(font.get_size()) * .6
|
box_shadow = PT2CM(font.get_size()) * .6
|
||||||
@ -955,7 +955,7 @@ class AncestorTree2Options(MenuReportOptions):
|
|||||||
para_style = ParagraphStyle()
|
para_style = ParagraphStyle()
|
||||||
para_style.set_font(font)
|
para_style.set_font(font)
|
||||||
para_style.set_alignment(PARA_ALIGN_CENTER)
|
para_style.set_alignment(PARA_ALIGN_CENTER)
|
||||||
para_style.set_description(_('The basic style used for the ' +
|
para_style.set_description(_('The basic style used for the '
|
||||||
'title display.'))
|
'title display.'))
|
||||||
default_style.add_paragraph_style("AC2-Title", para_style)
|
default_style.add_paragraph_style("AC2-Title", para_style)
|
||||||
|
|
||||||
|
@ -158,20 +158,20 @@ class DescendantTitleBase(TitleBox):
|
|||||||
else:
|
else:
|
||||||
if len(person_list + person_list2) == 3:
|
if len(person_list + person_list2) == 3:
|
||||||
if len(person_list) == 1:
|
if len(person_list) == 1:
|
||||||
title = _("Descendant Chart for %(person)s and " + \
|
title = _("Descendant Chart for %(person)s and "
|
||||||
"%(father1)s, %(mother1)s") % \
|
"%(father1)s, %(mother1)s") % \
|
||||||
{'person': names[0], \
|
{'person': names[0], \
|
||||||
'father1': names2[0], \
|
'father1': names2[0], \
|
||||||
'mother1': names2[1],
|
'mother1': names2[1],
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
title = _("Descendant Chart for %(person)s, %(father1)s " + \
|
title = _("Descendant Chart for %(person)s, %(father1)s "
|
||||||
"and %(mother1)s") % \
|
"and %(mother1)s") % \
|
||||||
{'father1': names[0], \
|
{'father1': names[0], \
|
||||||
'mother1': names[1], \
|
'mother1': names[1], \
|
||||||
'person': names2[0] }
|
'person': names2[0] }
|
||||||
else: #if len(person_list + person_list2) == 4:
|
else: #if len(person_list + person_list2) == 4:
|
||||||
title = _("Descendant Chart for %(father1)s, %(father2)s " + \
|
title = _("Descendant Chart for %(father1)s, %(father2)s "
|
||||||
"and %(mother1)s, %(mother2)s") % \
|
"and %(mother1)s, %(mother2)s") % \
|
||||||
{'father1': names[0], \
|
{'father1': names[0], \
|
||||||
'mother1': names[1], \
|
'mother1': names[1], \
|
||||||
@ -1489,7 +1489,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
self.showparents = BooleanOption(
|
self.showparents = BooleanOption(
|
||||||
_('Start with the parent(s) of the selected first'), True)
|
_('Start with the parent(s) of the selected first'), True)
|
||||||
self.showparents.set_help(
|
self.showparents.set_help(
|
||||||
_("Will show the parents, brother and sisters of the " +
|
_("Will show the parents, brother and sisters of the "
|
||||||
"selected person."))
|
"selected person."))
|
||||||
menu.add_option(category_name, "show_gparents", self.showparents)
|
menu.add_option(category_name, "show_gparents", self.showparents)
|
||||||
|
|
||||||
@ -1498,7 +1498,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
menu.add_option(category_name, "maxgen", max_gen)
|
menu.add_option(category_name, "maxgen", max_gen)
|
||||||
|
|
||||||
max_spouse = NumberOption(_("Level of Spouses"), 1, 0, 10)
|
max_spouse = NumberOption(_("Level of Spouses"), 1, 0, 10)
|
||||||
max_spouse.set_help(_("0=no Spouses, 1=include Spouses, 2=include " +
|
max_spouse.set_help(_("0=no Spouses, 1=include Spouses, 2=include "
|
||||||
"Spouses of the spouse, etc"))
|
"Spouses of the spouse, etc"))
|
||||||
menu.add_option(category_name, "maxspouse", max_spouse)
|
menu.add_option(category_name, "maxspouse", max_spouse)
|
||||||
|
|
||||||
@ -1514,7 +1514,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
menu.add_option(category_name, "dispf", disp)
|
menu.add_option(category_name, "dispf", disp)
|
||||||
|
|
||||||
bold = BooleanOption(_('Bold direct descendants'), True)
|
bold = BooleanOption(_('Bold direct descendants'), True)
|
||||||
bold.set_help(_("Whether to bold those people that are direct " +
|
bold.set_help(_("Whether to bold those people that are direct "
|
||||||
"(not step or half) decendants."))
|
"(not step or half) decendants."))
|
||||||
menu.add_option(category_name, "bolddirect", bold)
|
menu.add_option(category_name, "bolddirect", bold)
|
||||||
|
|
||||||
@ -1528,7 +1528,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
|
|
||||||
category_name = _("Secondary")
|
category_name = _("Secondary")
|
||||||
|
|
||||||
diffspouse = BooleanOption(_('Use seperate display format for ' +
|
diffspouse = BooleanOption(_('Use seperate display format for '
|
||||||
'spouses'), True)
|
'spouses'), True)
|
||||||
diffspouse.set_help(_("Whether spouses can have a different format."))
|
diffspouse.set_help(_("Whether spouses can have a different format."))
|
||||||
menu.add_option(category_name, "diffspouse", diffspouse)
|
menu.add_option(category_name, "diffspouse", diffspouse)
|
||||||
@ -1543,7 +1543,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
menu.add_option(category_name, "sdispf", sdisp)
|
menu.add_option(category_name, "sdispf", sdisp)
|
||||||
|
|
||||||
incmarr = BooleanOption(_('Include Marriage information'), True)
|
incmarr = BooleanOption(_('Include Marriage information'), True)
|
||||||
incmarr.set_help(_("Whether to include marriage information in the " +
|
incmarr.set_help(_("Whether to include marriage information in the "
|
||||||
"report."))
|
"report."))
|
||||||
menu.add_option(category_name, "incmarr", incmarr)
|
menu.add_option(category_name, "incmarr", incmarr)
|
||||||
|
|
||||||
@ -1553,7 +1553,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
|
|
||||||
category_name = _("Replace")
|
category_name = _("Replace")
|
||||||
|
|
||||||
repldisp = TextOption(_("Replace Display Format:\n'Replace this'/'" +
|
repldisp = TextOption(_("Replace Display Format:\n'Replace this'/'"
|
||||||
"with this'"), [])
|
"with this'"), [])
|
||||||
repldisp.set_help(_("ie\nUnited States of America/U.S.A"))
|
repldisp.set_help(_("ie\nUnited States of America/U.S.A"))
|
||||||
menu.add_option(category_name, "replacelist", repldisp)
|
menu.add_option(category_name, "replacelist", repldisp)
|
||||||
@ -1564,13 +1564,13 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
self.scale.add_item( 0, "Do not scale report")
|
self.scale.add_item( 0, "Do not scale report")
|
||||||
self.scale.add_item( 1, "Scale report to fit page width only")
|
self.scale.add_item( 1, "Scale report to fit page width only")
|
||||||
self.scale.add_item( 2, "Scale report to fit the size of the page")
|
self.scale.add_item( 2, "Scale report to fit the size of the page")
|
||||||
self.scale.set_help(_("Wheather to scale the report to fit a " +
|
self.scale.set_help(_("Wheather to scale the report to fit a "
|
||||||
"specific size"))
|
"specific size"))
|
||||||
menu.add_option(category_name, "scale_report", self.scale)
|
menu.add_option(category_name, "scale_report", self.scale)
|
||||||
self.scale.connect('value-changed', self.__check_blank)
|
self.scale.connect('value-changed', self.__check_blank)
|
||||||
|
|
||||||
self.__onepage = BooleanOption(_('One page report'), True)
|
self.__onepage = BooleanOption(_('One page report'), True)
|
||||||
self.__onepage.set_help(_("Whether to scale the size of the page to " +
|
self.__onepage.set_help(_("Whether to scale the size of the page to "
|
||||||
"the size of the report."))
|
"the size of the report."))
|
||||||
menu.add_option(category_name, "onepage", self.__onepage)
|
menu.add_option(category_name, "onepage", self.__onepage)
|
||||||
self.__onepage.connect('value-changed', self.__check_blank)
|
self.__onepage.connect('value-changed', self.__check_blank)
|
||||||
@ -1596,11 +1596,11 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
category_name = _("Notes")
|
category_name = _("Notes")
|
||||||
|
|
||||||
self.usenote = BooleanOption(_('Include a personal note'), False)
|
self.usenote = BooleanOption(_('Include a personal note'), False)
|
||||||
self.usenote.set_help(_("Whether to include a personalized note on " +
|
self.usenote.set_help(_("Whether to include a personalized note on "
|
||||||
"the report."))
|
"the report."))
|
||||||
menu.add_option(category_name, "use_note", self.usenote)
|
menu.add_option(category_name, "use_note", self.usenote)
|
||||||
|
|
||||||
self.notedisp = TextOption(_("Note to add\nto the graph\n\n$T " +
|
self.notedisp = TextOption(_("Note to add\nto the graph\n\n$T "
|
||||||
"inserts today's date"), [])
|
"inserts today's date"), [])
|
||||||
self.notedisp.set_help(_("Add a personal note"))
|
self.notedisp.set_help(_("Add a personal note"))
|
||||||
menu.add_option(category_name, "note_disp", self.notedisp)
|
menu.add_option(category_name, "note_disp", self.notedisp)
|
||||||
@ -1640,7 +1640,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
para_style = ParagraphStyle()
|
para_style = ParagraphStyle()
|
||||||
para_style.set_font(font)
|
para_style.set_font(font)
|
||||||
para_style.set_alignment(PARA_ALIGN_CENTER)
|
para_style.set_alignment(PARA_ALIGN_CENTER)
|
||||||
para_style.set_description(_('The basic style used for the ' +
|
para_style.set_description(_('The basic style used for the '
|
||||||
'title display.'))
|
'title display.'))
|
||||||
default_style.add_paragraph_style("CG2-Title", para_style)
|
default_style.add_paragraph_style("CG2-Title", para_style)
|
||||||
|
|
||||||
@ -1649,7 +1649,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
font.set_type_face(FONT_SANS_SERIF)
|
font.set_type_face(FONT_SANS_SERIF)
|
||||||
para_style = ParagraphStyle()
|
para_style = ParagraphStyle()
|
||||||
para_style.set_font(font)
|
para_style.set_font(font)
|
||||||
para_style.set_description(_('The basic style used for the ' +
|
para_style.set_description(_('The basic style used for the '
|
||||||
'text display.'))
|
'text display.'))
|
||||||
default_style.add_paragraph_style("CG2-Normal", para_style)
|
default_style.add_paragraph_style("CG2-Normal", para_style)
|
||||||
|
|
||||||
@ -1660,7 +1660,7 @@ class Descend2TreeOptions(MenuReportOptions):
|
|||||||
font.set_bold(True)
|
font.set_bold(True)
|
||||||
para_style = ParagraphStyle()
|
para_style = ParagraphStyle()
|
||||||
para_style.set_font(font)
|
para_style.set_font(font)
|
||||||
para_style.set_description(_('The bold style used for the ' +
|
para_style.set_description(_('The bold style used for the '
|
||||||
'text display.'))
|
'text display.'))
|
||||||
default_style.add_paragraph_style("CG2-Bold", para_style)
|
default_style.add_paragraph_style("CG2-Bold", para_style)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user