Zanshin is in kdereview

Kevin Ottens ervin at kde.org
Mon Jun 19 20:38:08 BST 2017


Hello,

On Monday, 19 June 2017 18:56:39 CEST Luigi Toscano wrote:
> On Monday, 19 June 2017 18:50:23 CEST Kevin Ottens wrote:
> > On Tuesday, 13 June 2017 00:07:01 CEST Albert Astals Cid wrote:
> > > Have you read the page that speaks about how to write Messages.sh files?
> > > It's quite good. Please read it and explain what you don't understand.
> > 
> > It's more that I don't quite see clearly the distribution of the .po and
> > such after the Message.sh is run.
> > 
> > That being said, wouldn't that be more natural to either extend extractrc
> > to spit out mock QObject::tr() calls? Or to have the Message.sh run perl
> > on the file?
> > 
> > Sounds cleaner to me than having several catalogs loaded for an otherwise
> > self-contained application.
> 
> I haven't checked the code, but the idea is that:
> - messages handled by Qt translation system should end up in the <module>_qt
> file;
> - messages from KI18n should end up in a file or a set of files named as you
> want (you just need to set the proper domain which matches the file name).
> 
> So please try to follow these guidelines. If the application already uses
> KI18n directly or indirectly, I would just use it for everything.

I find unfortunate we actively discourage being able to work without ki18n in 
such case. But OK, got better things to do I'll stop fighting this one.

This one switches it all to i18n: https://phabricator.kde.org/D6283

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud supporter of KDE, http://www.kdab.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20170619/91366c2b/attachment.sig>


More information about the kde-core-devel mailing list