Re: Name vs GenericName (again)



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.

Here is a proposal I came up with earlier when the same question was
discussed in Fedora:

https://www.redhat.com/archives/fedora-devel-list/2007-September/msg01503.html


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