KImageIO::mimeTypes and SVG/SVGZ Files
Michael Pyne
mpyne at kde.org
Wed Aug 31 16:39:13 BST 2011
On Wednesday, August 31, 2011 16:33:15 Stefan Majewsky wrote:
> On Wed, Aug 31, 2011 at 4:20 PM, Albert Astals Cid <aacid at kde.org> wrote:
> >> But I have a general question: Why is there a "Name[lang]=" field at all
> >> ?
> >> The translation for the mime types is already given in the
> >> shared-mime-info
> >> database.
> >
> > Because it is a .desktop file and .desktop Name fields are translated.
>
> I think the question is, why is there a Name field in the desktop file
> when the shared-mime-info database has that data already?
The Desktop Entry Spec far predates shared-mime-info IIRC. And besides,
desktop files provide a superset of mime-type info. There's probably a good
underlying question here (such as why use .desktop files for mime types now
that we have shared-mime-info) but the reason Name fields in .desktop files
are translated is an easy enough answer.
Regards,
- Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20110831/535f0788/attachment.sig>
More information about the kde-core-devel
mailing list