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

@@ -4714,3 +4714,27 @@ msgstr "Die genauen Limits Ihres Geräts konnten auf diesem System nicht ausgele
msgid "Detected device limit"
msgstr "Erkanntes Gerätelimit"
msgid "Quality for this device"
msgstr "Qualität für dieses Gerät"
msgid "Follow app setting ({})"
msgstr "App-Einstellung folgen ({})"
msgid "Hi-Res — 24-bit, up to 96 kHz"
msgstr "Hi-Res — 24-bit, bis zu 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 bietet nur diese Stufen an — eine 48-kHz-Option gibt es nicht. Die Stufe unter Hi-Res ist CD 44.1 kHz."
msgid "Limited by the quality cap for this device"
msgstr "Begrenzt durch das Qualitätslimit für dieses Gerät"
msgid "capped for this device"
msgstr "für dieses Gerät begrenzt"