feat(ui): per-renderer quality cap row in the cast picker (#638)

CastState gains the fix-4 cap-row surface (device-cap-available/-key/
-options/-index + global-quality-label) and CastActions the
set-device-quality-cap(cap-key, index) callback - property/callback
additions to existing globals only, no app.slint export change. The
connected panel gets one label-left / QbzSelect-trailing row per the
flyout alignment rule (explicit menu-width, popup wider for the long
option labels, no pills), visible only when the renderer has a stable
identity, plus the muted caption that is the literal answer to #638:
Qobuz sells four discrete tiers, there is no 48 kHz option.

The quality-line suffix property now also names the cap at work
(cause 3, 'capped for this device') when no over-cap disclosure takes
precedence. Copy discipline throughout: the cap is the user's own
quality/bandwidth choice - never an implied device incapability
(renderers accept ~anything and downsample internally).

i18n: 8 new msgids in ALL EIGHT locales (en identity-translated),
including the cause-3 tooltip line AudioStamp pre-wired in fix 1.
Unit style matched per catalog (ru Cyrillic units, nl decimal comma).
Validated with the slintcheck stub (full tree + all catalogs).

cc
This commit is contained in:
vicrodh committed 2026-07-20 15:25:58 -06:00
1 parent 0185ee00ca
commit 3118abb4a1
10 files changed
+260 -11

No files matched your search

@@ -4726,3 +4726,27 @@ msgstr "De exacte limieten van je apparaat konden op dit systeem niet worden uit
msgid "Detected device limit"
msgstr "Gedetecteerde apparaatlimiet"
msgid "Quality for this device"
msgstr "Kwaliteit voor dit apparaat"
msgid "Follow app setting ({})"
msgstr "App-instelling volgen ({})"
msgid "Hi-Res — 24-bit, up to 96 kHz"
msgstr "Hi-Res — 24-bit, tot 96 kHz"
msgid "CD — 16-bit / 44.1 kHz"
msgstr "CD — 16-bit / 44,1 kHz"
msgid "MP3 320"
msgstr "MP3 320"
msgid "Qobuz only offers these tiers — there is no 48 kHz option. The step below Hi-Res is CD 44.1 kHz."
msgstr "Qobuz biedt alleen deze niveaus — er is geen 48 kHz-optie. De stap onder Hi-Res is CD 44,1 kHz."
msgid "Limited by the quality cap for this device"
msgstr "Beperkt door de kwaliteitslimiet voor dit apparaat"
msgid "capped for this device"
msgstr "begrensd voor dit apparaat"