Ignore:
Timestamp:
19 Jun 2015, 05:49:57 (9 years ago)
Author:
Henrik Bettermann
Message:

After careful consideration: plural is more appropriate than singular.

A student section has another meaning: https://en.wikipedia.org/wiki/Student_section

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

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r13073 r13076  
    7272    grok.require('waeup.Public')
    7373    form_fields = grok.AutoFields(IApplicantsRoot)
    74     label = _('Applicant Section')
     74    label = _('Applicants Section')
    7575    pnav = 3
    7676
     
    127127    grok.template('applicantsrootmanagepage')
    128128    form_fields = grok.AutoFields(IApplicantsRoot)
    129     label = _('Manage applicant section')
     129    label = _('Manage applicants section')
    130130    pnav = 3
    131131    grok.require('waeup.manageApplication')
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r13031 r13076  
    476476
    477477    This reduced interface is for former students or students who are not
    478     users of the portal but have to pay supplementary fees.
     478    student users of the portal but have to pay supplementary fees.
    479479
    480480    This interface is used in browser components only. Thus we can't add
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r13073 r13076  
    204204        self.assertRaises(
    205205            LinkNotFoundError,
    206             self.browser.getLink, 'Manage applicant section')
     206            self.browser.getLink, 'Manage applicants section')
    207207        self.assertRaises(
    208208            Unauthorized, self.browser.open, self.manage_root_path)
     
    216216        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    217217        self.browser.open(self.root_path)
    218         self.assertTrue('Manage applicant section' in self.browser.contents)
     218        self.assertTrue('Manage applicants section' in self.browser.contents)
    219219        # There is a manage link
    220         link = self.browser.getLink('Manage applicant section')
     220        link = self.browser.getLink('Manage applicants section')
    221221        link.click()
    222222        self.assertEqual(self.browser.headers['Status'], '200 Ok')
     
    252252        self.browser.getControl("Save").click()
    253253        self.browser.open(self.root_path)
    254         self.assertTrue('Manage applicant section' in self.browser.contents)
     254        self.assertTrue('Manage applicants section' in self.browser.contents)
    255255        # There is a search link
    256256        link = self.browser.getLink('Find applicants')
     
    562562        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    563563        self.assertFalse('Search' in self.browser.contents)
    564         self.assertFalse('Manage applicant section' in self.browser.contents)
     564        self.assertFalse('Manage applicants section' in self.browser.contents)
    565565        # ... and can't access the manage page
    566566        self.assertRaises(
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/utils.py

    r13073 r13076  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """General helper functions and utilities for the applicant section.
     18"""General helper functions and utilities for the applicants section.
    1919"""
    2020
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py

    r13073 r13076  
    9797    grok.view(ApplicantsRootPage)
    9898    grok.require('waeup.manageApplication')
    99     text = _('Manage applicant section')
     99    text = _('Manage applicants section')
    100100
    101101class ApplicantRegisterActionButton(ManageActionButton):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r13056 r13076  
    288288    grok.template('containermanagepage')
    289289    pnav = 4
    290     label = _('Manage student section')
     290    label = _('Manage students section')
    291291    search_button = _('Find student(s)')
    292292    remove_button = _('Remove selected')
  • main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py

    r13031 r13076  
    179179class IStudentNavigation(IStudentNavigationBase):
    180180    """Interface needed for navigation and logging. This interface is
    181     implemented by all content classes in the student section.
     181    implemented by all content classes in the students section.
    182182    """
    183183    student = Attribute('Student object of context')
  • main/waeup.kofa/trunk/src/waeup/kofa/students/permissions.py

    r13026 r13076  
    1717##
    1818"""
    19 Permissions for the student section.
     19Permissions for the students section.
    2020"""
    2121import grok
    2222
    23 # Student section permissions
     23# Students section permissions
    2424
    2525class HandleStudent(grok.Permission):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r13055 r13076  
    257257        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    258258        self.assertEqual(self.browser.url, self.container_path)
    259         self.browser.getLink("Manage student section").click()
     259        self.browser.getLink("Manage students section").click()
    260260        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    261261        self.assertEqual(self.browser.url, self.manage_container_path)
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r13040 r13076  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """General helper functions and utilities for the student section.
     18"""General helper functions and utilities for the students section.
    1919"""
    2020import grok
  • main/waeup.kofa/trunk/src/waeup/kofa/students/viewlets.py

    r12854 r13076  
    139139    grok.view(StudentsContainerPage)
    140140    grok.require('waeup.manageStudent')
    141     text = _('Manage student section')
     141    text = _('Manage students section')
    142142
    143143class StudentsContainerAddActionButton(AddActionButton):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/vocabularies.py

    r12836 r13076  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """Vocabularies and sources for the student section.
     18"""Vocabularies and sources for the students section.
    1919"""
    2020from zope.component import getUtility, queryUtility
  • main/waeup.kofa/trunk/src/waeup/kofa/university/catalog.py

    r12968 r13076  
    5757class CertificateCoursesIndexes(grok.Indexes):
    5858    """This catalog is needed for automatic removal of certificate courses
    59     and later for selection of course tickets in the student section.
     59    and later for selection of course tickets in the students section.
    6060    """
    6161    grok.site(IUniversity)
Note: See TracChangeset for help on using the changeset viewer.