Add degraded quality tooltip explaining resampling and how to fix it

This commit is contained in:
vicrodh committed 2026-02-08 15:55:53 -06:00
1 parent 4df3fa52a4
commit 2040ab116c
5 files changed
+11 -5

No files matched your search

+3 -1
View File
@@ -1,4 +1,6 @@
<script lang="ts">
import { t } from '$lib/i18n';
interface Props {
quality?: string;
bitDepth?: number;
@@ -138,7 +140,7 @@
<div
class="quality-badge"
class:downgraded={isDowngraded}
title={isDowngraded ? `Playing at ${displayText} (original: ${originalQualityText})` : `${tierLabel}: ${displayText}`}
title={isDowngraded ? $t('quality.degradedTooltip', { values: { original: originalQualityText, current: displayText } }) : `${tierLabel}: ${displayText}`}
>
<!-- Icon container with fixed width -->
<div class="icon-container">
+2 -1
View File
@@ -425,7 +425,8 @@
"bitDepth": "{depth}-Bit",
"sampleRate": "{rate} kHz",
"lossless": "Lossless",
"max": "Max"
"max": "Max",
"degradedTooltip": "{original} → {current} (resampled). Aktiviere DAC Passthrough oder Exklusivmodus unter Einstellungen → Audio."
},
"actions": {
"play": "Abspielen",
+2 -1
View File
@@ -439,7 +439,8 @@
"bitDepth": "{depth}-bit",
"sampleRate": "{rate} kHz",
"lossless": "Lossless",
"max": "Max"
"max": "Max",
"degradedTooltip": "{original} → {current} (resampled). Enable DAC Passthrough or Exclusive Mode in Settings → Audio."
},
"actions": {
"play": "Play",
+2 -1
View File
@@ -439,7 +439,8 @@
"bitDepth": "{depth}-bit",
"sampleRate": "{rate} kHz",
"lossless": "Sin Pérdida",
"max": "Máx"
"max": "Máx",
"degradedTooltip": "{original} → {current} (remuestreado). Activa DAC Passthrough o Modo Exclusivo en Ajustes → Audio."
},
"actions": {
"play": "Reproducir",
+2 -1
View File
@@ -425,7 +425,8 @@
"bitDepth": "{depth} bits",
"sampleRate": "{rate} kHz",
"lossless": "Sans perte",
"max": "Max"
"max": "Max",
"degradedTooltip": "{original} → {current} (rééchantillonné). Activez DAC Passthrough ou Mode Exclusif dans Paramètres → Audio."
},
"actions": {
"play": "Lecture",