Roundup Tracker - Issues

Message4968

Author antmail
Recipients antmail, ber
Date 2013-12-16.15:02:45
Message-id <1387206165.63.0.88316315149.issue2550825@psf.upfronthosting.co.za>
In-reply-to
Unfortunately i'm not shure how to do it in right roundup way.

1. About date.py.

I didn't catch where Date objects are created. So i don't know how to 
pass "translator" to them.

2. About i18n.py module. Make it sense tracker language setting.  
(quick fix)

It will sense setting if we replace
def get_translation(language=None, ...
to 
def get_translation(language=tracker.config["language"], ...

The problem is that there is no global variable of tracker instance 
("tracker"). It located somewhere in startup shell like roundup-server. 
The worse is if we'll add global tracker variable in instance.py we get 
circular reference.
So i don't know how to get tracker setting in i18n.py.
History
Date User Action Args
2013-12-16 15:02:45antmailsetmessageid: <1387206165.63.0.88316315149.issue2550825@psf.upfronthosting.co.za>
2013-12-16 15:02:45antmailsetrecipients: + antmail, ber
2013-12-16 15:02:45antmaillinkissue2550825 messages
2013-12-16 15:02:45antmailcreate