GNOME Bugzilla – Bug 708252
Add a target for validating desktop files at check-local
Last modified: 2014-05-02 18:13:38 UTC
Something like this can be useful to catch breakages caused by translations. Here is an example: https://git.gnome.org/browse/gnome-photos/commit/?id=c3105da2b1903c856206ced9065ee080c61160a2
Maybe adding a condition in git to check it when commit is done (like msgfmt check is done to avoid syntax errors in po files) would be better, as it doesn't implies to modify all existing modules, and translator/commiter can be noticed inmediatly. Is it possible?
I think that this is a good idea, and should follow what I did for APPDATA_XML and be put into the project containing the tools to validate it. In other words, this should be put into desktop-file-utils.
I’ve filed a bug against upstream desktop-file-utils: https://bugs.freedesktop.org/show_bug.cgi?id=78201