On Wednesday, August 31, 2011 16:33:15 Stefan Majewsky wrote: > On Wed, Aug 31, 2011 at 4:20 PM, Albert Astals Cid <aa...@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
signature.asc
Description: This is a digitally signed message part.