Ignore:
Timestamp:
22 Jun 2016, 06:22:48 (9 years ago)
Author:
Henrik Bettermann
Message:

Adjust footer. Make doc_title translatable.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students/reports
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py

    r13894 r13969  
    197197        pdf = creator.create_pdf(
    198198            pdf_data, None, doc_title, self.author,
    199             doc_title + ' %s/%s/%s/%s' % (
     199            doc_title + ' - %s/%s - %s - %s -' % (
    200200            self.faccode, self.depcode, self.levelcode, self.sessioncode)
    201201            )
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py

    r13958 r13969  
    171171            pdf_data += [Table(table_data, style=TABLE_STYLE)]
    172172
    173         doc_title = 'Presentation of Session Results'
     173        doc_title = translate(_('Presentation of Session Results'))
    174174        pdf_data.append(Spacer(1, 40))
    175175        signatures = ['Ag. Head of Department',
     
    180180        pdf = creator.create_pdf(
    181181            pdf_data, None, doc_title, self.author,
    182             'Session Results Presentation %s/%s/%s/%s' % (
     182            doc_title + ' - %s/%s - %s - %s -' % (
    183183            self.faccode, self.depcode, self.levelcode, self.sessioncode)
    184184            )
     
    188188class SessionResultsPresentationGenerator(grok.GlobalUtility):
    189189
    190     title = 'Session Results Presentation'
     190    title = _('Session Results Presentation')
    191191    grok.name('session_results_presentation')
    192192
Note: See TracChangeset for help on using the changeset viewer.