Comment 8 for bug 587123

Revision history for this message
onox (onox) wrote :

I don't think I've gotten the hang of this gettext thingy yet, but the applet does:

condition_text = _(day["DESCRIPTION"])

So it's not like I extract the value of the data structure (animals in mhr3's example) somehow and then translates it (_(a) in example), so I'm not sure this gettext magic with N_ still works when you do something like _(some_value) where some_value happens to be equal to (for example) "python" instead of _(a) where a is one of the items in the data structure. The ini file seems fine to me.