Re: what about /etc/magic? (was Call for file types for Nautilus)



Den 27 Feb 2001 15:27:28 +0800, skrev James Henstridge:
> On Tue, 27 Feb 2001, Liam Quin wrote:
> 
>
> > Natural language descriptions for MIME types would also be useful.
> 
> Given you may have a number of entries in the magic file that map to a
> single mime type, putting the descriptions in the magic file would lead to
> a bit of duplication -- better to put it in a file that uses the mime type
> as a key, rather than magic data.
> 

Snippet from gnome-vfs/data/mime/gnome-vfs.keys:

application/msword
	description=Microsoft Word document
	[no]description=Microsoft Word dokument

Is this what you meant?


> > For i18n purposes, maybe we should have magic.xml insted? :-)
> 

xml-i18n-tools does it's job nicely.

Cheers
Kjartan






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]