Changeset 8120 for main


Ignore:
Timestamp:
12 Apr 2012, 09:00:56 (13 years ago)
Author:
Henrik Bettermann
Message:

Localize 'not provided' mesaage.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/students
Files:
2 edited

Legend:

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

    r8119 r8120  
    466466
    467467class StudentClearanceManageFormPage(KofaEditFormPage):
    468     """ Page to edit student clearance data
     468    """ Page to manage student clearance data
    469469    """
    470470    grok.context(IStudent)
     
    567567
    568568class StudentPersonalEditFormPage(KofaEditFormPage):
    569     """ Page to edit student clearance data
     569    """ Page to edit personal data
    570570    """
    571571    grok.context(IStudent)
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r8117 r8120  
    179179            img_path = getattr(getUtility(IExtFileStore).getFileByContext(
    180180                view.context, attr=viewlet.download_name), 'name', None)
    181             f_text = Paragraph('[Yet not provided]', ENTRY1_STYLE)
     181            f_text = Paragraph(trans(_('(not provided)'),lang), ENTRY1_STYLE)
    182182            if img_path is None:
    183183                pass
Note: See TracChangeset for help on using the changeset viewer.