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
xml_mimetypes.po[t] is an intermediate file only used by Scripty and the translators. So far we have two files xml_mimetypes.po in the trunk translation branch, which tracks frameworks + kde4 master. But this duplication for translators will disappear soon, the third translation branch for frameworks in trunk/l10n-kf5 is nearly ready to get started. kde.xml (kdelibs) + kde5.xml (frameworks/kcoreaddons) are the files used at build time to update xdg mimetypes translations. But this does not work so far, the mimetype translations from lang/xml_mimetypes.po are not added into kde[5].xml. There is already a distinction (kde.xml + kde5.xml), therefore nothing has to be changed from my pov. Thanks. -- Burkhard Lück _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel