Ignore:
Timestamp:
28 Oct 2014, 20:02:45 (10 years ago)
Author:
Henrik Bettermann
Message:

Enable localization of batch processing modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/batching.py

    r11790 r11891  
    4141    Faculty, Department, Course, Certificate)
    4242from waeup.kofa.utils.batching import BatchProcessor
     43from waeup.kofa.interfaces import MessageFactory as _
    4344
    4445class FacultyProcessor(BatchProcessor):
     
    5152    grok.name(util_name)
    5253
    53     name = u'Faculty Processor'
     54    name = _('Faculty Processor')
    5455    iface = IFaculty
    5556    allowed_roles = Faculty.local_roles
     
    172173    grok.name(util_name)
    173174
    174     name = u'Department Processor'
     175    name = _('Department Processor')
    175176    iface = IDepartment
    176177    allowed_roles = Department.local_roles
     
    220221    grok.name(util_name)
    221222
    222     name = u'Certificate Processor'
     223    name = _('Certificate Processor')
    223224    iface = ICertificate
    224225    allowed_roles = Certificate.local_roles
     
    303304    grok.name(util_name)
    304305
    305     name = u'Course Processor'
     306    name = _('Course Processor')
    306307    iface = ICourse
    307308    allowed_roles = Course.local_roles
     
    350351    grok.name(util_name)
    351352
    352     name = u'CertificateCourse Processor'
     353    name = _('CertificateCourse Processor')
    353354    iface = ICertificateCourse
    354355
Note: See TracChangeset for help on using the changeset viewer.