More robust error checking
svn: r692
This commit is contained in:
@@ -255,7 +255,7 @@ class AncestorChartDialog(DrawReportDialog):
|
||||
#------------------------------------------------------------------------
|
||||
def get_title(self):
|
||||
"""The window title for this dialog"""
|
||||
return _("Gramps - Ancestor Chart")
|
||||
return "%s - %s - GRAMPS" % (_("Ancestor Chart"),_("Graphical Reports"))
|
||||
|
||||
def get_header(self, name):
|
||||
"""The header line at the top of the dialog contents."""
|
||||
|
||||
@@ -235,7 +235,7 @@ class AncestorReportDialog(TextReportDialog):
|
||||
#------------------------------------------------------------------------
|
||||
def get_title(self):
|
||||
"""The window title for this dialog"""
|
||||
return _("Gramps - Ahnentafel Report")
|
||||
return "%s - %s - GRAMPS" % (_("Ahnentafel Report"),_("Text Reports"))
|
||||
|
||||
def get_header(self, name):
|
||||
"""The header line at the top of the dialog contents"""
|
||||
|
||||
@@ -310,7 +310,7 @@ class DescendantReportDialog(DrawReportDialog):
|
||||
DrawReportDialog.__init__(self,database,person)
|
||||
|
||||
def get_title(self):
|
||||
return _("Gramps - Descendant Graph")
|
||||
return "%s - %s - GRAMPS" % (_("Descendant Graph"),_("Graphical Reports"))
|
||||
|
||||
def get_header(self,name):
|
||||
return _("Descendant Graph for %s") % name
|
||||
|
||||
@@ -140,7 +140,7 @@ class DescendantReportDialog(TextReportDialog):
|
||||
#------------------------------------------------------------------------
|
||||
def get_title(self):
|
||||
"""The window title for this dialog"""
|
||||
return _("Gramps - Descendant Report")
|
||||
return "%s - %s - GRAMPS" % (_("Descendant Report"),_("Text Reports"))
|
||||
|
||||
def get_header(self, name):
|
||||
"""The header line at the top of the dialog contents"""
|
||||
|
||||
@@ -335,7 +335,7 @@ class FamilyGroupDialog(TextReportDialog):
|
||||
#------------------------------------------------------------------------
|
||||
def get_title(self):
|
||||
"""The window title for this dialog"""
|
||||
return _("Gramps - Family Group Report")
|
||||
return "%s - %s - GRAMPS" % (_("Family Group Report"),_("Text Reports"))
|
||||
|
||||
def get_header(self, name):
|
||||
"""The header line at the top of the dialog contents"""
|
||||
|
||||
@@ -126,7 +126,7 @@ class GraphVizDialog(ReportDialog):
|
||||
#------------------------------------------------------------------------
|
||||
def get_title(self):
|
||||
"""The window title for this dialog"""
|
||||
return _("Gramps - Generate Relationship Graphs")
|
||||
return "%s - %s - GRAMPS" % (_("Relationship Graph"),_("Graphical Reports"))
|
||||
|
||||
def get_target_browser_title(self):
|
||||
"""The title of the window created when the 'browse' button is
|
||||
@@ -283,7 +283,7 @@ from Plugins import register_report
|
||||
|
||||
register_report(
|
||||
report,
|
||||
_("Relationship graph"),
|
||||
_("Relationship Graph"),
|
||||
status=(_("Beta")),
|
||||
category=_("Graphical Reports"),
|
||||
description=get_description()
|
||||
|
||||
@@ -327,7 +327,7 @@ class IndivSummaryDialog(TextReportDialog):
|
||||
#------------------------------------------------------------------------
|
||||
def get_title(self):
|
||||
"""The window title for this dialog"""
|
||||
return _("Gramps - Individual Summary")
|
||||
return "%s - %s - GRAMPS" %(_("Individual Summary"),_("Text Reports"))
|
||||
|
||||
def get_header(self, name):
|
||||
"""The header line at the top of the dialog contents"""
|
||||
|
||||
@@ -41,7 +41,6 @@ from gnome.ui import *
|
||||
from libglade import *
|
||||
from Report import *
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
@@ -813,7 +812,7 @@ class WebReportDialog(ReportDialog):
|
||||
#------------------------------------------------------------------------
|
||||
def get_title(self):
|
||||
"""The window title for this dialog"""
|
||||
return _("Gramps - Generate HTML reports")
|
||||
return "%s - %s - GRAMPS" % (_("Generate Web Site"),_("Web Page"))
|
||||
|
||||
def get_target_browser_title(self):
|
||||
"""The title of the window created when the 'browse' button is
|
||||
|
||||
Reference in New Issue
Block a user