Re: Name vs GenericName (again)
- From: Vincent Untz <vuntz gnome org>
- To: desktop-devel-list gnome org
- Subject: Re: Name vs GenericName (again)
- Date: Fri, 25 Jul 2008 19:27:20 +0200
Le vendredi 25 juillet 2008, à 13:20 -0400, Matthias Clasen a écrit :
> On Fri, Jul 25, 2008 at 8:52 AM, Vincent Untz <vuntz gnome org> wrote:
> > Hi,
> > In GNOME, we generally only use Name. Which mean gedit appears as "Text
> > Editor" and Totem as "Movie Player". Makes a lot of sense to me.
> > However, if you install another text editor or movie player, we end up
> > with something like "Text Editor" and "GVIM" in the menus, or "Movie
> > Player" and "VLC Movie Player", etc.
> > It doesn't really help that much. I'd like to propose the following:
> > + define at the fd.o level some standard GenericName values (Text
> > Editor, Movie Player, Calculator, etc.)
> > + start using those GenericName values in .desktop files in GNOME
> > + when using GenericName, then define Name as "name of the app +
> > generic name" or "GNOME + generic name". Eg: "Totem Movie Player" or
> > "GNOME Movie Player". We do this for translators, since we cannot
> > automatically concatenate the name and the generic name.
> > + when displaying a menu, use this algorithm:
> > - if only one item for some value of GenericName, then display this
> > item as GenericName
> > - if two items for GenericName, then display both items with their
> > names.
> > This way, we'll have "Movie Player" when only totem is installed, and
> > "Totem Movie Player" and "VLC Movie Player" when totem and vnc are
> > installed.
> > Opinions?
> Any approach that is based on programmatically combining name and
> generic name is broken, i18n-wise.
I explicitly mentioned that we don't do this programmatically :-)
Les gens heureux ne sont pas pressés.
] [Thread Prev