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

@@ -4728,3 +4728,27 @@ msgstr "Не удалось прочитать точные пределы ва
msgid "Detected device limit"
msgstr "Обнаруженный предел устройства"
msgid "Quality for this device"
msgstr "Качество для этого устройства"
msgid "Follow app setting ({})"
msgstr "Следовать настройке приложения ({})"
msgid "Hi-Res — 24-bit, up to 96 kHz"
msgstr "Hi-Res — 24 бит, до 96 кГц"
msgid "CD — 16-bit / 44.1 kHz"
msgstr "CD — 16 бит / 44.1 кГц"
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 предлагает только эти уровни — варианта 48 кГц нет. Ступень ниже Hi-Res — CD 44.1 кГц."
msgid "Limited by the quality cap for this device"
msgstr "Ограничено пределом качества для этого устройства"
msgid "capped for this device"
msgstr "ограничено для этого устройства"