Changeset 12180


Ignore:
Timestamp:
9 Dec 2014, 05:21:31 (10 years ago)
Author:
Henrik Bettermann
Message:

Choose consistent exporter names.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/export.py

    r9262 r12180  
    3636
    3737    #: The title under which this exporter will be displayed
    38     title = _(u'AccessCodeBatches')
     38    title = _(u'Access Code Batches')
    3939
    4040    def mangle_value(self, value, name, context=None):
     
    6767
    6868    #: The title under which this exporter will be displayed
    69     title = _(u'AccessCodes')
     69    title = _(u'Access Codes')
    7070
    7171    def mangle_value(self, value, name, context=None):
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/export.py

    r12079 r12180  
    3737    fields = tuple(sorted(iface_names(IApplicantsContainer)))
    3838    #: The title under which this exporter will be displayed
    39     title = _(u'Basic Applicants Containers')
     39    title = _(u'Applicants Containers')
    4040
    4141    def mangle_value(self, value, name, context=None):
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r12104 r12180  
    15881588        # The exporter for access codes requires a special permission.
    15891589        if not checkPermission('waeup.manageACBatches', self.context):
    1590             title_name_tuples.remove((u'AccessCodes', u'accesscodes'))
     1590            title_name_tuples.remove((u'Access Codes', u'accesscodes'))
    15911591        return sorted(title_name_tuples)
    15921592
  • main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py

    r11891 r12180  
    7777        if 'state' in headerfields and 'transition' in headerfields:
    7878            raise FatalCSVError(
    79                 "State and transition can't be  imported at the same time!")
     79                "State and transition can't be imported at the same time!")
    8080        if not 'reg_number' in headerfields and not 'student_id' \
    8181            in headerfields and not 'matric_number' in headerfields:
Note: See TracChangeset for help on using the changeset viewer.