Add degraded quality tooltip explaining resampling and how to fix it
This commit is contained in:
1 parent
4df3fa52a4
commit
2040ab116c
5 files changed
+11
-5
No files matched your search
@@ -1,4 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { t } from '$lib/i18n';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
quality?: string;
|
quality?: string;
|
||||||
bitDepth?: number;
|
bitDepth?: number;
|
||||||
@@ -138,7 +140,7 @@
|
|||||||
<div
|
<div
|
||||||
class="quality-badge"
|
class="quality-badge"
|
||||||
class:downgraded={isDowngraded}
|
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 -->
|
<!-- Icon container with fixed width -->
|
||||||
<div class="icon-container">
|
<div class="icon-container">
|
||||||
|
|||||||
@@ -425,7 +425,8 @@
|
|||||||
"bitDepth": "{depth}-Bit",
|
"bitDepth": "{depth}-Bit",
|
||||||
"sampleRate": "{rate} kHz",
|
"sampleRate": "{rate} kHz",
|
||||||
"lossless": "Lossless",
|
"lossless": "Lossless",
|
||||||
"max": "Max"
|
"max": "Max",
|
||||||
|
"degradedTooltip": "{original} → {current} (resampled). Aktiviere DAC Passthrough oder Exklusivmodus unter Einstellungen → Audio."
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"play": "Abspielen",
|
"play": "Abspielen",
|
||||||
|
|||||||
@@ -439,7 +439,8 @@
|
|||||||
"bitDepth": "{depth}-bit",
|
"bitDepth": "{depth}-bit",
|
||||||
"sampleRate": "{rate} kHz",
|
"sampleRate": "{rate} kHz",
|
||||||
"lossless": "Lossless",
|
"lossless": "Lossless",
|
||||||
"max": "Max"
|
"max": "Max",
|
||||||
|
"degradedTooltip": "{original} → {current} (resampled). Enable DAC Passthrough or Exclusive Mode in Settings → Audio."
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"play": "Play",
|
"play": "Play",
|
||||||
|
|||||||
@@ -439,7 +439,8 @@
|
|||||||
"bitDepth": "{depth}-bit",
|
"bitDepth": "{depth}-bit",
|
||||||
"sampleRate": "{rate} kHz",
|
"sampleRate": "{rate} kHz",
|
||||||
"lossless": "Sin Pérdida",
|
"lossless": "Sin Pérdida",
|
||||||
"max": "Máx"
|
"max": "Máx",
|
||||||
|
"degradedTooltip": "{original} → {current} (remuestreado). Activa DAC Passthrough o Modo Exclusivo en Ajustes → Audio."
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"play": "Reproducir",
|
"play": "Reproducir",
|
||||||
|
|||||||
@@ -425,7 +425,8 @@
|
|||||||
"bitDepth": "{depth} bits",
|
"bitDepth": "{depth} bits",
|
||||||
"sampleRate": "{rate} kHz",
|
"sampleRate": "{rate} kHz",
|
||||||
"lossless": "Sans perte",
|
"lossless": "Sans perte",
|
||||||
"max": "Max"
|
"max": "Max",
|
||||||
|
"degradedTooltip": "{original} → {current} (rééchantillonné). Activez DAC Passthrough ou Mode Exclusif dans Paramètres → Audio."
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"play": "Lecture",
|
"play": "Lecture",
|
||||||
|
|||||||
Reference in new issue
Block a user