Use of tr/i18n/QApplication::translate in tier1/2 frameworks

George Goldberg grundleborg at googlemail.com
Tue Apr 30 18:02:40 UTC 2013


There's a task in the kdelibs_cleanup epic that's been assigned to me for a
few months, namely using the correct method call for translatable strings
in tier1/2 frameworks where ki18n isn't available.  Way back, I changed
them all to QCoreApplication::translate with no context, which at the time
was considered the "correct solution", but almost as soon as it was done it
became apparent that this wasn't necessarily the correct solution and we
should wait until it became apparent what the correct solution was before
proceeding.

Since then, the task on the wiki has been updated to say "use tr()".  I'd
like to get that task finished if possible, so my question is, was a
consensus ever agreed on what is the way to proceed, and if so, what was
it, and if not, could anyone with ideas about this please weigh in?

Cheers,

George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130430/2504efbe/attachment.html>


More information about the Kde-frameworks-devel mailing list