[Moin-devel] CVS: MoinMoin request.py,1.10,1.11
J?rgen Hermann
jhermann at users.sourceforge.net
Thu May 23 13:39:03 EDT 2002
Update of /cvsroot/moin/MoinMoin
In directory usw-pr-cvs1:/tmp/cvs-serv25909/MoinMoin
Modified Files:
request.py
Log Message:
RandomQuote macro
Index: request.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/request.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** request.py 23 May 2002 19:01:32 -0000 1.10
--- request.py 23 May 2002 20:38:03 -0000 1.11
***************
*** 59,63 ****
--- 59,65 ----
self.__dict__.update(properties)
+ self.i18n = i18n
self.lang = i18n.getLang()
+ self.getText = lambda text, i18n=self.i18n, lang=self.lang: i18n.getText(text, lang)
i18n.adaptCharset(self.lang)
More information about the Moin-devel
mailing list