Re: Name vs GenericName (again)
- From: "Matthias Clasen" <matthias clasen gmail com>
- To: desktop-devel-list gnome org
- Subject: Re: Name vs GenericName (again)
- Date: Sat, 26 Jul 2008 00:24:38 -0400
On Fri, Jul 25, 2008 at 2:13 PM, Vincent Untz <vuntz gnome org> wrote:
> Le vendredi 25 juillet 2008, à 13:56 -0400, Matthias Clasen a écrit :
>> On Fri, Jul 25, 2008 at 1:40 PM, Vincent Untz <vuntz gnome org> wrote:
>>
>> >
>> > I don't care where they get translated (either in the desktop files, or
>> > in some library).
>> >
>>
>> + 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.
>>
>> This part of your proposal was particularly unclear.
>>
>> - what do you suggest the panel to find in the desktop file
>> - what do you suggest the panel pass to translators for translating ?
>
> Sorry if this wasn't clear. I guess an example will help:
>
> [Desktop Entry]
> Type=Application
> Name=Totem Movie Player
> Name[fr]=Lecteur vidéo Totem
> GenericName=Movie Player
> GenericName[fr]=Lecteur vidéo
> ...
So your proposal is pretty similar to my earlier proposal, except that
mine adds an new 'DescriptiveName' field for the combined string:
Type=Application
Name=Totem
GenericName=Movie Player
DescriptiveName=Totem Movie Player
This has the advantage that the Name field can remain just as the spec
says, the application name. It has the disadvantage that it adds a new
field that we would
have to add to the spec.
You can use the same algorithm that you propopsed:
if (GenericName is unique in menu)
use GenericName
else
use DescriptiveName
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]