You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grab the first <image/> from the <screenshot type="default" /> in the <screenshots> section if it exists. If it doesn’t take the first image from the first screenshot (not the last), in the assumption that the author would likely have put the default first even if they didn’t mark it.
Full implementation (hard)
Actually create localised pages and serve them.
Prior Art (Optional)
The elementary OS AppCenter itself correctly displays localised pages and screenshots.
The text was updated successfully, but these errors were encountered:
Problem
If localised screenshots exist in the Flatpak metadata, they should be supported.
Currently, the first
<image/>
of the last<screenshot/>
in the<screenshots>
section is displayed.e.g., see https://appcenter.elementary.io/org.small_tech.comet/ where the Dutch screenshot is shown on the English page.
The relevant metadata markup is:
Proposal
Initial workaround (easy)
Grab the first
<image/>
from the<screenshot type="default" />
in the<screenshots>
section if it exists. If it doesn’t take the first image from the first screenshot (not the last), in the assumption that the author would likely have put the default first even if they didn’t mark it.Full implementation (hard)
Actually create localised pages and serve them.
Prior Art (Optional)
The elementary OS AppCenter itself correctly displays localised pages and screenshots.
The text was updated successfully, but these errors were encountered: