On Fri, Jul 25, 2008 at 2:13 PM, Vincent Untz <[EMAIL PROTECTED]> wrote:
> Le vendredi 25 juillet 2008, à 13:56 -0400, Matthias Clasen a écrit :
>> On Fri, Jul 25, 2008 at 1:40 PM, Vincent Untz <[EMAIL PROTECTED]> 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
_______________________________________________
desktop-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to