After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709436 - gnome-software needs to filter filter the locales in the appdata plugin
gnome-software needs to filter filter the locales in the appdata plugin
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-10-04 15:55 UTC by Dominique Leuenberger
Modified: 2013-10-05 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-software appdata.xml with all translations (5.67 KB, text/xml)
2013-10-04 15:55 UTC, Dominique Leuenberger
Details
Screenshot how gnome-software represents itself (90.01 KB, image/png)
2013-10-04 15:56 UTC, Dominique Leuenberger
Details

Description Dominique Leuenberger 2013-10-04 15:55:20 UTC
Bug seen on openSUSE Test bed

gnome-software has it's onwn appdata.xml installed in /usr/local/share/appdata (due to local build from git master, not packaged)

gnome-software is also listed in the 'repository' appdata.xml.gz (saved in /var/cache/app-info/xmls).
Comment 1 Dominique Leuenberger 2013-10-04 15:55:50 UTC
Created attachment 256483 [details]
gnome-software appdata.xml with all translations
Comment 2 Dominique Leuenberger 2013-10-04 15:56:20 UTC
Created attachment 256484 [details]
Screenshot how gnome-software represents itself
Comment 3 Richard Hughes 2013-10-05 19:01:08 UTC
I've added this to master:

commit d21eec67970dd88551d0c1a6c5e0de73fc936807
Author: Richard Hughes <richard@hughsie.com>
Date:   Sat Oct 5 19:47:42 2013 +0100

    Only show LANG=C descriptions from AppData files
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=709436

:100644 100644 b8b3978... be2df07... M  src/plugins/gs-plugin-appdata.c

commit 3411a21ccc01d287b8b30b7a52d3b70cf211e807
Author: Richard Hughes <richard@hughsie.com>
Date:   Sat Oct 5 19:57:40 2013 +0100

    trivial: Move the location of appstream_app_get_locale_value()
    
    We need this for AppData too.

:100644 100644 6c28c1a... 47f2449... M  src/plugins/appstream-app.c
:100644 100644 77d0f8a... 3140473... M  src/plugins/appstream-common.c
:100644 100644 fc4d3c7... a9e1107... M  src/plugins/appstream-common.h

commit a7eced7e36a87b856f2a2dc5106c45b86c2f196b
Author: Richard Hughes <richard@hughsie.com>
Date:   Sat Oct 5 19:58:22 2013 +0100

    Show the best locale when using AppData files for the long description
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=709436

:100644 100644 be2df07... eb30f66... M  src/plugins/gs-plugin-appdata.c