Changeset 14482 for main/waeup.aaue/trunk
- Timestamp:
- 31 Jan 2017, 14:53:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/raw_score_report.py
r14479 r14482 193 193 self.portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 194 194 self.session = academic_sessions_vocab.getTerm(session).title 195 self.level = translate(self.studylevelsource.getTitle(None, int(level)),196 'waeup.kofa', target_language=self.portal_language)197 195 self.levelcode = level 198 196 self.sessioncode = session … … 206 204 _('All Certificates'), 'waeup.kofa', 207 205 target_language=self.portal_language) 206 self.level = translate( 207 self.studylevelsource.getTitle(None, int(level)), 208 'waeup.kofa', target_language=self.portal_language) 208 209 else: 209 self.certtitle = site['faculties'][faccode][ 210 depcode].certificates[certcode].longtitle 210 certificate = site[ 211 'faculties'][faccode][depcode].certificates[certcode] 212 self.certtitle = certificate.longtitle 213 self.level = translate( 214 self.studylevelsource.getTitle(certificate, int(level)), 215 'waeup.kofa', target_language=self.portal_language) 211 216 self.author = author 212 217 self.creation_dt_string = self.creation_dt.astimezone(
Note: See TracChangeset for help on using the changeset viewer.