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 766874 - self-contained featured banner
self-contained featured banner
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
: 768512 (view as bug list)
Depends on: 768562
Blocks:
 
 
Reported: 2016-05-25 16:51 UTC by Jakub Steiner
Modified: 2018-01-24 17:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jakub Steiner 2016-05-25 16:51:27 UTC
To keep banners localizable, we don't just use images. However the stylesheet snippet inside an ini file isn't particularly nice to work with from the artist perspective. I think it would be desirable to be able to have a self contained banner image (SVG) that worked as a template, including strings like %%title or %%description. Producing such banner would not require rebuilding of Software and even allowed better decentralization of it.

Here's a mockup of how featured banners might look like -- https://raw.githubusercontent.com/gnome-design-team/gnome-mockups-software/master/high-fidelity-mockups/landing-page/banners-maps.png
Comment 1 Richard Hughes 2016-05-26 08:01:21 UTC
So we can certainly do this; you can already specify an SVG in the CSS and do some simple replacements, although I think at the moment they're limited to DATADIR and other uninteresting things. Can you do me an example and I'll see if I can make it work. Thanks!
Comment 2 Jakub Steiner 2016-05-31 17:40:13 UTC
I quickly jumped into a solution with my template idea. Another one might be using a standard translation tool we used for getting started -- itstool. That was we could really just have plain SVG files and provide translations using standard pot files.
Comment 3 Richard Hughes 2016-05-31 19:15:45 UTC
So itstool isn't going to work great as we'd need to translate the images according to the freezes etc; using the existing data from the AppData file means we get localized strings for free.
Comment 4 Jakub Steiner 2016-07-07 12:01:53 UTC
*** Bug 768512 has been marked as a duplicate of this bug. ***
Comment 5 GNOME Infrastructure Team 2018-01-24 17:07:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/61.