mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
Physical games were addable and visible but not selectable: nothing let a user ask "what do I own on a shelf?" or exclude shelf entries from a view of what is actually on disk. Expose the handler's `physical` filter as a `GET /roms` query param and carry it through the v2 gallery the way `filterSoundtrack` is carried: a tri-state row in the filter drawer (all / physical only / file-backed only), the toolbar's active count, `?filterPhysical=` in the URL so a filtered view stays bookmarkable, and the smart-collection criteria plus their summary row. Reuses mdi-cube-outline, already this feature's icon, with cube-off-outline as the negative. Translated into all 18 locales, taking each one's existing term for a physical game from rom.json. Verified against the dev library (74898 roms): physical=1, file-backed=74897, an exact partition, with the filtered gallery showing only the physical entry in both themes and the control reachable by keyboard. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>