Skip to content

Commit fc003ee

Browse files
author
Alexander Smishlajev
committed
pass tracker home directory to get_translation()
1 parent 9b704d6 commit fc003ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

roundup/cgi/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: client.py,v 1.190 2004-10-20 06:36:06 a1s Exp $
1+
# $Id: client.py,v 1.191 2004-10-23 14:05:25 a1s Exp $
22

33
"""WWW request handler (also used in the stand-alone server).
44
"""
@@ -162,7 +162,8 @@ def setTranslator(self, translator=None):
162162
If omitted, create default TranslationService.
163163
"""
164164
if translator is None:
165-
translator = TranslationService.get_translation()
165+
translator = TranslationService.get_translation(
166+
tracker_home=self.instance.config["TRACKER_HOME"])
166167
self.translator = translator
167168
self._ = self.gettext = translator.gettext
168169
self.ngettext = translator.ngettext

0 commit comments

Comments
 (0)