Changeset 7707 for main/waeup.sirp/trunk/src/waeup/sirp/university
- Timestamp:
- 27 Feb 2012, 08:38:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/university/interfaces.py
r7694 r7707 36 36 """ 37 37 code = schema.TextLine( 38 title = u'Code',38 title = _(u'Code'), 39 39 default = u'NA', 40 40 required = True, … … 43 43 44 44 title = schema.TextLine( 45 title = _(u' name_of_faculty', default=u'Name of faculty'),46 default = u'Unnamed',45 title = _(u'Name of faculty'), 46 default = _(u'Unnamed'), 47 47 required = True, 48 48 ) 49 49 50 50 title_prefix = schema.Choice( 51 title = u'Name prefix',51 title = _(u'Name prefix'), 52 52 default = u'faculty', 53 53 source = InstTypeSource(), … … 64 64 """ 65 65 code = schema.TextLine( 66 title = u'Code',67 description = u'This code will become part of the URL.',66 title = _(u'Code'), 67 description = _(u'This code will become part of the URL.'), 68 68 default = u'NA', 69 69 required = True, … … 84 84 """ 85 85 code = schema.TextLine( 86 title = u'Code',86 title = _(u'Code'), 87 87 default = u'NA', 88 88 required = True, … … 91 91 92 92 title = schema.TextLine( 93 title = u'Name of department',94 default = u'Unnamed',93 title = _(u'Name of department'), 94 default = _(u'Unnamed'), 95 95 required = True, 96 96 ) 97 97 98 98 title_prefix = schema.Choice( 99 title = u'Name prefix',99 title = _(u'Name prefix'), 100 100 source = InstTypeSource(), 101 101 default = u'department', … … 115 115 """ 116 116 code = schema.TextLine( 117 title = u'Code',118 description = u'This code will become part of the URL.',117 title = _(u'Code'), 118 description = _(u'This code will become part of the URL.'), 119 119 default = u'NA', 120 120 required = True, … … 137 137 """ 138 138 code = schema.TextLine( 139 title = u'Code',139 title = _(u'Code'), 140 140 default = u'NA', 141 141 required = True, … … 144 144 145 145 title = schema.TextLine( 146 title = u'Title of course',147 default = u'Unnamed',146 title = _(u'Title of course'), 147 default = _(u'Unnamed'), 148 148 required = True, 149 149 ) 150 150 151 151 credits = schema.Int( 152 title = u'Credits',152 title = _(u'Credits'), 153 153 default = 0, 154 154 required = False, … … 156 156 157 157 passmark = schema.Int( 158 title = u'Passmark',158 title = _(u'Passmark'), 159 159 default = 40, 160 160 required = False, … … 162 162 163 163 semester = schema.Choice( 164 title = u'Semester/Term',164 title = _(u'Semester/Term'), 165 165 default = 9, 166 166 source = SemesterSource(), … … 177 177 """ 178 178 code = schema.TextLine( 179 title = u'Code',180 description = u'Enter unique course code which will become part of the URL.',179 title = _(u'Code'), 180 description = _(u'Enter unique course code which will become part of the URL.'), 181 181 default = u'NA', 182 182 required = True, … … 190 190 """ 191 191 code = schema.TextLine( 192 title = u'Code',192 title = _(u'Code'), 193 193 default = u'NA', 194 194 required = True, … … 197 197 198 198 title = schema.TextLine( 199 title = u'Title',200 default = u'Unnamed',199 title = _(u'Title'), 200 default = _(u'Unnamed'), 201 201 required = True, 202 202 ) 203 203 204 204 study_mode = schema.Choice( 205 title = u'Study Mode',205 title = _(u'Study Mode'), 206 206 source = StudyModeSource(), 207 207 default = u'ug_ft', … … 210 210 211 211 start_level = schema.Choice( 212 title = u'Start Level',212 title = _(u'Start Level'), 213 213 vocabulary = course_levels, 214 214 default = 100, … … 217 217 218 218 end_level = schema.Choice( 219 title = u'End Level',219 title = _(u'End Level'), 220 220 vocabulary = course_levels, 221 221 default = 500, … … 224 224 225 225 application_category = schema.Choice( 226 title = u'Application Category',226 title = _(u'Application Category'), 227 227 source = AppCatSource(), 228 228 default = u'basic', … … 239 239 """ 240 240 code = schema.TextLine( 241 title = u'Code',242 default = u'NA', 243 description = u'Enter unique certificate code which will become part of the URL.',241 title = _(u'Code'), 242 default = u'NA', 243 description = _(u'Enter unique certificate code which will become part of the URL.'), 244 244 required = True, 245 245 readonly = False, … … 262 262 """ 263 263 course = schema.Choice( 264 title = u'Course referrer',264 title = _(u'Course Referrer'), 265 265 source = CourseSource(), 266 266 readonly = True, … … 268 268 269 269 level = schema.Choice( 270 title = u'Level',270 title = _(u'Level'), 271 271 required = True, 272 272 vocabulary = course_levels, … … 275 275 276 276 mandatory = schema.Bool( 277 title = u'Is mandatory course (not elective)',277 title = _(u'Is mandatory course (not elective)'), 278 278 required = True, 279 279 default = True, … … 297 297 """ 298 298 course = schema.Choice( 299 title = u'Course',299 title = _(u'Course'), 300 300 source = CourseSource(), 301 301 readonly = False,
Note: See TracChangeset for help on using the changeset viewer.