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 "Não foi possível ler os limites exatos do seu dispositivo neste sistem
msgid "Detected device limit"
msgstr "Limite detetado do dispositivo"
msgid "Quality for this device"
msgstr "Qualidade para este dispositivo"
msgid "Follow app setting ({})"
msgstr "Seguir a definição da app ({})"
msgid "Hi-Res — 24-bit, up to 96 kHz"
msgstr "Hi-Res — 24-bit, até 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 "A Qobuz só oferece estes níveis — não há opção de 48 kHz. O nível abaixo de Hi-Res é CD 44.1 kHz."
msgid "Limited by the quality cap for this device"
msgstr "Limitado pelo limite de qualidade para este dispositivo"
msgid "capped for this device"
msgstr "limitado para este dispositivo"