Proof of concept: adding a center person option instead of using active person in reports.

svn: r9652
This commit is contained in:
Brian Matherly
2007-12-31 06:21:58 +00:00
parent a37fc2bab3
commit f002f65c41
6 changed files with 102 additions and 13 deletions

View File

@@ -101,13 +101,7 @@ class ReportDialog(BareReportDialog):
"""The header line to put at the top of the contents of the
dialog box. By default this will just be the name of the
report for the selected person. """
if name.strip():
return _("%(report_name)s for %(person_name)s") % {
'report_name' : self.report_name,
'person_name' : name}
else:
# No need to translate report_name, it is already translated
return self.report_name
return self.report_name
#------------------------------------------------------------------------
#