I'm not in favor of it, but it allows us to at least display a name, and
that's as far as I'm prepared to take my support of their awful platform.

On Wed, Jun 13, 2012 at 9:34 PM, Michaël Bouchaud <y...@efl.so> wrote:

> Hum ... if we support '_NAME' maybee we need to support too, the UBUNTU`s
> mess with po '.desktop' files ????
> Someone have some sugestion about it. I'm really disagreed with this
> approach, many stats to have only one translated string.
> But ubuntu is very popular ... :'( and they don't care about unity ^^
> so did you mean we must care about X-Ubuntu-Gettext-Domain and translate
> strings with it ????
>
> 2012/6/11 Enlightenment SVN <no-re...@enlightenment.org>
>
> > Log:
> > the dicks at canonical like to break fdo .desktop file spec by adding
> > invalid characters (underscores) to key names. we are not amused.
> >
> >
> > Author:       discomfitor
> > Date:         2012-06-11 02:38:10 -0700 (Mon, 11 Jun 2012)
> > New Revision: 71941
> > Trac:         http://trac.enlightenment.org/e/changeset/71941
> >
> > Modified:
> >  trunk/efreet/src/lib/efreet_desktop.c
> >
> > Modified: trunk/efreet/src/lib/efreet_desktop.c
> > ===================================================================
> > --- trunk/efreet/src/lib/efreet_desktop.c       2012-06-11 09:05:35 UTC
> > (rev 71940)
> > +++ trunk/efreet/src/lib/efreet_desktop.c       2012-06-11 09:38:10 UTC
> > (rev 71941)
> > @@ -809,10 +809,11 @@
> >     const char *not_show_in = NULL, *only_show_in = NULL;
> >
> >     val = efreet_ini_localestring_get(ini, "Name");
> > +    if (!val) val = efreet_ini_localestring_get(ini, "_Name");
> >     if (val) desktop->name = strdup(val);
> >     else
> >     {
> > -        ERR("efreet_desktop_generic_fields_parse error: no Name");
> > +        ERR("efreet_desktop_generic_fields_parse error: no Name or _Name
> > fields");
> >         return 0;
> >     }
> >
> > @@ -820,6 +821,7 @@
> >     if (val) desktop->generic_name = strdup(val);
> >
> >     val = efreet_ini_localestring_get(ini, "Comment");
> > +    if (!val) val = efreet_ini_localestring_get(ini, "_Comment");
> >     if (val) desktop->comment = strdup(val);
> >
> >     val = efreet_ini_localestring_get(ini, "Icon");
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > enlightenment-svn mailing list
> > enlightenment-...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> >
>
>
>
> --
> Michaël Bouchaud (yoz) <y...@efl.so>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to