From 659a5b7718bb1cb376b81d817f70c4eb3f83b73c Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Sun, 8 Feb 2026 16:26:31 -0600 Subject: [PATCH] Add i18n keys for structured quality tooltip Replace single degradedTooltip string with quality.tooltip.* keys (source, output, resampled, fix) for the new custom tooltip in QualityBadge. Updated all 4 locales (en, es, de, fr). --- src/lib/i18n/locales/de.json | 7 ++++++- src/lib/i18n/locales/en.json | 7 ++++++- src/lib/i18n/locales/es.json | 7 ++++++- src/lib/i18n/locales/fr.json | 7 ++++++- 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/lib/i18n/locales/de.json b/src/lib/i18n/locales/de.json index 333937abc..23c5f0f44 100644 --- a/src/lib/i18n/locales/de.json +++ b/src/lib/i18n/locales/de.json @@ -426,7 +426,12 @@ "sampleRate": "{rate} kHz", "lossless": "Lossless", "max": "Max", - "degradedTooltip": "{original} → {current} (resampled). Aktiviere DAC Passthrough oder Exklusivmodus unter Einstellungen → Audio." + "tooltip": { + "source": "Quelle", + "output": "Ausgabe", + "resampled": "Vom System resampled", + "fix": "Aktiviere DAC Passthrough oder Exklusivmodus in den Einstellungen" + } }, "actions": { "play": "Abspielen", diff --git a/src/lib/i18n/locales/en.json b/src/lib/i18n/locales/en.json index 763efac99..78435c69c 100644 --- a/src/lib/i18n/locales/en.json +++ b/src/lib/i18n/locales/en.json @@ -440,7 +440,12 @@ "sampleRate": "{rate} kHz", "lossless": "Lossless", "max": "Max", - "degradedTooltip": "{original} → {current} (resampled). Enable DAC Passthrough or Exclusive Mode in Settings → Audio." + "tooltip": { + "source": "Source", + "output": "Output", + "resampled": "Resampled by system", + "fix": "Enable DAC Passthrough or Exclusive Mode in Settings" + } }, "actions": { "play": "Play", diff --git a/src/lib/i18n/locales/es.json b/src/lib/i18n/locales/es.json index 3c1fd4d0a..c442ddd69 100644 --- a/src/lib/i18n/locales/es.json +++ b/src/lib/i18n/locales/es.json @@ -440,7 +440,12 @@ "sampleRate": "{rate} kHz", "lossless": "Sin Pérdida", "max": "Máx", - "degradedTooltip": "{original} → {current} (remuestreado). Activa DAC Passthrough o Modo Exclusivo en Ajustes → Audio." + "tooltip": { + "source": "Fuente", + "output": "Salida", + "resampled": "Remuestreado por el sistema", + "fix": "Activa DAC Passthrough o Modo Exclusivo en Ajustes" + } }, "actions": { "play": "Reproducir", diff --git a/src/lib/i18n/locales/fr.json b/src/lib/i18n/locales/fr.json index 027f5f58b..feef3a737 100644 --- a/src/lib/i18n/locales/fr.json +++ b/src/lib/i18n/locales/fr.json @@ -426,7 +426,12 @@ "sampleRate": "{rate} kHz", "lossless": "Sans perte", "max": "Max", - "degradedTooltip": "{original} → {current} (rééchantillonné). Activez DAC Passthrough ou Mode Exclusif dans Paramètres → Audio." + "tooltip": { + "source": "Source", + "output": "Sortie", + "resampled": "Rééchantillonné par le système", + "fix": "Activez DAC Passthrough ou Mode Exclusif dans les Paramètres" + } }, "actions": { "play": "Lecture",