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 "Les limites exactes de votre périphérique n'ont pas pu être lues sur
msgid "Detected device limit"
msgstr "Limite détectée du périphérique"
msgid "Quality for this device"
msgstr "Qualité pour cet appareil"
msgid "Follow app setting ({})"
msgstr "Suivre le réglage de l'app ({})"
msgid "Hi-Res — 24-bit, up to 96 kHz"
msgstr "Hi-Res — 24-bit, jusqu'à 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 ne propose que ces paliers — il n'existe pas d'option 48 kHz. Le palier sous Hi-Res est CD 44.1 kHz."
msgid "Limited by the quality cap for this device"
msgstr "Limité par le plafond de qualité pour cet appareil"
msgid "capped for this device"
msgstr "plafonné pour cet appareil"