Changeset 14252 for main/waeup.aaue/trunk
- Timestamp:
- 2 Nov 2016, 17:00:57 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/locales/en/LC_MESSAGES/waeup.kofa.po
r14229 r14252 138 138 msgstr "<b>Units: ${a}</b>" 139 139 140 msgid "Course ${a} cannot be registered."141 msgstr ""142 "Course ${a} cannot be registered. You have to pay for the 2nd semester first."143 144 140 #: school_fee_1 145 141 msgid "Initial School Fee" -
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r14249 r14252 191 191 # schoolfee has not yet been fully paid. 192 192 if course.semester == 2 and not self._schoolfeePaymentMade(): 193 raise TicketError 193 raise TicketError( 194 _('%s is a 2nd semester course which can only be added ' 195 'if school fees have been fully paid.' % course.code)) 194 196 ticket.code = course.code 195 197 ticket.title = course.title -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r14248 r14252 816 816 self.browser.getControl("Add course ticket").click() 817 817 self.assertTrue( 818 'C ourse COURSE1 cannot be registered.'819 ' You have to pay for the 2nd semester first.'818 'COURSE1 is a 2nd semester course which can only ' 819 'be added if school fees have been fully paid.' 820 820 in self.browser.contents) 821 821 # 2nd instalment has to be paid first
Note: See TracChangeset for help on using the changeset viewer.