Ignore:
Timestamp:
22 Feb 2012, 08:27:56 (13 years ago)
Author:
Henrik Bettermann
Message:

Implement Language switch in the topbar and add some German translations for demonstration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/viewlets.py

    r7671 r7674  
    1818import os
    1919import grok
     20import zope.i18nmessageid
    2021from zope.component import getUtility
    2122from zope.interface import Interface
     
    4445    )
    4546
     47_ = zope.i18nmessageid.MessageFactory('waeup.sirp')
     48
    4649grok.context(ISIRPObject) # Make ISIRPObject the default context
    4750grok.templatedir('browser_templates')
     
    462465
    463466    pnav = 4
    464     tab_title = u'Students'
     467    tab_title = _(u'Students')
    465468
    466469    @property
Note: See TracChangeset for help on using the changeset viewer.