Merge branch 'master' of github.com:gramps-project/gramps
This commit is contained in:
commit
6d050fbf7c
@ -266,7 +266,6 @@ LONGOPTS = [
|
||||
"class=",
|
||||
"config=",
|
||||
"debug=",
|
||||
"databases",
|
||||
"display=",
|
||||
"disable-sound",
|
||||
"disable-crash-dialog",
|
||||
@ -301,12 +300,11 @@ LONGOPTS = [
|
||||
"remove=",
|
||||
"usage",
|
||||
"version",
|
||||
"qml",
|
||||
"yes",
|
||||
"quiet",
|
||||
]
|
||||
|
||||
SHORTOPTS = "O:C:i:e:f:a:p:d:c:r:blLthuv?syq"
|
||||
SHORTOPTS = "O:C:i:e:f:a:p:d:c:r:lLthuv?syq"
|
||||
|
||||
GRAMPS_UUID = uuid.UUID('516cd010-5a41-470f-99f8-eb22f1098ad6')
|
||||
|
||||
|
@ -108,13 +108,13 @@ class GraphicsStyle:
|
||||
|
||||
def set_description(self, text):
|
||||
"""
|
||||
Set the desciption of the graphics object
|
||||
Set the description of the graphics object
|
||||
"""
|
||||
self.description = text
|
||||
|
||||
def get_description(self):
|
||||
"""
|
||||
Return the desciption of the graphics object
|
||||
Return the description of the graphics object
|
||||
"""
|
||||
return self.description
|
||||
|
||||
|
@ -108,13 +108,13 @@ class ParagraphStyle:
|
||||
|
||||
def set_description(self, text):
|
||||
"""
|
||||
Set the desciption of the paragraph
|
||||
Set the description of the paragraph
|
||||
"""
|
||||
self.description = text
|
||||
|
||||
def get_description(self):
|
||||
"""
|
||||
Return the desciption of the paragraph
|
||||
Return the description of the paragraph
|
||||
"""
|
||||
return self.description
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
# Copyright (C) 2009 Benny Malengier
|
||||
# Copyright (C) 2009 Gary Burton
|
||||
# Copyright (C) 2014 Nick Hall
|
||||
# Copyright (C) 2017 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
|
||||
@ -185,7 +186,8 @@ class StyleSheetList:
|
||||
# Write out style definition
|
||||
xml_file.write(
|
||||
' <style name="%s">\n' % escxml(p_name) +
|
||||
' <font face="%d" ' % font.get_type_face() +
|
||||
' <font ' +
|
||||
'face="%d" ' % font.get_type_face() +
|
||||
'size="%d" ' % font.get_size() +
|
||||
'italic="%d" ' % font.get_italic() +
|
||||
'bold="%d" ' % font.get_bold() +
|
||||
@ -218,13 +220,15 @@ class StyleSheetList:
|
||||
# Write out style definition
|
||||
xml_file.write(
|
||||
' <style name="%s">\n' % escxml(t_name) +
|
||||
' <table width="%d" ' % t_style.get_width() +
|
||||
' <table ' +
|
||||
'description="%s" ' % escxml(t_style.get_description()) +
|
||||
'width="%d" ' % t_style.get_width() +
|
||||
'columns="%d"' % t_style.get_columns() +
|
||||
'>\n')
|
||||
|
||||
for col in range(t_style.get_columns()):
|
||||
column_width = t_style.get_column_width(col)
|
||||
xml_file.write('<column width="%d" />\n' % column_width)
|
||||
xml_file.write(' <column width="%d" />\n' % column_width)
|
||||
|
||||
xml_file.write(' </table>\n')
|
||||
xml_file.write(' </style>\n')
|
||||
@ -236,7 +240,9 @@ class StyleSheetList:
|
||||
# Write out style definition
|
||||
xml_file.write(
|
||||
' <style name="%s">\n' % escxml(c_name) +
|
||||
' <cell lborder="%d" ' % cell.get_left_border() +
|
||||
' <cell ' +
|
||||
'description="%s" ' % escxml(cell.get_description()) +
|
||||
'lborder="%d" ' % cell.get_left_border() +
|
||||
'rborder="%d" ' % cell.get_right_border() +
|
||||
'tborder="%d" ' % cell.get_top_border() +
|
||||
'bborder="%d" ' % cell.get_bottom_border() +
|
||||
@ -252,8 +258,9 @@ class StyleSheetList:
|
||||
# Write out style definition
|
||||
xml_file.write(
|
||||
' <style name="%s">\n' % escxml(g_name) +
|
||||
' <draw para="%s" ' % draw.get_paragraph_style() +
|
||||
' <draw ' +
|
||||
'description="%s" ' % escxml(draw.get_description()) +
|
||||
'para="%s" ' % draw.get_paragraph_style() +
|
||||
'width="%.3f" ' % draw.get_line_width() +
|
||||
'style="%d" ' % draw.get_line_style() +
|
||||
'color="#%02x%02x%02x" ' % draw.get_color() +
|
||||
@ -494,6 +501,8 @@ class SheetParser(handler.ContentHandler):
|
||||
self.style_name = attrs['name']
|
||||
elif tag == "table":
|
||||
self.t = TableStyle()
|
||||
if 'description' in attrs:
|
||||
self.t.set_description(attrs['description'])
|
||||
self.t.set_width(int(attrs['width']))
|
||||
self.t.set_columns(int(attrs['columns']))
|
||||
self.column_widths = []
|
||||
@ -501,6 +510,8 @@ class SheetParser(handler.ContentHandler):
|
||||
self.column_widths.append(int(attrs['width']))
|
||||
elif tag == "cell":
|
||||
self.c = TableCellStyle()
|
||||
if 'description' in attrs:
|
||||
self.c.set_description(attrs['description'])
|
||||
self.c.set_left_border(int(attrs['lborder']))
|
||||
self.c.set_right_border(int(attrs['rborder']))
|
||||
self.c.set_top_border(int(attrs['tborder']))
|
||||
|
@ -67,10 +67,24 @@ class TableStyle:
|
||||
self.width = obj.width
|
||||
self.columns = obj.columns
|
||||
self.colwid = obj.colwid[:]
|
||||
self.description = obj.description
|
||||
else:
|
||||
self.width = 0
|
||||
self.columns = 0
|
||||
self.colwid = [ 0 ] * 100
|
||||
self.description = ""
|
||||
|
||||
def set_description(self, text):
|
||||
"""
|
||||
Set the description of the table object
|
||||
"""
|
||||
self.description = text
|
||||
|
||||
def get_description(self):
|
||||
"""
|
||||
Return the description of the table object
|
||||
"""
|
||||
return self.description
|
||||
|
||||
def set_width(self, width):
|
||||
"""
|
||||
@ -151,6 +165,7 @@ class TableCellStyle:
|
||||
self.bborder = obj.bborder
|
||||
self.padding = obj.padding
|
||||
self.longlist = obj.longlist
|
||||
self.description = obj.description
|
||||
else:
|
||||
self.rborder = 0
|
||||
self.lborder = 0
|
||||
@ -158,6 +173,19 @@ class TableCellStyle:
|
||||
self.bborder = 0
|
||||
self.padding = 0
|
||||
self.longlist = 0
|
||||
self.description = ""
|
||||
|
||||
def set_description(self, text):
|
||||
"""
|
||||
Set the description of the table cell object
|
||||
"""
|
||||
self.description = text
|
||||
|
||||
def get_description(self):
|
||||
"""
|
||||
Return the description of the table cell object
|
||||
"""
|
||||
return self.description
|
||||
|
||||
def set_padding(self, val):
|
||||
"Return the cell padding in centimeters"
|
||||
|
@ -102,6 +102,7 @@ _LOCALE_NAMES = {
|
||||
'sq': ('Albanian_Albania', '1250', _("Albanian")),
|
||||
'sr': ('Serbian(Cyrillic)_Serbia and Montenegro', '1251', _("Serbian")),
|
||||
'sv': ('Swedish_Sweden', '1252', _("Swedish")),
|
||||
'ta': (None, None, _("Tamil")), # Windows has no codepage for Tamil
|
||||
'tr': ('Turkish_Turkey', '1254', _("Turkish")),
|
||||
'uk': ('Ukrainian_Ukraine', '1251', _("Ukrainian")),
|
||||
'vi': ('Vietnamese_Vietnam', '1258', _("Vietnamese")),
|
||||
@ -111,7 +112,7 @@ _LOCALE_NAMES = {
|
||||
}
|
||||
|
||||
# locales with less than 70% currently translated
|
||||
INCOMPLETE_TRANSLATIONS = ('ar', 'bg', 'he', 'ja', 'sq', 'tr')
|
||||
INCOMPLETE_TRANSLATIONS = ('ar', 'bg', 'he', 'ja', 'sq', 'ta', 'tr')
|
||||
|
||||
def _check_mswin_locale(locale):
|
||||
msloc = None
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Copyright (C) 2007-2008 Brian G. Matherly
|
||||
# Copyright (C) 2008 Peter Landgren
|
||||
# Copyright (C) 2010 Jakim Friant
|
||||
# Copyright (C) 2012 Paul Franklin
|
||||
# Copyright (C) 2012,2017 Paul Franklin
|
||||
# Copyright (C) 2014 Nick Hall
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
@ -193,8 +193,8 @@ class StyleListDisplay(ManagedWindow):
|
||||
#------------------------------------------------------------------------
|
||||
class StyleEditor(ManagedWindow):
|
||||
"""
|
||||
Edits the current style definition. Presents a dialog allowing the values
|
||||
of the paragraphs in the style to be altered.
|
||||
Edits the current style definition.
|
||||
Presents a dialog allowing the values in the style to be altered.
|
||||
"""
|
||||
|
||||
def __init__(self, name, style, parent):
|
||||
@ -338,7 +338,12 @@ class StyleEditor(ManagedWindow):
|
||||
self.pname.set_use_markup(True)
|
||||
|
||||
descr = g.get_description()
|
||||
self.pdescription.set_text(descr or _("No description available"))
|
||||
descr = descr or _("No description available")
|
||||
p_style = g.get_paragraph_style()
|
||||
if p_style:
|
||||
para_note = _("(Embedded style '%s' must be edited separately)")
|
||||
descr += '\n\n' + para_note % p_style
|
||||
self.pdescription.set_text(descr)
|
||||
|
||||
self.top.get_object("line_style").set_active(g.get_line_style())
|
||||
self.top.get_object("line_width").set_value(g.get_line_width())
|
||||
@ -359,7 +364,9 @@ class StyleEditor(ManagedWindow):
|
||||
self.pname.set_text( '<span size="larger" weight="bold">%s</span>' %
|
||||
self.current_name)
|
||||
self.pname.set_use_markup(True)
|
||||
self.pdescription.set_text(_("No description available") )
|
||||
|
||||
descr = c.get_description()
|
||||
self.pdescription.set_text(descr or _("No description available"))
|
||||
|
||||
self.top.get_object("cell_lborder").set_active(c.get_left_border())
|
||||
self.top.get_object("cell_rborder").set_active(c.get_right_border())
|
||||
@ -375,7 +382,9 @@ class StyleEditor(ManagedWindow):
|
||||
self.pname.set_text( '<span size="larger" weight="bold">%s</span>' %
|
||||
self.current_name)
|
||||
self.pname.set_use_markup(True)
|
||||
self.pdescription.set_text(_("No description available") )
|
||||
|
||||
descr = t.get_description()
|
||||
self.pdescription.set_text(descr or _("No description available"))
|
||||
|
||||
self.top.get_object("table_width").set_value(t.get_width())
|
||||
|
||||
|
@ -105,7 +105,7 @@ class TitleN(TitleNoDisplay):
|
||||
"""No Title class for the report """
|
||||
|
||||
def __init__(self, doc, locale):
|
||||
TitleNoDisplay.__init__(self, doc, "AC2-Title")
|
||||
TitleNoDisplay.__init__(self, doc, "AC2-Title-box")
|
||||
self._ = locale.translation.sgettext
|
||||
|
||||
def calc_title(self, center):
|
||||
@ -118,7 +118,7 @@ class TitleA(TitleBox):
|
||||
"""Title class for the report """
|
||||
def __init__(self, doc, locale, name_displayer):
|
||||
self._nd = name_displayer
|
||||
TitleBox.__init__(self, doc, "AC2-Title")
|
||||
TitleBox.__init__(self, doc, "AC2-Title-box")
|
||||
self._ = locale.translation.sgettext
|
||||
|
||||
def calc_title(self, center):
|
||||
@ -1043,8 +1043,8 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
font.set_type_face(FONT_SANS_SERIF)
|
||||
para_style = ParagraphStyle()
|
||||
para_style.set_font(font)
|
||||
para_style.set_description(_('The basic style used for the '
|
||||
'text display.'))
|
||||
para_style.set_description(
|
||||
_('The basic style used for the text display.'))
|
||||
default_style.add_paragraph_style("AC2-Normal", para_style)
|
||||
box_shadow = PT2CM(font.get_size()) * .6
|
||||
|
||||
@ -1053,8 +1053,8 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
font.set_type_face(FONT_SANS_SERIF)
|
||||
para_style = ParagraphStyle()
|
||||
para_style.set_font(font)
|
||||
para_style.set_description(_('The basic style used for the '
|
||||
'note display.'))
|
||||
para_style.set_description(
|
||||
_('The basic style used for the note display.'))
|
||||
default_style.add_paragraph_style("AC2-Note", para_style)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1063,8 +1063,7 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
para_style = ParagraphStyle()
|
||||
para_style.set_font(font)
|
||||
para_style.set_alignment(PARA_ALIGN_CENTER)
|
||||
para_style.set_description(_('The basic style used for the '
|
||||
'title display.'))
|
||||
para_style.set_description(_('The style used for the title.'))
|
||||
default_style.add_paragraph_style("AC2-Title", para_style)
|
||||
|
||||
## Draw styles
|
||||
@ -1085,12 +1084,14 @@ class AncestorTreeOptions(MenuReportOptions):
|
||||
graph_style.set_fill_color((255, 255, 255))
|
||||
default_style.add_draw_style("AC2-note-box", graph_style)
|
||||
|
||||
# TODO this seems meaningless, as only the text is displayed
|
||||
graph_style = GraphicsStyle()
|
||||
graph_style.set_paragraph_style("AC2-Title")
|
||||
graph_style.set_color((0, 0, 0))
|
||||
graph_style.set_fill_color((255, 255, 255))
|
||||
graph_style.set_line_width(0)
|
||||
default_style.add_draw_style("AC2-Title", graph_style)
|
||||
graph_style.set_description(_("Cannot edit this reference"))
|
||||
default_style.add_draw_style("AC2-Title-box", graph_style)
|
||||
|
||||
graph_style = GraphicsStyle()
|
||||
default_style.add_draw_style("AC2-line", graph_style)
|
||||
|
@ -132,7 +132,7 @@ class PlaceHolderBox(BoxBase):
|
||||
#------------------------------------------------------------------------
|
||||
class DescendantTitleBase(TitleBox):
|
||||
def __init__(self, dbase, doc, locale, name_displayer,
|
||||
boxstr="CG2-Title"):
|
||||
boxstr="CG2-Title-box"):
|
||||
self._nd = name_displayer
|
||||
TitleBox.__init__(self, doc, boxstr)
|
||||
self.database = dbase
|
||||
@ -204,7 +204,7 @@ class TitleNone(TitleNoDisplay):
|
||||
"""No Title class for the report """
|
||||
|
||||
def __init__(self, dbase, doc, locale):
|
||||
TitleNoDisplay.__init__(self, doc, "CG2-Title")
|
||||
TitleNoDisplay.__init__(self, doc, "CG2-Title-box")
|
||||
self._ = locale.translation.sgettext
|
||||
|
||||
def calc_title(self, persons):
|
||||
@ -1760,9 +1760,7 @@ class DescendTreeOptions(MenuReportOptions):
|
||||
para_style = ParagraphStyle()
|
||||
para_style.set_font(font)
|
||||
para_style.set_alignment(PARA_ALIGN_CENTER)
|
||||
para_style.set_description(
|
||||
_("The basic style used for the title display.")
|
||||
)
|
||||
para_style.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("CG2-Title", para_style)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1771,8 +1769,7 @@ class DescendTreeOptions(MenuReportOptions):
|
||||
para_style = ParagraphStyle()
|
||||
para_style.set_font(font)
|
||||
para_style.set_description(
|
||||
_('The basic style used for the text display.')
|
||||
)
|
||||
_('The basic style used for the text display.'))
|
||||
default_style.add_paragraph_style("CG2-Normal", para_style)
|
||||
|
||||
#Set the size of the shadow based on the font size! Much better
|
||||
@ -1783,8 +1780,7 @@ class DescendTreeOptions(MenuReportOptions):
|
||||
para_style = ParagraphStyle()
|
||||
para_style.set_font(font)
|
||||
para_style.set_description(
|
||||
_('The bold style used for the text display.')
|
||||
)
|
||||
_('The bold style used for the text display.'))
|
||||
default_style.add_paragraph_style("CG2-Bold", para_style)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1793,16 +1789,17 @@ class DescendTreeOptions(MenuReportOptions):
|
||||
para_style = ParagraphStyle()
|
||||
para_style.set_font(font)
|
||||
para_style.set_description(
|
||||
_('The basic style used for the note display.')
|
||||
)
|
||||
_('The basic style used for the note display.'))
|
||||
default_style.add_paragraph_style("CG2-Note", para_style)
|
||||
|
||||
# TODO this seems meaningless, as only the text is displayed
|
||||
graph_style = GraphicsStyle()
|
||||
graph_style.set_paragraph_style("CG2-Title")
|
||||
graph_style.set_color((0, 0, 0))
|
||||
graph_style.set_fill_color((255, 255, 255))
|
||||
graph_style.set_line_width(0)
|
||||
default_style.add_draw_style("CG2-Title", graph_style)
|
||||
graph_style.set_description(_("Cannot edit this reference"))
|
||||
default_style.add_draw_style("CG2-Title-box", graph_style)
|
||||
|
||||
## Draw styles
|
||||
graph_style = GraphicsStyle()
|
||||
|
@ -767,7 +767,7 @@ class FanChartOptions(MenuReportOptions):
|
||||
p_style.set_font(f_style)
|
||||
p_style.set_alignment(PARA_ALIGN_CENTER)
|
||||
p_style.set_description(
|
||||
_('The basic style used for the default text display.'))
|
||||
_('The basic style used for the text display.'))
|
||||
default_style.add_paragraph_style("FC-Text", p_style)
|
||||
|
||||
for i in range(0, self.max_generations):
|
||||
|
@ -1127,7 +1127,7 @@ class StatisticsChartOptions(MenuReportOptions):
|
||||
pstyle = ParagraphStyle()
|
||||
pstyle.set_font(fstyle)
|
||||
pstyle.set_alignment(PARA_ALIGN_CENTER)
|
||||
pstyle.set_description(_("The style used for the title of the page."))
|
||||
pstyle.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("SC-Title", pstyle)
|
||||
|
||||
"""
|
||||
|
@ -476,7 +476,7 @@ class TimeLineOptions(MenuReportOptions):
|
||||
fstyle.set_type_face(FONT_SANS_SERIF)
|
||||
pstyle = ParagraphStyle()
|
||||
pstyle.set_font(fstyle)
|
||||
pstyle.set_description(_("The style used for the person's name."))
|
||||
pstyle.set_description(_("The basic style used for the text display."))
|
||||
default_style.add_paragraph_style("TLG-Name", pstyle)
|
||||
|
||||
fstyle = FontStyle()
|
||||
@ -485,7 +485,7 @@ class TimeLineOptions(MenuReportOptions):
|
||||
pstyle = ParagraphStyle()
|
||||
pstyle.set_font(fstyle)
|
||||
pstyle.set_alignment(PARA_ALIGN_CENTER)
|
||||
pstyle.set_description(_("The style used for the year labels."))
|
||||
pstyle.set_description(_("The style used for the section headers."))
|
||||
default_style.add_paragraph_style("TLG-Label", pstyle)
|
||||
|
||||
fstyle = FontStyle()
|
||||
@ -494,7 +494,7 @@ class TimeLineOptions(MenuReportOptions):
|
||||
pstyle = ParagraphStyle()
|
||||
pstyle.set_font(fstyle)
|
||||
pstyle.set_alignment(PARA_ALIGN_CENTER)
|
||||
pstyle.set_description(_("The style used for the title of the page."))
|
||||
pstyle.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("TLG-Title", pstyle)
|
||||
|
||||
"""
|
||||
|
@ -376,7 +376,7 @@ class GrampsXmlWriter(UpdateCallback):
|
||||
for key in group_map:
|
||||
value = self.db.get_name_group_mapping(key)
|
||||
self.g.write(' <map type="group_as" key="%s" value="%s"/>\n'
|
||||
% (key, value) )
|
||||
% (self.fix(key), value))
|
||||
self.g.write(" </namemaps>\n")
|
||||
|
||||
def write_bookmarks(self):
|
||||
|
@ -117,5 +117,5 @@ class AlphabeticalIndexOptions(MenuReportOptions):
|
||||
font.set(face=FONT_SANS_SERIF, size=10)
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set_description(_('The style used for index entries.'))
|
||||
para.set_description(_('The basic style used for the text display.'))
|
||||
default_style.add_paragraph_style("IDX-Entry", para)
|
||||
|
@ -348,7 +348,7 @@ class AncestorOptions(MenuReportOptions):
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the title of the page.'))
|
||||
para.set_description(_('The style used for the title.'))
|
||||
default_style.add_paragraph_style("AHN-Title", para)
|
||||
|
||||
#
|
||||
|
@ -132,7 +132,7 @@ class CustomTextOptions(MenuReportOptions):
|
||||
category_name = _("Text")
|
||||
|
||||
self.__top = TextOption(_("Initial Text"), [""])
|
||||
self.__top.set_help(_("Text to display at the top."))
|
||||
self.__top.set_help(_("Text to display at the top"))
|
||||
menu.add_option(category_name, "top", self.__top)
|
||||
|
||||
self.__mid = TextOption(_("Middle Text"), [""])
|
||||
@ -140,7 +140,7 @@ class CustomTextOptions(MenuReportOptions):
|
||||
menu.add_option(category_name, "mid", self.__mid)
|
||||
|
||||
self.__bot = TextOption(_("Final Text"), [""])
|
||||
self.__bot.set_help(_("Text to display last."))
|
||||
self.__bot.set_help(_("Text to display at the bottom"))
|
||||
menu.add_option(category_name, "bot", self.__bot)
|
||||
|
||||
def get_subject(self):
|
||||
@ -161,8 +161,7 @@ class CustomTextOptions(MenuReportOptions):
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set(pad=0.5)
|
||||
para.set_description(
|
||||
_('The style used for the first portion of the custom text.'))
|
||||
para.set_description(_('Text to display at the top'))
|
||||
default_style.add_paragraph_style("CBT-Initial", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -171,8 +170,7 @@ class CustomTextOptions(MenuReportOptions):
|
||||
para.set_font(font)
|
||||
para.set(pad=0.5)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(
|
||||
_('The style used for the middle portion of the custom text.'))
|
||||
para.set_description(_('Text to display in the middle'))
|
||||
default_style.add_paragraph_style("CBT-Middle", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -181,6 +179,5 @@ class CustomTextOptions(MenuReportOptions):
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set(pad=0.5)
|
||||
para.set_description(
|
||||
_('The style used for the last portion of the custom text.'))
|
||||
para.set_description(_('Text to display at the bottom'))
|
||||
default_style.add_paragraph_style("CBT-Final", para)
|
||||
|
@ -559,7 +559,7 @@ class DescendantOptions(MenuReportOptions):
|
||||
pstyle.set_bottom_margin(utils.pt2cm(3))
|
||||
pstyle.set_font(fstyle)
|
||||
pstyle.set_alignment(PARA_ALIGN_CENTER)
|
||||
pstyle.set_description(_("The style used for the title of the page."))
|
||||
pstyle.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("DR-Title", pstyle)
|
||||
|
||||
fstyle = FontStyle()
|
||||
|
@ -950,7 +950,7 @@ class DetAncestorOptions(MenuReportOptions):
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the title of the page.'))
|
||||
para.set_description(_('The style used for the title.'))
|
||||
default_style.add_paragraph_style("DAR-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -980,7 +980,8 @@ class DetAncestorOptions(MenuReportOptions):
|
||||
para.set(first_indent=-0.75, lmargin=1.75)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for the children list.'))
|
||||
para.set_description(
|
||||
_('The style used for the text related to the children.'))
|
||||
default_style.add_paragraph_style("DAR-ChildList", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -990,6 +991,7 @@ class DetAncestorOptions(MenuReportOptions):
|
||||
para.set(first_indent=0.0, lmargin=1.0)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for the note header.'))
|
||||
default_style.add_paragraph_style("DAR-NoteHeader", para)
|
||||
|
||||
para = ParagraphStyle()
|
||||
@ -1003,7 +1005,7 @@ class DetAncestorOptions(MenuReportOptions):
|
||||
para.set(first_indent=-1.0, lmargin=1.0)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for the first personal entry.'))
|
||||
para.set_description(_('The style used for first level headings.'))
|
||||
default_style.add_paragraph_style("DAR-First-Entry", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1013,7 +1015,7 @@ class DetAncestorOptions(MenuReportOptions):
|
||||
para.set(first_indent=0.0, lmargin=1.0)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for the More About header.'))
|
||||
para.set_description(_('The style used for second level headings.'))
|
||||
default_style.add_paragraph_style("DAR-MoreHeader", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1023,7 +1025,7 @@ class DetAncestorOptions(MenuReportOptions):
|
||||
para.set(first_indent=0.0, lmargin=1.0)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for additional detail data.'))
|
||||
para.set_description(_('The style used for details.'))
|
||||
default_style.add_paragraph_style("DAR-MoreDetails", para)
|
||||
|
||||
endnotes.add_endnote_styles(default_style)
|
||||
|
@ -1173,7 +1173,7 @@ class DetDescendantOptions(MenuReportOptions):
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the title of the page.'))
|
||||
para.set_description(_('The style used for the title.'))
|
||||
default_style.add_paragraph_style("DDR-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1203,7 +1203,8 @@ class DetDescendantOptions(MenuReportOptions):
|
||||
para.set(first_indent=-0.75, lmargin=2.25)
|
||||
para.set_top_margin(0.125)
|
||||
para.set_bottom_margin(0.125)
|
||||
para.set_description(_('The style used for the children list.'))
|
||||
para.set_description(
|
||||
_('The style used for the text related to the children.'))
|
||||
default_style.add_paragraph_style("DDR-ChildList", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1213,6 +1214,7 @@ class DetDescendantOptions(MenuReportOptions):
|
||||
para.set(first_indent=0.0, lmargin=1.5)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for the note header.'))
|
||||
default_style.add_paragraph_style("DDR-NoteHeader", para)
|
||||
|
||||
para = ParagraphStyle()
|
||||
@ -1226,7 +1228,7 @@ class DetDescendantOptions(MenuReportOptions):
|
||||
para.set(first_indent=-1.5, lmargin=1.5)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for the first personal entry.'))
|
||||
para.set_description(_('The style used for first level headings.'))
|
||||
default_style.add_paragraph_style("DDR-First-Entry", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1236,9 +1238,7 @@ class DetDescendantOptions(MenuReportOptions):
|
||||
para.set(first_indent=0.0, lmargin=1.5)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(
|
||||
_('The style used for the More About header and '
|
||||
'for headers of mates.'))
|
||||
para.set_description(_('The style used for second level headings.'))
|
||||
default_style.add_paragraph_style("DDR-MoreHeader", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1248,7 +1248,7 @@ class DetDescendantOptions(MenuReportOptions):
|
||||
para.set(first_indent=0.0, lmargin=1.5)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for additional detail data.'))
|
||||
para.set_description(_('The style used for details.'))
|
||||
default_style.add_paragraph_style("DDR-MoreDetails", para)
|
||||
|
||||
endnotes.add_endnote_styles(default_style)
|
||||
|
@ -207,8 +207,8 @@ class EndOfLineReport(Report):
|
||||
death_date = self._get_date(event.get_date_object())
|
||||
dates = ''
|
||||
if birth_date or death_date:
|
||||
dates = self._(" (%(birth_date)s - %(death_date)s)"
|
||||
) % {'birth_date' : birth_date,
|
||||
dates = " (%(birth_date)s - %(death_date)s)" % {
|
||||
'birth_date' : birth_date,
|
||||
'death_date' : death_date}
|
||||
|
||||
self.doc.start_row()
|
||||
@ -293,7 +293,7 @@ class EndOfLineOptions(MenuReportOptions):
|
||||
para.set_bottom_margin(utils.pt2cm(8))
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_("The style used for the title of the page."))
|
||||
para.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("EOL-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -302,7 +302,7 @@ class EndOfLineOptions(MenuReportOptions):
|
||||
para.set_bottom_margin(utils.pt2cm(6))
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the section headers.'))
|
||||
para.set_description(_('The style used for the subtitle.'))
|
||||
default_style.add_paragraph_style("EOL-Subtitle", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -320,8 +320,7 @@ class EndOfLineOptions(MenuReportOptions):
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set_top_margin(utils.pt2cm(6))
|
||||
para.set_description(
|
||||
_('The basic style used for generation headings.'))
|
||||
para.set_description(_('The style used for the generation header.'))
|
||||
default_style.add_paragraph_style("EOL-Generation", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -330,7 +329,7 @@ class EndOfLineOptions(MenuReportOptions):
|
||||
para.set_font(font)
|
||||
para.set_top_margin(0)
|
||||
para.set_bottom_margin(utils.pt2cm(6))
|
||||
para.set_description(_('The basic style used for the text display.'))
|
||||
para.set_description(_('The style used for details.'))
|
||||
default_style.add_paragraph_style("EOL-Pedigree", para)
|
||||
|
||||
#Table Styles
|
||||
|
@ -688,6 +688,7 @@ class FamilyGroupOptions(MenuReportOptions):
|
||||
self.__fid = None
|
||||
self.__filter = None
|
||||
self.__recursive = None
|
||||
self.__generations = None
|
||||
self._nf = None
|
||||
MenuReportOptions.__init__(self, name, dbase)
|
||||
|
||||
@ -717,6 +718,7 @@ class FamilyGroupOptions(MenuReportOptions):
|
||||
self.__recursive.set_help(_("Create reports for all descendants "
|
||||
"of this family."))
|
||||
add_option("recursive", self.__recursive)
|
||||
self.__recursive.connect('value-changed', self.__recursive_changed)
|
||||
|
||||
##########################
|
||||
category_name = _("Report Options (2)")
|
||||
@ -786,11 +788,11 @@ class FamilyGroupOptions(MenuReportOptions):
|
||||
gramps_ids.set_help(_("Whether to include Gramps ID next to names."))
|
||||
add_option("gramps_ids", gramps_ids)
|
||||
|
||||
generations = BooleanOption(_("Generation numbers "
|
||||
"(recursive only)"), False)
|
||||
generations.set_help(_("Whether to include the generation on each "
|
||||
"report (recursive only)."))
|
||||
add_option("generations", generations) # TODO make insensitive if ...
|
||||
self.__generations = BooleanOption(_("Generation numbers "
|
||||
"(recursive only)"), False)
|
||||
self.__generations.set_help(_("Whether to include the generation "
|
||||
"on each report (recursive only)."))
|
||||
add_option("generations", self.__generations)
|
||||
|
||||
missinginfo = BooleanOption(_("Print fields for missing "
|
||||
"information"), True)
|
||||
@ -829,6 +831,13 @@ class FamilyGroupOptions(MenuReportOptions):
|
||||
self.__recursive.set_value(False)
|
||||
self.__recursive.set_available(False)
|
||||
|
||||
def __recursive_changed(self):
|
||||
"""
|
||||
Handle recursive change.
|
||||
"""
|
||||
recursive_value = self.__recursive.get_value()
|
||||
self.__generations.set_available(recursive_value)
|
||||
|
||||
def make_default_style(self, default_style):
|
||||
"""Make default output style for the Family Group Report."""
|
||||
para = ParagraphStyle()
|
||||
@ -846,7 +855,7 @@ class FamilyGroupOptions(MenuReportOptions):
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_header_level(1)
|
||||
para.set_description(_("The style used for the title of the page."))
|
||||
para.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style('FGR-Title', para)
|
||||
|
||||
font = FontStyle()
|
||||
|
@ -257,7 +257,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_table('note', 'IDS-IndTable')
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell('IDS-TableHead', 2)
|
||||
self.write_paragraph(self._('Notes'), style='IDS-TableTitle')
|
||||
self.write_paragraph(self._('Notes'), style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
|
||||
@ -289,7 +289,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('Alternate Parents'),
|
||||
style='IDS-TableTitle')
|
||||
style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
|
||||
@ -356,7 +356,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('Relationship to home person'),
|
||||
style='IDS-TableTitle')
|
||||
style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
self.doc.start_row()
|
||||
@ -376,7 +376,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('Alternate Names'),
|
||||
style='IDS-TableTitle')
|
||||
style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
|
||||
@ -403,7 +403,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_table("addresses", "IDS-IndTable")
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('Addresses'), style='IDS-TableTitle')
|
||||
self.write_paragraph(self._('Addresses'), style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
|
||||
@ -428,7 +428,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_table("associations", "IDS-IndTable")
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('Associations'), style='IDS-TableTitle')
|
||||
self.write_paragraph(self._('Associations'), style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
for person_ref in self.person.get_person_ref_list():
|
||||
@ -455,7 +455,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_table("attributes", "IDS-IndTable")
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('Attributes'), style='IDS-TableTitle')
|
||||
self.write_paragraph(self._('Attributes'), style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
|
||||
@ -482,18 +482,18 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_table("ordinances", "IDS-IndTable")
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('LDS Ordinance'), style='IDS-TableTitle')
|
||||
self.write_paragraph(self._('LDS Ordinance'), style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
self.doc.end_table()
|
||||
|
||||
self.doc.start_table("ordinances3", "IDS-OrdinanceTable")
|
||||
self.doc.start_row()
|
||||
self.write_cell(self._('Type'), style='IDS-Section')
|
||||
self.write_cell(self._('Date'), style='IDS-Section')
|
||||
self.write_cell(self._('Status'), style='IDS-Section')
|
||||
self.write_cell(self._('Temple'), style='IDS-Section')
|
||||
self.write_cell(self._('Place'), style='IDS-Section')
|
||||
self.write_cell(self._('Type'), style='IDS-TableSection')
|
||||
self.write_cell(self._('Date'), style='IDS-TableSection')
|
||||
self.write_cell(self._('Status'), style='IDS-TableSection')
|
||||
self.write_cell(self._('Temple'), style='IDS-TableSection')
|
||||
self.write_cell(self._('Place'), style='IDS-TableSection')
|
||||
self.doc.end_row()
|
||||
|
||||
for lds_ord in ord_list:
|
||||
@ -531,7 +531,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_table("tags", "IDS-IndTable")
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('Tags'), style='IDS-TableTitle')
|
||||
self.write_paragraph(self._('Tags'), style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
for tag_handle in thlist:
|
||||
@ -573,7 +573,7 @@ class IndivCompleteReport(Report):
|
||||
cells = 3 # the GalleryTable has 3 cells
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", cells)
|
||||
self.write_paragraph(self._('Images'), style='IDS-TableTitle')
|
||||
self.write_paragraph(self._('Images'), style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
media_count = 0
|
||||
@ -597,7 +597,7 @@ class IndivCompleteReport(Report):
|
||||
if image_count % cells == 0:
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell('IDS-NormalCell')
|
||||
self.write_paragraph(description, style='IDS-ImageCaptionCenter')
|
||||
self.write_paragraph(description, style='IDS-ImageCaption')
|
||||
utils.insert_image(self._db, self.doc, media_ref, self._user,
|
||||
align='center', w_cm=5.0, h_cm=5.0)
|
||||
self.do_attributes(media.get_attribute_list() +
|
||||
@ -624,7 +624,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._('Families'),
|
||||
style='IDS-TableTitle')
|
||||
style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
self.doc.end_table()
|
||||
@ -687,11 +687,11 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_table("ordinances2", "IDS-OrdinanceTable2")
|
||||
self.doc.start_row()
|
||||
self.write_cell(self._('LDS Ordinance'))
|
||||
self.write_cell(self._('Type'), style='IDS-Section')
|
||||
self.write_cell(self._('Date'), style='IDS-Section')
|
||||
self.write_cell(self._('Status'), style='IDS-Section')
|
||||
self.write_cell(self._('Temple'), style='IDS-Section')
|
||||
self.write_cell(self._('Place'), style='IDS-Section')
|
||||
self.write_cell(self._('Type'), style='IDS-TableSection')
|
||||
self.write_cell(self._('Date'), style='IDS-TableSection')
|
||||
self.write_cell(self._('Status'), style='IDS-TableSection')
|
||||
self.write_cell(self._('Temple'), style='IDS-TableSection')
|
||||
self.write_cell(self._('Place'), style='IDS-TableSection')
|
||||
self.doc.end_row()
|
||||
|
||||
for lds_ord in ord_list:
|
||||
@ -750,7 +750,7 @@ class IndivCompleteReport(Report):
|
||||
self.doc.start_table(event_group_sect, "IDS-IndTable")
|
||||
self.doc.start_row()
|
||||
self.doc.start_cell("IDS-TableHead", 2)
|
||||
self.write_paragraph(self._(event_group_sect), style='IDS-TableTitle')
|
||||
self.write_paragraph(self._(event_group_sect), style='IDS-SectionTitle')
|
||||
self.doc.end_cell()
|
||||
self.doc.end_row()
|
||||
|
||||
@ -1182,7 +1182,7 @@ class IndivCompleteOptions(MenuReportOptions):
|
||||
para.set_top_margin(utils.pt2cm(8))
|
||||
para.set_bottom_margin(utils.pt2cm(8))
|
||||
para.set_font(font)
|
||||
para.set_description(_("The style used for the title of the page."))
|
||||
para.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("IDS-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1194,8 +1194,8 @@ class IndivCompleteOptions(MenuReportOptions):
|
||||
para.set_font(font)
|
||||
para.set_top_margin(utils.pt2cm(3))
|
||||
para.set_bottom_margin(utils.pt2cm(3))
|
||||
para.set_description(_("The style used for category labels."))
|
||||
default_style.add_paragraph_style("IDS-TableTitle", para)
|
||||
para.set_description(_("The style used for the section headers."))
|
||||
default_style.add_paragraph_style("IDS-SectionTitle", para)
|
||||
|
||||
font = FontStyle()
|
||||
font.set_bold(1)
|
||||
@ -1218,14 +1218,14 @@ class IndivCompleteOptions(MenuReportOptions):
|
||||
default_style.add_paragraph_style("IDS-Normal", para)
|
||||
|
||||
font = FontStyle()
|
||||
font.set_size(12)
|
||||
font.set_size(32) # SJ "12" not "32"
|
||||
font.set_italic(1)
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set_top_margin(utils.pt2cm(3))
|
||||
para.set_bottom_margin(utils.pt2cm(3))
|
||||
para.set_description(_('The style used for the section headers.'))
|
||||
default_style.add_paragraph_style("IDS-Section", para)
|
||||
para.set_description(_('The basic style used for table headings.'))
|
||||
default_style.add_paragraph_style('IDS-TableSection', para)
|
||||
|
||||
font = FontStyle()
|
||||
font.set_size(8)
|
||||
@ -1234,7 +1234,7 @@ class IndivCompleteOptions(MenuReportOptions):
|
||||
para.set_font(font)
|
||||
para.set_top_margin(utils.pt2cm(3))
|
||||
para.set_bottom_margin(utils.pt2cm(3))
|
||||
para.set_description(_('A style used for image facts.'))
|
||||
para.set_description(_('The style used for image notes.'))
|
||||
default_style.add_paragraph_style("IDS-ImageNote", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -1244,8 +1244,8 @@ class IndivCompleteOptions(MenuReportOptions):
|
||||
para.set_font(font)
|
||||
para.set_top_margin(utils.pt2cm(3))
|
||||
para.set_bottom_margin(utils.pt2cm(3))
|
||||
para.set_description(_('A style used for image captions.'))
|
||||
default_style.add_paragraph_style("IDS-ImageCaptionCenter", para)
|
||||
para.set_description(_('The style used for image descriptions.'))
|
||||
default_style.add_paragraph_style("IDS-ImageCaption", para)
|
||||
|
||||
# Table Styles
|
||||
tbl = TableStyle()
|
||||
|
@ -317,8 +317,8 @@ class KinshipReport(Report):
|
||||
death_date = self._get_date(death.get_date_object())
|
||||
dates = ''
|
||||
if birth_date or death_date:
|
||||
dates = self._(" (%(birth_date)s - %(death_date)s)"
|
||||
) % {'birth_date' : birth_date,
|
||||
dates = " (%(birth_date)s - %(death_date)s)" % {
|
||||
'birth_date' : birth_date,
|
||||
'death_date' : death_date}
|
||||
|
||||
self.doc.start_paragraph('KIN-Normal')
|
||||
@ -400,7 +400,7 @@ class KinshipOptions(MenuReportOptions):
|
||||
para.set_bottom_margin(utils.pt2cm(8))
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_("The style used for the title of the page."))
|
||||
para.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("KIN-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -410,7 +410,7 @@ class KinshipOptions(MenuReportOptions):
|
||||
para.set_header_level(3)
|
||||
para.set_font(font)
|
||||
para.set_top_margin(utils.pt2cm(6))
|
||||
para.set_description(_('The basic style used for sub-headings.'))
|
||||
para.set_description(_('The style used for second level headings.'))
|
||||
default_style.add_paragraph_style("KIN-Subtitle", para)
|
||||
|
||||
font = FontStyle()
|
||||
|
@ -183,7 +183,7 @@ class NoteLinkOptions(MenuReportOptions):
|
||||
p.set_bottom_margin(utils.pt2cm(3))
|
||||
p.set_font(f)
|
||||
p.set_alignment(PARA_ALIGN_CENTER)
|
||||
p.set_description(_("The style used for the title of the page."))
|
||||
p.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("NoteLink-Title", p)
|
||||
|
||||
font = FontStyle()
|
||||
|
@ -224,7 +224,7 @@ class NumberOfAncestorsOptions(MenuReportOptions):
|
||||
para.set_bottom_margin(utils.pt2cm(8))
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_("The style used for the title of the page."))
|
||||
para.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("NOA-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
|
@ -491,7 +491,7 @@ class PlaceOptions(MenuReportOptions):
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_('The style used for the title of the report.'))
|
||||
para.set_description(_('The style used for the title.'))
|
||||
self.default_style.add_paragraph_style("PLC-ReportTitle", para)
|
||||
|
||||
def __report_subtitle_style(self):
|
||||
@ -520,7 +520,7 @@ class PlaceOptions(MenuReportOptions):
|
||||
para.set(first_indent=-1.5, lmargin=1.5)
|
||||
para.set_top_margin(0.75)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for place title.'))
|
||||
para.set_description(_('The style used for the section headers.'))
|
||||
self.default_style.add_paragraph_style("PLC-PlaceTitle", para)
|
||||
|
||||
def __place_details_style(self):
|
||||
@ -532,7 +532,7 @@ class PlaceOptions(MenuReportOptions):
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set(first_indent=0.0, lmargin=1.5)
|
||||
para.set_description(_('The style used for place details.'))
|
||||
para.set_description(_('The style used for details.'))
|
||||
self.default_style.add_paragraph_style("PLC-PlaceDetails", para)
|
||||
|
||||
def __column_title_style(self):
|
||||
@ -544,7 +544,7 @@ class PlaceOptions(MenuReportOptions):
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set(first_indent=0.0, lmargin=0.0)
|
||||
para.set_description(_('The style used for a column title.'))
|
||||
para.set_description(_('The basic style used for table headings.'))
|
||||
self.default_style.add_paragraph_style("PLC-ColumnTitle", para)
|
||||
|
||||
def __section_style(self):
|
||||
@ -558,7 +558,7 @@ class PlaceOptions(MenuReportOptions):
|
||||
para.set(first_indent=-1.5, lmargin=1.5)
|
||||
para.set_top_margin(0.5)
|
||||
para.set_bottom_margin(0.25)
|
||||
para.set_description(_('The style used for each section.'))
|
||||
para.set_description(_('The basic style used for the text display.'))
|
||||
self.default_style.add_paragraph_style("PLC-Section", para)
|
||||
|
||||
def __event_table_style(self):
|
||||
@ -589,7 +589,7 @@ class PlaceOptions(MenuReportOptions):
|
||||
font.set(face=FONT_SERIF, size=10)
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set_description(_('The style used for event and person details.'))
|
||||
para.set_description(_('The style used for the items and values.'))
|
||||
self.default_style.add_paragraph_style("PLC-Details", para)
|
||||
|
||||
def __cell_style(self):
|
||||
|
@ -325,7 +325,7 @@ class RecordsReportOptions(MenuReportOptions):
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set_top_margin(utils.pt2cm(6))
|
||||
para.set_description(_('The style used for headings.'))
|
||||
para.set_description(_('The style used for the section headers.'))
|
||||
default_style.add_paragraph_style('REC-Heading', para)
|
||||
|
||||
font = FontStyle()
|
||||
|
@ -160,7 +160,7 @@ class SimpleBookTitleOptions(MenuReportOptions):
|
||||
menu.add_option(category_name, "imgsize", imgsize)
|
||||
|
||||
def make_default_style(self, default_style):
|
||||
"""Make the default output style for the Simple Boot Title report."""
|
||||
"""Make the default output style for the Simple Book Title report."""
|
||||
font = FontStyle()
|
||||
font.set(face=FONT_SANS_SERIF, size=16, bold=1, italic=1)
|
||||
para = ParagraphStyle()
|
||||
@ -168,7 +168,7 @@ class SimpleBookTitleOptions(MenuReportOptions):
|
||||
para.set_header_level(1)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set(pad=0.5)
|
||||
para.set_description(_('The style used for the title of the page.'))
|
||||
para.set_description(_('The style used for the title.'))
|
||||
default_style.add_paragraph_style("SBT-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
|
@ -308,7 +308,7 @@ class SummaryOptions(MenuReportOptions):
|
||||
para.set_bottom_margin(utils.pt2cm(3))
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_("The style used for the title of the page."))
|
||||
para.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("SR-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
@ -317,7 +317,7 @@ class SummaryOptions(MenuReportOptions):
|
||||
para = ParagraphStyle()
|
||||
para.set_font(font)
|
||||
para.set_top_margin(0)
|
||||
para.set_description(_('The basic style used for sub-headings.'))
|
||||
para.set_description(_('The style used for second level headings.'))
|
||||
default_style.add_paragraph_style("SR-Heading", para)
|
||||
|
||||
font = FontStyle()
|
||||
|
@ -930,7 +930,7 @@ class TagOptions(MenuReportOptions):
|
||||
para.set_bottom_margin(utils.pt2cm(3))
|
||||
para.set_font(font)
|
||||
para.set_alignment(PARA_ALIGN_CENTER)
|
||||
para.set_description(_("The style used for the title of the page."))
|
||||
para.set_description(_("The style used for the title."))
|
||||
default_style.add_paragraph_style("TR-Title", para)
|
||||
|
||||
font = FontStyle()
|
||||
|
362
po/gramps.pot
362
po/gramps.pot
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-03-17 11:17-0700\n"
|
||||
"POT-Creation-Date: 2017-03-21 23:34-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -2881,7 +2881,7 @@ msgstr ""
|
||||
#: ../gramps/plugins/graph/gvrelgraph.py:751
|
||||
#: ../gramps/plugins/quickview/quickview.gpr.py:130
|
||||
#: ../gramps/plugins/textreport/birthdayreport.py:412
|
||||
#: ../gramps/plugins/textreport/familygroup.py:705
|
||||
#: ../gramps/plugins/textreport/familygroup.py:706
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1044
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:218
|
||||
#: ../gramps/plugins/tool/sortevents.py:167
|
||||
@ -5873,7 +5873,7 @@ msgstr ""
|
||||
#: ../gramps/plugins/quickview/filterbyname.py:264
|
||||
#: ../gramps/plugins/quickview/filterbyname.py:270
|
||||
#: ../gramps/plugins/quickview/filterbyname.py:276
|
||||
#: ../gramps/plugins/textreport/familygroup.py:785
|
||||
#: ../gramps/plugins/textreport/familygroup.py:787
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1108
|
||||
#: ../gramps/plugins/tool/findloop.py:103
|
||||
#: ../gramps/plugins/tool/findloop.py:107
|
||||
@ -8654,6 +8654,7 @@ msgstr ""
|
||||
#: ../gramps/plugins/textreport/ancestorreport.py:364
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:963
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1186
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:323
|
||||
msgid "The style used for the generation header."
|
||||
msgstr ""
|
||||
|
||||
@ -9346,70 +9347,75 @@ msgid "Swedish"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:105
|
||||
msgid "Tamil"
|
||||
msgstr ""
|
||||
|
||||
#. Windows has no codepage for Tamil
|
||||
#: ../gramps/gen/utils/grampslocale.py:106
|
||||
msgid "Turkish"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:106
|
||||
#: ../gramps/gen/utils/grampslocale.py:107
|
||||
msgid "Ukrainian"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:107
|
||||
#: ../gramps/gen/utils/grampslocale.py:108
|
||||
msgid "Vietnamese"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:108
|
||||
#: ../gramps/gen/utils/grampslocale.py:109
|
||||
msgid "Chinese (Simplified)"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:109
|
||||
#: ../gramps/gen/utils/grampslocale.py:110
|
||||
msgid "Chinese (Hong Kong)"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:110
|
||||
#: ../gramps/gen/utils/grampslocale.py:111
|
||||
msgid "Chinese (Traditional)"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:834
|
||||
#: ../gramps/gen/utils/grampslocale.py:835
|
||||
msgid "the person"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:836
|
||||
#: ../gramps/gen/utils/grampslocale.py:837
|
||||
msgid "the family"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:838
|
||||
#: ../gramps/gen/utils/grampslocale.py:839
|
||||
msgid "the place"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:840
|
||||
#: ../gramps/gen/utils/grampslocale.py:841
|
||||
msgid "the event"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:842
|
||||
#: ../gramps/gen/utils/grampslocale.py:843
|
||||
msgid "the repository"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:844
|
||||
#: ../gramps/gen/utils/grampslocale.py:845
|
||||
msgid "the note"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:846
|
||||
#: ../gramps/gen/utils/grampslocale.py:847
|
||||
msgid "the media"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:848
|
||||
#: ../gramps/gen/utils/grampslocale.py:849
|
||||
msgid "the source"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:850
|
||||
#: ../gramps/gen/utils/grampslocale.py:851
|
||||
msgid "the filter"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:852
|
||||
#: ../gramps/gen/utils/grampslocale.py:853
|
||||
msgid "the citation"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gen/utils/grampslocale.py:854
|
||||
#: ../gramps/gen/utils/grampslocale.py:855
|
||||
msgid "See details"
|
||||
msgstr ""
|
||||
|
||||
@ -11373,6 +11379,8 @@ msgstr ""
|
||||
#: ../gramps/gui/editors/displaytabs/eventembedlist.py:347
|
||||
#: ../gramps/gui/editors/displaytabs/gallerytab.py:353
|
||||
#: ../gramps/gui/editors/displaytabs/repoembedlist.py:168
|
||||
#: ../gramps/plugins/drawreport/ancestortree.py:1093
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1801
|
||||
msgid "Cannot edit this reference"
|
||||
msgstr ""
|
||||
|
||||
@ -16534,7 +16542,7 @@ msgstr ""
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:807
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:999
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:269
|
||||
#: ../gramps/plugins/textreport/familygroup.py:701
|
||||
#: ../gramps/plugins/textreport/familygroup.py:702
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1041
|
||||
#: ../gramps/plugins/textreport/kinshipreport.py:355
|
||||
#: ../gramps/plugins/textreport/numberofancestorsreport.py:203
|
||||
@ -16660,14 +16668,14 @@ msgstr ""
|
||||
msgid "Style editor"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:339
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:360
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:376
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:409
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:341
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:364
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:382
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:415
|
||||
msgid "No description available"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:386
|
||||
#: ../gramps/gui/plug/report/_styleeditor.py:392
|
||||
#, python-format
|
||||
msgid "Column %d:"
|
||||
msgstr ""
|
||||
@ -17216,7 +17224,7 @@ msgstr ""
|
||||
#: ../gramps/plugins/graph/gvrelgraph.py:806
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:873
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1078
|
||||
#: ../gramps/plugins/textreport/familygroup.py:738
|
||||
#: ../gramps/plugins/textreport/familygroup.py:740
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1080
|
||||
msgid "Include"
|
||||
msgstr ""
|
||||
@ -18385,7 +18393,7 @@ msgstr ""
|
||||
#: ../gramps/plugins/textreport/descendreport.py:539
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:833
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1038
|
||||
#: ../gramps/plugins/textreport/familygroup.py:722
|
||||
#: ../gramps/plugins/textreport/familygroup.py:724
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1065
|
||||
#: ../gramps/plugins/textreport/kinshipreport.py:381
|
||||
#: ../gramps/plugins/textreport/placereport.py:456
|
||||
@ -18547,34 +18555,57 @@ msgstr ""
|
||||
msgid " Generations of empty boxes for unknown ancestors"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/ancestortree.py:1046
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1774
|
||||
#: ../gramps/plugins/drawreport/ancestortree.py:1047
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1772
|
||||
#: ../gramps/plugins/drawreport/fanchart.py:770
|
||||
#: ../gramps/plugins/drawreport/timeline.py:479
|
||||
#: ../gramps/plugins/textreport/alphabeticalindex.py:120
|
||||
#: ../gramps/plugins/textreport/ancestorreport.py:374
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:999
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1222
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:1001
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1224
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:314
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:333
|
||||
#: ../gramps/plugins/textreport/familygroup.py:858
|
||||
#: ../gramps/plugins/textreport/familygroup.py:867
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1217
|
||||
#: ../gramps/plugins/textreport/kinshipreport.py:421
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:206
|
||||
#: ../gramps/plugins/textreport/numberofancestorsreport.py:234
|
||||
#: ../gramps/plugins/textreport/placereport.py:561
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:336
|
||||
#: ../gramps/plugins/textreport/summary.py:330
|
||||
#: ../gramps/plugins/textreport/tagreport.py:964
|
||||
msgid "The basic style used for the text display."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/ancestortree.py:1056
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1796
|
||||
#: ../gramps/plugins/textreport/familygroup.py:870
|
||||
#: ../gramps/plugins/drawreport/ancestortree.py:1057
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1792
|
||||
#: ../gramps/plugins/textreport/familygroup.py:879
|
||||
#: ../gramps/plugins/textreport/tagreport.py:982
|
||||
msgid "The basic style used for the note display."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/ancestortree.py:1066
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1764
|
||||
msgid "The basic style used for the title display."
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1763
|
||||
#: ../gramps/plugins/drawreport/fanchart.py:760
|
||||
#: ../gramps/plugins/drawreport/statisticschart.py:1130
|
||||
#: ../gramps/plugins/drawreport/timeline.py:497
|
||||
#: ../gramps/plugins/textreport/alphabeticalindex.py:103
|
||||
#: ../gramps/plugins/textreport/ancestorreport.py:351
|
||||
#: ../gramps/plugins/textreport/descendreport.py:562
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:953
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1176
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:296
|
||||
#: ../gramps/plugins/textreport/familygroup.py:858
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1185
|
||||
#: ../gramps/plugins/textreport/kinshipreport.py:403
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:186
|
||||
#: ../gramps/plugins/textreport/numberofancestorsreport.py:227
|
||||
#: ../gramps/plugins/textreport/placereport.py:494
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:309
|
||||
#: ../gramps/plugins/textreport/simplebooktitle.py:171
|
||||
#: ../gramps/plugins/textreport/summary.py:311
|
||||
#: ../gramps/plugins/textreport/tableofcontents.py:102
|
||||
#: ../gramps/plugins/textreport/tagreport.py:933
|
||||
msgid "The style used for the title."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/calendarreport.py:74
|
||||
@ -18979,7 +19010,7 @@ msgstr ""
|
||||
msgid "Make the inter-box Y bigger or smaller"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1786
|
||||
#: ../gramps/plugins/drawreport/descendtree.py:1783
|
||||
msgid "The bold style used for the text display."
|
||||
msgstr ""
|
||||
|
||||
@ -19153,17 +19184,6 @@ msgid ""
|
||||
"You can customize font and color for each generation in the style editor"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/fanchart.py:760
|
||||
#: ../gramps/plugins/textreport/alphabeticalindex.py:103
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:309
|
||||
#: ../gramps/plugins/textreport/tableofcontents.py:102
|
||||
msgid "The style used for the title."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/fanchart.py:770
|
||||
msgid "The basic style used for the default text display."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/fanchart.py:781
|
||||
#, python-format
|
||||
msgid "The style used for the text display of generation \"%d\""
|
||||
@ -19445,27 +19465,10 @@ msgid "Include charts with indicated data."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/statisticschart.py:1121
|
||||
#: ../gramps/plugins/textreport/placereport.py:592
|
||||
msgid "The style used for the items and values."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/statisticschart.py:1130
|
||||
#: ../gramps/plugins/drawreport/timeline.py:497
|
||||
#: ../gramps/plugins/textreport/ancestorreport.py:351
|
||||
#: ../gramps/plugins/textreport/descendreport.py:562
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:953
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1176
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:296
|
||||
#: ../gramps/plugins/textreport/familygroup.py:849
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1185
|
||||
#: ../gramps/plugins/textreport/kinshipreport.py:403
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:186
|
||||
#: ../gramps/plugins/textreport/numberofancestorsreport.py:227
|
||||
#: ../gramps/plugins/textreport/simplebooktitle.py:171
|
||||
#: ../gramps/plugins/textreport/summary.py:311
|
||||
#: ../gramps/plugins/textreport/tagreport.py:933
|
||||
msgid "The style used for the title of the page."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/timeline.py:65
|
||||
msgid "sorted by|Birth Date"
|
||||
msgstr ""
|
||||
@ -19525,12 +19528,13 @@ msgstr ""
|
||||
msgid "Sorting method to use"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/timeline.py:479
|
||||
msgid "The style used for the person's name."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/drawreport/timeline.py:488
|
||||
msgid "The style used for the year labels."
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1197
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:196
|
||||
#: ../gramps/plugins/textreport/placereport.py:523
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:328
|
||||
#: ../gramps/plugins/textreport/tagreport.py:954
|
||||
msgid "The style used for the section headers."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/export/export.gpr.py:34
|
||||
@ -20586,7 +20590,7 @@ msgstr ""
|
||||
|
||||
#. #########################
|
||||
#: ../gramps/plugins/gramplet/gramplet.gpr.py:693
|
||||
#: ../gramps/plugins/textreport/familygroup.py:771
|
||||
#: ../gramps/plugins/textreport/familygroup.py:773
|
||||
msgid "Family Notes"
|
||||
msgstr ""
|
||||
|
||||
@ -27931,10 +27935,6 @@ msgstr ""
|
||||
msgid "Entire Book"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/alphabeticalindex.py:120
|
||||
msgid "The style used for index entries."
|
||||
msgstr ""
|
||||
|
||||
#. feature request 2356: avoid genitive form
|
||||
#: ../gramps/plugins/textreport/ancestorreport.py:192
|
||||
#, python-format
|
||||
@ -27992,7 +27992,7 @@ msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: ../gramps/plugins/textreport/birthdayreport.py:414
|
||||
#: ../gramps/plugins/textreport/familygroup.py:707
|
||||
#: ../gramps/plugins/textreport/familygroup.py:708
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1046
|
||||
msgid "Select the filter to be applied to the report."
|
||||
msgstr ""
|
||||
@ -28060,7 +28060,8 @@ msgid "Initial Text"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:135
|
||||
msgid "Text to display at the top."
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:164
|
||||
msgid "Text to display at the top"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:138
|
||||
@ -28068,6 +28069,7 @@ msgid "Middle Text"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:139
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:173
|
||||
msgid "Text to display in the middle"
|
||||
msgstr ""
|
||||
|
||||
@ -28076,19 +28078,8 @@ msgid "Final Text"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:143
|
||||
msgid "Text to display last."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:165
|
||||
msgid "The style used for the first portion of the custom text."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:175
|
||||
msgid "The style used for the middle portion of the custom text."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:185
|
||||
msgid "The style used for the last portion of the custom text."
|
||||
#: ../gramps/plugins/textreport/custombooktext.py:182
|
||||
msgid "Text to display at the bottom"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/descendreport.py:307
|
||||
@ -28397,7 +28388,7 @@ msgstr ""
|
||||
#. ###############################
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:904
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1113
|
||||
#: ../gramps/plugins/textreport/familygroup.py:768
|
||||
#: ../gramps/plugins/textreport/familygroup.py:770
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1105
|
||||
msgid "Include (2)"
|
||||
msgstr ""
|
||||
@ -28443,7 +28434,7 @@ msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:921
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1130
|
||||
#: ../gramps/plugins/textreport/familygroup.py:759
|
||||
#: ../gramps/plugins/textreport/familygroup.py:761
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1117
|
||||
msgid "Whether to include attributes."
|
||||
msgstr ""
|
||||
@ -28493,23 +28484,36 @@ msgstr ""
|
||||
msgid "The style used for the children list title."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:983
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1206
|
||||
msgid "The style used for the children list."
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:984
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1207
|
||||
#: ../gramps/plugins/textreport/familygroup.py:889
|
||||
msgid "The style used for the text related to the children."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:1006
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1229
|
||||
msgid "The style used for the first personal entry."
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:994
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1217
|
||||
msgid "The style used for the note header."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:1016
|
||||
msgid "The style used for the More About header."
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:1008
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1231
|
||||
#: ../gramps/plugins/textreport/tableofcontents.py:117
|
||||
msgid "The style used for first level headings."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:1026
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:1018
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1241
|
||||
#: ../gramps/plugins/textreport/kinshipreport.py:413
|
||||
#: ../gramps/plugins/textreport/summary.py:320
|
||||
#: ../gramps/plugins/textreport/tableofcontents.py:123
|
||||
msgid "The style used for second level headings."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/detancestralreport.py:1028
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1251
|
||||
msgid "The style used for additional detail data."
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:332
|
||||
#: ../gramps/plugins/textreport/placereport.py:535
|
||||
msgid "The style used for details."
|
||||
msgstr ""
|
||||
|
||||
#. feature request 2356: avoid genitive form
|
||||
@ -28585,10 +28589,6 @@ msgid ""
|
||||
"descendant."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/detdescendantreport.py:1240
|
||||
msgid "The style used for the More About header and for headers of mates."
|
||||
msgstr ""
|
||||
|
||||
#. feature request 2356: avoid genitive form
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:158
|
||||
#, python-format
|
||||
@ -28601,21 +28601,12 @@ msgstr ""
|
||||
msgid "All the ancestors of %s who are missing a parent"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:210
|
||||
#: ../gramps/plugins/textreport/kinshipreport.py:320
|
||||
#, python-format
|
||||
msgid " (%(birth_date)s - %(death_date)s)"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:305
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1227
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:196
|
||||
#: ../gramps/plugins/textreport/tagreport.py:954
|
||||
msgid "The style used for the section headers."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/endoflinereport.py:324
|
||||
msgid "The basic style used for generation headings."
|
||||
#: ../gramps/plugins/textreport/placereport.py:509
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:319
|
||||
#: ../gramps/plugins/textreport/simplebooktitle.py:181
|
||||
#: ../gramps/plugins/textreport/tagreport.py:944
|
||||
msgid "The style used for the subtitle."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:503
|
||||
@ -28642,114 +28633,109 @@ msgstr ""
|
||||
msgid "Family Group Report"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:711
|
||||
#: ../gramps/plugins/textreport/familygroup.py:712
|
||||
msgid "Center Family"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:712
|
||||
#: ../gramps/plugins/textreport/familygroup.py:713
|
||||
msgid "The center family for the filter"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:716
|
||||
#: ../gramps/plugins/textreport/familygroup.py:717
|
||||
msgid "Recursive (down)"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:717
|
||||
#: ../gramps/plugins/textreport/familygroup.py:718
|
||||
msgid "Create reports for all descendants of this family."
|
||||
msgstr ""
|
||||
|
||||
#. #########################
|
||||
#: ../gramps/plugins/textreport/familygroup.py:741
|
||||
#: ../gramps/plugins/textreport/familygroup.py:743
|
||||
msgid "Parent Marriage"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:743
|
||||
#: ../gramps/plugins/textreport/familygroup.py:745
|
||||
msgid "Whether to include marriage information for parents."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:746
|
||||
#: ../gramps/plugins/textreport/familygroup.py:748
|
||||
msgid "Parent Events"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:747
|
||||
#: ../gramps/plugins/textreport/familygroup.py:749
|
||||
msgid "Whether to include events for parents."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:750
|
||||
#: ../gramps/plugins/textreport/familygroup.py:752
|
||||
msgid "Parent Addresses"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:751
|
||||
#: ../gramps/plugins/textreport/familygroup.py:753
|
||||
msgid "Whether to include addresses for parents."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:754
|
||||
#: ../gramps/plugins/textreport/familygroup.py:756
|
||||
msgid "Parent Notes"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:755
|
||||
#: ../gramps/plugins/textreport/familygroup.py:757
|
||||
msgid "Whether to include notes for parents."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:758
|
||||
#: ../gramps/plugins/textreport/familygroup.py:760
|
||||
msgid "Parent Attributes"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:762
|
||||
#: ../gramps/plugins/textreport/familygroup.py:764
|
||||
msgid "Alternate Parent Names"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:764
|
||||
#: ../gramps/plugins/textreport/familygroup.py:766
|
||||
msgid "Whether to include alternate names for parents."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:772
|
||||
#: ../gramps/plugins/textreport/familygroup.py:774
|
||||
msgid "Whether to include notes for families."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:775
|
||||
#: ../gramps/plugins/textreport/familygroup.py:777
|
||||
msgid "Dates of Relatives"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:776
|
||||
#: ../gramps/plugins/textreport/familygroup.py:778
|
||||
msgid "Whether to include dates for relatives (father, mother, spouse)."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:780
|
||||
#: ../gramps/plugins/textreport/familygroup.py:782
|
||||
msgid "Children Marriages"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:782
|
||||
#: ../gramps/plugins/textreport/familygroup.py:784
|
||||
msgid "Whether to include marriage information for children."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:786
|
||||
#: ../gramps/plugins/textreport/familygroup.py:788
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1109
|
||||
msgid "Whether to include Gramps ID next to names."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:789
|
||||
#: ../gramps/plugins/textreport/familygroup.py:791
|
||||
msgid "Generation numbers (recursive only)"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:791
|
||||
#: ../gramps/plugins/textreport/familygroup.py:793
|
||||
msgid "Whether to include the generation on each report (recursive only)."
|
||||
msgstr ""
|
||||
|
||||
#. TODO make insensitive if ...
|
||||
#: ../gramps/plugins/textreport/familygroup.py:795
|
||||
#: ../gramps/plugins/textreport/familygroup.py:797
|
||||
msgid "Print fields for missing information"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:797
|
||||
#: ../gramps/plugins/textreport/familygroup.py:799
|
||||
msgid "Whether to include fields for missing information."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:880
|
||||
msgid "The style used for the text related to the children."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/familygroup.py:890
|
||||
#: ../gramps/plugins/textreport/familygroup.py:899
|
||||
msgid "The style used for the parent's name"
|
||||
msgstr ""
|
||||
|
||||
@ -28861,20 +28847,23 @@ msgstr ""
|
||||
msgid "Check if a separate section is required."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1197
|
||||
msgid "The style used for category labels."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1208
|
||||
msgid "The style used for the spouse's name."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1227
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:217
|
||||
#: ../gramps/plugins/textreport/placereport.py:547
|
||||
#: ../gramps/plugins/textreport/tagreport.py:975
|
||||
msgid "The basic style used for table headings."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1237
|
||||
msgid "A style used for image facts."
|
||||
msgid "The style used for image notes."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/indivcomplete.py:1247
|
||||
msgid "A style used for image captions."
|
||||
msgid "The style used for image descriptions."
|
||||
msgstr ""
|
||||
|
||||
#. feature request 2356: avoid genitive form
|
||||
@ -28911,11 +28900,6 @@ msgstr ""
|
||||
msgid "Whether to include aunts/uncles/nephews/nieces"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/kinshipreport.py:413
|
||||
#: ../gramps/plugins/textreport/summary.py:320
|
||||
msgid "The basic style used for sub-headings."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:67
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:102
|
||||
msgid "Note Link Check Report"
|
||||
@ -28937,11 +28921,6 @@ msgstr ""
|
||||
msgid "Failed"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/notelinkreport.py:217
|
||||
#: ../gramps/plugins/textreport/tagreport.py:975
|
||||
msgid "The basic style used for table headings."
|
||||
msgstr ""
|
||||
|
||||
#. feature request 2356: avoid genitive form
|
||||
#: ../gramps/plugins/textreport/numberofancestorsreport.py:105
|
||||
#, python-format
|
||||
@ -29034,37 +29013,6 @@ msgstr ""
|
||||
msgid "If report is event or person centered"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/placereport.py:494
|
||||
msgid "The style used for the title of the report."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/placereport.py:509
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:319
|
||||
#: ../gramps/plugins/textreport/simplebooktitle.py:181
|
||||
#: ../gramps/plugins/textreport/tagreport.py:944
|
||||
msgid "The style used for the subtitle."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/placereport.py:523
|
||||
msgid "The style used for place title."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/placereport.py:535
|
||||
msgid "The style used for place details."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/placereport.py:547
|
||||
msgid "The style used for a column title."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/placereport.py:561
|
||||
msgid "The style used for each section."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/placereport.py:592
|
||||
msgid "The style used for event and person details."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:174
|
||||
#, python-format
|
||||
msgid "%(number)s. "
|
||||
@ -29094,10 +29042,6 @@ msgstr ""
|
||||
msgid "Footer text"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:328
|
||||
msgid "The style used for headings."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/recordsreport.py:346
|
||||
#: ../gramps/plugins/textreport/simplebooktitle.py:191
|
||||
msgid "The style used for the footer."
|
||||
@ -29232,14 +29176,6 @@ msgstr ""
|
||||
msgid "Contents"
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/tableofcontents.py:117
|
||||
msgid "The style used for first level headings."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/tableofcontents.py:123
|
||||
msgid "The style used for second level headings."
|
||||
msgstr ""
|
||||
|
||||
#: ../gramps/plugins/textreport/tableofcontents.py:129
|
||||
msgid "The style used for third level headings."
|
||||
msgstr ""
|
||||
|
2
setup.py
2
setup.py
@ -51,7 +51,7 @@ import argparse
|
||||
ALL_LINGUAS = ('ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en_GB',
|
||||
'eo', 'es', 'fi', 'fr', 'he', 'hr', 'hu', 'is', 'it',
|
||||
'ja', 'lt', 'nb', 'nl', 'nn', 'pl', 'pt_BR', 'pt_PT',
|
||||
'ru', 'sk', 'sl', 'sq', 'sr', 'sv', 'tr', 'uk', 'vi',
|
||||
'ru', 'sk', 'sl', 'sq', 'sr', 'sv', 'ta', 'tr', 'uk', 'vi',
|
||||
'zh_CN', 'zh_HK', 'zh_TW')
|
||||
_FILES = ('data/tips.xml', 'data/holidays.xml')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user