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/applicants/viewlets.py

    r7438 r7674  
    1717##
    1818import grok
     19import zope.i18nmessageid
    1920from hurry.workflow.interfaces import IWorkflowState
    2021from waeup.sirp.interfaces import ISIRPObject
     
    3031    )
    3132
     33_ = zope.i18nmessageid.MessageFactory('waeup.sirp')
     34
    3235grok.context(ISIRPObject) # Make ISIRPObject the default context
    3336grok.templatedir('browser_templates')
     
    4043    grok.require('waeup.viewApplicantsTab')
    4144    pnav = 3
    42     tab_title = u'Applicants'
     45    tab_title = _(u'Applicants')
    4346
    4447    @property
     
    5356    """
    5457    grok.require('waeup.Anonymous')
    55     tab_title = u'Application'
     58    tab_title = _(u'Application')
    5659
    5760    # Also zope.manager has role Anonymous.
Note: See TracChangeset for help on using the changeset viewer.