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

Bug#718169: Leading underscore in desktop file entry not recognized



Package: lintian

Running Lintian 2.5.15 in sid, I got this warning:

I: gnuhealth-client: desktop-entry-lacks-keywords-entry usr/share/applications/gnuhealth-client.desktop

I follow the links from the info on the Lintian report page [0], and find the following example from the Gnome website [1]:

_Keywords=chat;messaging;im;irc;voip;

According to that page, "Maintainers/developers must set a preceding underscore in "_Keywords" to inform intltool that this field should be extracted, and its translations merged back into the .desktop.in file."

When running Lintian again, instead of the warning disappearing, a new one appears ;)


W: gnuhealth-client: desktop-entry-contains-unknown-key usr/share/applications/gnuhealth-client.desktop:11 _Keywords
I: gnuhealth-client: desktop-entry-lacks-keywords-entry usr/share/applications/gnuhealth-client.desktop


When removing the underscore, all warnings disappear.
I assume Lintian does not recognize the leading underscore in desktop file entries (or maybe just for the newer Keywords)?

Cheers,
   +Emilien

[0] http://lintian.debian.org/tags/desktop-entry-lacks-keywords-entry.html
[1] https://wiki.gnome.org/GnomeGoals/DesktopFileKeywords

Reply to: