Changeset 13866
- Timestamp:
- 26 May 2016, 19:05:44 (9 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/locales/en/LC_MESSAGES/waeup.kofa.po
r13864 r13866 13 13 14 14 msgid "Term" 15 msgstr "Sem ."15 msgstr "Semester" 16 16 17 17 #: waeup/kofa/students/browser.py:1013 -
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r13864 r13866 246 246 elif self.context.student.current_mode.endswith('_pt'): 247 247 line0 = 'DIRECTORATE OF PART-TIME DEGREE PROGRAMMES\n' 248 line1 = translate( 'Course Registration Slip',249 'waeup.kofa',target_language=portal_language) \248 line1 = translate(_('Course Registration Slip'), 249 target_language=portal_language) \ 250 250 + ' %s' % level_title 251 line2 = translate( 'Session',252 'waeup.kofa',target_language=portal_language) \251 line2 = translate(_('Session'), 252 target_language=portal_language) \ 253 253 + ' %s' % self.context.getSessionString 254 254 return '%s%s\n%s' % (line0, line1, line2) … … 257 257 def title(self): 258 258 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 259 return translate('Units Registered', 'waeup.kofa', 260 target_language=portal_language) 259 return translate(_('Units Registered'), target_language=portal_language) 261 260 262 261 def _signatures(self): … … 296 295 def render(self): 297 296 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 298 Sem = translate( 'Sem.', 'waeup.kofa', target_language=portal_language)299 Code = translate( 'Code', 'waeup.kofa', target_language=portal_language)300 Title = translate( 'Title', 'waeup.kofa', target_language=portal_language)301 Cred = translate( 'Cred.', 'waeup.kofa', target_language=portal_language)302 Score = translate( 'Score', 'waeup.kofa', target_language=portal_language)303 CA = translate( 'CA', 'waeup.kofa', target_language=portal_language)304 Grade = translate( 'Grade', 'waeup.kofa', target_language=portal_language)305 Signature = translate( 'Lecturer\'s Signature', 'waeup.aaue',297 Sem = translate(_('Sem.'), target_language=portal_language) 298 Code = translate(_('Code'), target_language=portal_language) 299 Title = translate(_('Title'), target_language=portal_language) 300 Cred = translate(_('Cred.'), target_language=portal_language) 301 Score = translate(_('Score'), target_language=portal_language) 302 CA = translate(_('CA'), target_language=portal_language) 303 Grade = translate(_('Grade'), target_language=portal_language) 304 Signature = translate(_('Lecturer\'s Signature'), 'waeup.aaue', 306 305 target_language=portal_language) 307 306 studentview = StudentBasePDFFormPage(self.context.student, … … 354 353 def render(self): 355 354 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 356 Term = translate( 'Term', 'waeup.kofa', target_language=portal_language)357 Code = translate( 'Code', 'waeup.kofa', target_language=portal_language)358 Title = translate( 'Title', 'waeup.kofa', target_language=portal_language)359 Cred = translate( 'Credits', 'waeup.kofa', target_language=portal_language)360 Score = translate( 'Score', 'waeup.kofa', target_language=portal_language)361 #CA = translate( 'CA', 'waeup.kofa', target_language=portal_language)362 Grade = translate( 'Grade', 'waeup.kofa', target_language=portal_language)355 Term = translate(_('Sem.'), target_language=portal_language) 356 Code = translate(_('Code'), target_language=portal_language) 357 Title = translate(_('Title'), target_language=portal_language) 358 Cred = translate(_('Credits'), target_language=portal_language) 359 Score = translate(_('Score'), target_language=portal_language) 360 #CA = translate(_('CA'), target_language=portal_language) 361 Grade = translate(_('Grade'), target_language=portal_language) 363 362 studentview = StudentBasePDFFormPage(self.context.student, 364 363 self.request, self.omit_fields) … … 390 389 def label(self): 391 390 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 392 return translate( 'e-Admission Slip \n',393 'waeup.kofa',target_language=portal_language) \391 return translate(_('e-Admission Slip \n'), 392 target_language=portal_language) \ 394 393 + ' %s' % self.context.display_fullname 395 394 … … 401 400 def label(self): 402 401 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 403 return translate( 'Clearance Slip\n',404 'waeup.kofa',target_language=portal_language) \402 return translate(_('Clearance Slip\n'), 403 target_language=portal_language) \ 405 404 + ' %s' % self.context.display_fullname 406 405 … … 441 440 def title(self): 442 441 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 443 return translate( 'Matriculation Number', 'waeup.kofa',442 return translate(_('Matriculation Number'), 'waeup.kofa', 444 443 target_language=portal_language) 445 444 … … 447 446 def label(self): 448 447 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 449 return translate( 'Matriculation Number Slip\n',450 'waeup.kofa',target_language=portal_language) \448 return translate(_('Matriculation Number Slip\n'), 449 target_language=portal_language) \ 451 450 + ' %s' % self.context.display_fullname 452 451 … … 481 480 def title(self): 482 481 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 483 return translate( 'Personal Data', 'waeup.kofa',482 return translate(_('Personal Data'), 'waeup.kofa', 484 483 target_language=portal_language) 485 484 … … 487 486 def label(self): 488 487 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE 489 return translate( 'Personal Data Slip\n',490 'waeup.kofa',target_language=portal_language) \488 return translate(_('Personal Data Slip\n'), 489 target_language=portal_language) \ 491 490 + ' %s' % self.context.display_fullname 492 491
Note: See TracChangeset for help on using the changeset viewer.