kcoreaddons: is src/mimetypes/kde.xml still in use?

Burkhard Lück lueck at hube-lueck.de
Thu Apr 10 15:43:02 UTC 2014


Am Donnerstag, 10. April 2014, 08:28:51 schrieb Aurélien Gâteau:
> On Thu, Apr 10, 2014, at 6:36, Burkhard Lück wrote:
> > Am Donnerstag, 10. April 2014, 00:25:21 schrieb Aurélien Gâteau:
> > > On Wed, Apr 9, 2014, at 9:57, Burkhard Lück wrote:
> > > > Am Mittwoch, 9. April 2014, 06:59:08 schrieb Aurélien Gâteau:
> > > > > Hi,
> > > > > 
> > > > > I am trying to figure out which code is responsible for loading
> > > > > xml_mimetypes.po. This file is produced by scripty when running on
> > > > > kcoreaddons, but I can't find any code actually loading the catalog.
> > > > > Is
> > > > > my git grep fu too weak?
> > > > 
> > > > No, this is just a intermediate file, not loaded directly, of an only
> > > > half
> > > > finished solution to translate MIME type entries, see
> > > > http://osdir.com/ml/kde-i18n-doc/2013-12/msg00055.html
> > > 
> > > What do you recommend we do for it then? Rename it to xml_mimetypes5.po
> > > or just remove it?
> > 
> > Rename or remove does not work, the template xml_mimetypes.pot will be
> > recreated on Scripty's next run via function po_for_file in
> > XmlMessages.sh
> 
> Actually I meant either remove XmlMessages.sh (since this translation is
> not used) or change the catalog name in XmlMessages.sh.
> 
Please do not remove XmlMessages.sh, it is used to extract the messages 
properly and I am working on a solution to add the translated entries back 
into kde[5].xml similar as with our .desktop files.

Feel free to change catalog name in function po_for_file in XmlMessages.sh to 
xml_mimetypes5.po.

-- 
Burkhard Lück



More information about the Kde-frameworks-devel mailing list