Hello Thomas,

2012/4/5 Thomas Petazzoni <thomas.petazz...@enix.org>:
> On the other hand, the way we currently do it for renderers, where the
> name and description are defined as class variables looks better to me,
> but doesn't play well with translation: the _() function is not
> available until a gettext context has been put in place, so _() cannot
> be used on class variables.

Use several classes? One that contain the translated name of all style
sheets (instantiated to get the names), then one class per
style-sheet. The former is referencing all the others.

> I had a quick look at that tonight, and I don't see how to solve the
> problem. Would anyone have a bit of time to work on this?

Sorry, not me, I don't have enough time.

Best regards,
d.

Reply via email to