On Fri, Jan 16, 2009 at 11:53 AM, Heikki Johannes Junes
<[email protected]> wrote:
> I have just finished the i18n() -> QObject::tr() .

Thanks indeed, that went very quickly!

Of course, when tr() is called from within a subclass of QObject, you
can just write tr() instead of QObject::tr().  You then get the small
advantage of having the class name given as context in the translation
(I think).

I can trivially script this change, if you like, by the simple
expedient of changing all occurrences in a given file and then seeing
whether the file still compiles or not, reverting if not.  I'm happy
to do that right away if you haven't got any other plans that would
conflict with it (or any reason why it's not a good idea).


Chris

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to