Mercurial > p > roundup > code
diff roundup/cgi/client.py @ 2808:18c28d22b3b5
pass tracker home directory to get_translation()
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Sat, 23 Oct 2004 14:05:25 +0000 |
| parents | 3adcdd5b9247 |
| children | aa1cb9df09c3 |
line wrap: on
line diff
--- a/roundup/cgi/client.py Sat Oct 23 14:04:23 2004 +0000 +++ b/roundup/cgi/client.py Sat Oct 23 14:05:25 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: client.py,v 1.190 2004-10-20 06:36:06 a1s Exp $ +# $Id: client.py,v 1.191 2004-10-23 14:05:25 a1s Exp $ """WWW request handler (also used in the stand-alone server). """ @@ -162,7 +162,8 @@ If omitted, create default TranslationService. """ if translator is None: - translator = TranslationService.get_translation() + translator = TranslationService.get_translation( + tracker_home=self.instance.config["TRACKER_HOME"]) self.translator = translator self._ = self.gettext = translator.gettext self.ngettext = translator.ngettext
