Changeset 8071 for main/waeup.uniben/trunk/src/waeup/uniben/students
- Timestamp:
- 9 Apr 2012, 07:35:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/interfaces.py
r7995 r8071 19 19 from waeup.kofa.schema import TextLineChoice 20 20 from waeup.kofa.interfaces import SimpleKofaVocabulary 21 from waeup.kofa.students.vocabularies import nats_vocab 21 22 from waeup.kofa.students.interfaces import ( 22 23 IStudentBase,IUGStudentClearance,IPGStudentClearance, … … 24 25 ) 25 26 from waeup.kofa.students.vocabularies import ( 26 lgas_vocab, nats_vocab, contextual_reg_num_source) 27 nats_vocab, contextual_reg_num_source) 28 from waeup.uniben.interfaces import lgas_vocab 29 from waeup.uniben.interfaces import MessageFactory as _ 27 30 28 31 class IStudentBase(IStudentBase): … … 32 35 33 36 reg_number = TextLineChoice( 34 title = u'Registration Number',37 title = _(u'Registration Number'), 35 38 required = False, 36 39 readonly = False, … … 48 51 required = False, 49 52 vocabulary = SimpleKofaVocabulary( 50 ( 'Unmarried', 'unmarried'),51 ( 'Married', 'married'),)53 (_('Unmarried'), 'unmarried'), 54 (_('Married'), 'married'),) 52 55 ) 53 56 … … 57 60 """ 58 61 date_of_birth = schema.Date( 59 title = u'Date of Birth',62 title = _(u'Date of Birth'), 60 63 required = False, 61 64 ) … … 63 66 nationality = schema.Choice( 64 67 source = nats_vocab, 65 title = u'Nationality', 66 default = 'nigeria', 68 title = _(u'Nationality'), 67 69 required = False, 68 70 ) … … 70 72 lga = schema.Choice( 71 73 source = lgas_vocab, 72 title = u'State/LGA',74 title = _(u'State/LGA (Nigerians only)'), 73 75 required = False, 74 76 )
Note: See TracChangeset for help on using the changeset viewer.