[bt-devel] retranslateUi

Raoul Snyman raoul.snyman at saturnlaboratories.co.za
Thu Jan 28 05:35:24 MST 2010


On Thu, 28 Jan 2010 14:18:48 +0200 (EET), Eeli Kaikkonen wrote:
> On Wed, 27 Jan 2010, Eeli Kaikkonen wrote:
>> OK, that's a valid point. Please, all, comment on this. Does the
>> retranslateUi in every class make the code easier to read and write?
> 
> This is the question which the developers haven't yet answered, and yet
> it's more important to us than the translation UI issue. We need
> comments and opinions.

Well, in developing OpenLP using PyQt4, the code that is generated uses the
retranslateUi function, so I'm used to that. I think it's also easier if we
need to edit strings, that they are all in the same place in each file.
Looking for a string? Look for it in retranslateUi.

-- 
Raoul Snyman, B.Tech IT (Software Engineering)
Saturn Laboratories
e: raoul.snyman at saturnlaboratories.co.za
w: http://www.saturnlaboratories.co.za/
b: http://blog.saturnlaboratories.co.za/
   http://raoulsnyman.co.za/



More information about the bt-devel mailing list