mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 06:15:58 +00:00
itch.io: browse the Store tab by sort and price, with paging and a disk cache
The Store tab only had four fixed shelves and a title search. A row of sort (Popular, New, Top rated, Top sellers) and price (Any, Free, On sale) chips now sets a BrowseQuery; anything but the defaults swaps the shelves for that query's games, loaded page by page as the grid scrolls. ItchBrowse builds itch's listing-feed URL (platform and tag segments are in the builder for the next change), tries each spelling of a price filter until one answers, spaces requests 1.2 s apart, backs off once on a 429, and keeps pages in the app cache for three hours. Every request is logged with its status and game count so a wrong URL guess can be fixed from a device. Owned games replace their browse copy so Install and the owned markers are right, and the detail page finds browse results. Strings for all 33 locales; URL-builder tests; docs/development/itch-browse.md.
This commit is contained in:
40 files changed
+708
-8
No files matched your search
@@ -2027,6 +2027,15 @@
|
||||
<string name="stores_itch_no_exe">Aucun jeu Windows trouvé dans le téléchargement</string>
|
||||
<string name="stores_itch_extract_failed">Impossible d\'extraire le téléchargement (code %1$d)</string>
|
||||
<string name="stores_itch_no_catalog">itch.io n\'a pas répondu</string>
|
||||
<string name="stores_itch_sort_popular">Populaires</string>
|
||||
<string name="stores_itch_sort_new">Nouveautés</string>
|
||||
<string name="stores_itch_sort_top_rated">Les mieux notés</string>
|
||||
<string name="stores_itch_sort_top_sellers">Meilleures ventes</string>
|
||||
<string name="stores_itch_price_any">Tous les prix</string>
|
||||
<string name="stores_itch_price_free">Gratuits</string>
|
||||
<string name="stores_itch_price_sale">En promotion</string>
|
||||
<string name="stores_itch_load_more">Charger plus</string>
|
||||
<string name="stores_itch_browse_failed">Impossible de charger les jeux d\'itch.io</string>
|
||||
<string name="stores_itch_archive">Les archives %1$s ne sont pas prises en charge</string>
|
||||
<string name="stores_itch_download_failed">itch.io a répondu HTTP %1$d</string>
|
||||
<string name="stores_free">Gratuit</string>
|
||||
|
||||
Reference in new issue
Block a user