Ignore:
Timestamp:
22 Feb 2012, 11:37:37 (13 years ago)
Author:
Henrik Bettermann
Message:

Let's define the portal language in our global utility SIRPUtils.

File:
1 edited

Legend:

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

    r7620 r7678  
    3636
    3737class SIRPUtils(grok.GlobalUtility):
    38     """A collection of methods subject to customization.
     38    """A collection of parameters and methods subject to customization.
    3939    """
    4040    grok.implements(ISIRPUtils)
     41    # This the only place where we define the portal language
     42    # which is used for the translation of system messages
     43    # (e.g. object histories).
     44    PORTAL_LANGUAGE = 'en'
    4145
    4246    def sendContactForm(self,from_name,from_addr,rcpt_name,rcpt_addr,
Note: See TracChangeset for help on using the changeset viewer.