[PATCH] Add long comments to shared-mime-info XML file

Christian Neumair chris at gnome-de.org
Sat Oct 15 07:36:18 PDT 2005


On Do, 2005-10-13 at 06:23 -0400, Behdad Esfahbod wrote:
> On Thu, 13 Oct 2005, Christian Neumair wrote:
> 
> > > I don't know about this patch.  Some of your long forms are a bit too
> > > long.  "Cascading Style Sheets stylesheet" and "Microsoft Windows Media
> > > Video video", for example, are particularly long and redundant, and
> > > would look stupid should a programmer ever actually employ the long
> > > comment form.
> >
> > Maybe you could come up with alternate proposals?
> >
> > > Since a lot of what you are doing seems to be acronym expansion, I think
> > > a better approach might be to use what many web pages employ nowadays,
> > > namely an <abbr> tag.
> >
> > Isn't that exactly what I was proposing, just that the <abbr> tag you
> > propose maps to the <comment> tag of my proposal, i.e.
> >
> >              | short desc., long desc. (expanded)
> > current       <comment>,    <comment>
> > your proposal <abbr>,       <comment>
> > my proposal   <comment>,    <long-comment>
> 
> What about going the exact HTML way:
> 
>   <_comment><abbr title="Cascading Style Sheets">CSS</abbr> stylesheet</_comment>
> 
> Assuming that the long-comment is typically useless, this way you
> have the short comment "CSS stylesheet" that most people want,
> and you can have a tooltip for the under-dotted-lined "CSS", like
> the browsers do these day.

I see no reason to apply HTML semantics here. This will even break
backward-compatibility if one simply upgrades shared-mime-info, and uses
software which interprets <comment>. Also, I'm not confident that
translators will grasp what that tag is all about.

-- 
Christian Neumair <chris at gnome-de.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/xdg/attachments/20051015/20cd3587/attachment.pgp 


More information about the xdg mailing list