changeset 2538:09b0fc5b1716

make client.translator available to templates as 'i18n'
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sun, 04 Jul 2004 05:05:19 +0000
parents 70ede89e8056
children 92510df07670
files roundup/cgi/templating.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Sat Jul 03 23:05:15 2004 +0000
+++ b/roundup/cgi/templating.py	Sun Jul 04 05:05:19 2004 +0000
@@ -284,6 +284,7 @@
          'template': template,
          'true': 1,
          'false': 0,
+         'i18n': client.translator
     }
     # add in the item if there is one
     if client.nodeid:

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