Reclassify Icon= in .desktop files as string, not localestring

Egmont Koblinger egmont at gmail.com
Wed Jun 26 10:28:48 UTC 2019


On Wed, Jun 26, 2019 at 12:20 PM Will Thompson <wjt at endlessm.com> wrote:

> I re-read the spec and the spec actually is wrong. It says (emphasis mine):
>
>> Values of type localestring are user displayable, and are encoded in UTF-8.
>
> Icon and other keys are defined to be of type localestring. By a literal reading of this specification, xgettext's behaviour is correct. But the spec is wrong: icon names are not user displayable.

Nice catch! Indeed deserves to be fixed :)

Nevertheless, I vote for fixing it without removing the possibility of
localizing this field.

>> 4. Change GNOME, KDE etc. not to recognize these localized entries
>
>  Tools that just consume .desktop files do not need any changes: they can continue to respect icon localizations if present.

But then really, really, really, what's the point of removing this
from the spec (making it an unofficial extension)???


cheers,
egmont


More information about the xdg mailing list