Changeset 5737

Show
Ignore:
Timestamp:
11/20/08 17:19:19 (2 months ago)
Author:
faide
Message:

Added some docs for the gettext function and applied the #2008 ticket.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/turbogears/view/base.py

    r5718 r5737  
    2020from turbogears import identity, config 
    2121from turbogears.i18n.kidutils import i18n_filter as kid_i18n_filter 
     22# the gettext imported here can be whatever function returned 
     23# by the i18n module depending on the user's configuration 
     24# all the functions will implement the same interface so we don't care 
    2225from turbogears.i18n import get_locale, gettext 
    2326 
     
    433436        "genshi.lookup_errors": get("genshi.lookup_errors", "strict"), 
    434437        "genshi.loader_callback" : get("genshi.loader_callback", None), 
     438        "genshi.new_text_syntax": get("genshi.new_text_syntax", False), 
    435439        "json.skipkeys": get("json.skipkeys", False), 
    436440        "json.sort_keys": get("json.sort_keys", False),