comparison roundup/cgi/templating.py @ 2562:1f4791438b65

add 'i18n' to the rendering context dictionary description
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Tue, 13 Jul 2004 06:11:06 +0000
parents 0dd3dca6bd01
children 1a041cda628c
comparison
equal deleted inserted replaced
2561:0dd3dca6bd01 2562:1f4791438b65
221 *true* 221 *true*
222 Logical True value. 222 Logical True value.
223 223
224 *false* 224 *false*
225 Logical False value. 225 Logical False value.
226
227 *i18n*
228 Internationalization service, providing string translation
229 methods ``gettext`` and ``ngettext``.
226 230
227 """ 231 """
228 # construct the TemplatingUtils class 232 # construct the TemplatingUtils class
229 utils = TemplatingUtils 233 utils = TemplatingUtils
230 if hasattr(client.instance.interfaces, 'TemplatingUtils'): 234 if hasattr(client.instance.interfaces, 'TemplatingUtils'):

Roundup Issue Tracker: http://roundup-tracker.org/