From 007535057c13fd67e693152ff8a89bb9dfec98ea Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Sun, 5 May 2024 20:59:43 +0200 Subject: [PATCH] moved "dB" from slider tooltip to slider title as it doesn't fit in the tooltips anymore --- html/locales/de.json | 6 +++--- html/locales/en.json | 6 +++--- html/locales/fr.json | 6 +++--- html/management.html | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/html/locales/de.json b/html/locales/de.json index 0949f744..2eca5197 100644 --- a/html/locales/de.json +++ b/html/locales/de.json @@ -258,9 +258,9 @@ }, "equalizer":{ "title":"Equalizer", - "gainLowPass":"Tiefen", - "gainBandPass":"Mitten", - "gainHighPass":"Höhen", + "gainLowPass":"Tiefen (in dB)", + "gainBandPass":"Mitten (in dB)", + "gainHighPass":"Höhen (in dB)", "info":"Die Frequenzen sind laut Bibliothek (ESP32-audioI2S) 500 Hz LowShelf, 3000 Hz PeakEQ und 6000 Hz HighShelf." }, "neopixel":{ diff --git a/html/locales/en.json b/html/locales/en.json index 9ce1ac3e..a593d4b0 100644 --- a/html/locales/en.json +++ b/html/locales/en.json @@ -258,9 +258,9 @@ }, "equalizer":{ "title":"Equalizer", - "gainLowPass":"Lows", - "gainBandPass":"Mids", - "gainHighPass":"Highs", + "gainLowPass":"Lows (in dB)", + "gainBandPass":"Mids (in dB)", + "gainHighPass":"Highs (in dB)", "info":"According to the library (ESP32-audioI2S), the frequencies are 500 Hz LowShelf, 3000 Hz PeakEQ and 6000 Hz HighShelf." }, "neopixel":{ diff --git a/html/locales/fr.json b/html/locales/fr.json index ca1480af..5c837515 100644 --- a/html/locales/fr.json +++ b/html/locales/fr.json @@ -258,9 +258,9 @@ }, "equalizer":{ "title":"Égaliseur", - "gainLowPass":"Graves", - "gainBandPass":"Médiums", - "gainHighPass":"Aigus", + "gainLowPass":"Graves (en dB)", + "gainBandPass":"Médiums (en dB)", + "gainHighPass":"Aigus (en dB)", "info":"Les fréquences sont, selon la bibliothèque (ESP32-audioI2S), 500 Hz LowShelf, 3000 Hz PeakEQ et 6000 Hz HighShelf." }, "neopixel":{ diff --git a/html/management.html b/html/management.html index 3374e209..48b9b68b 100644 --- a/html/management.html +++ b/html/management.html @@ -2527,7 +2527,7 @@ } function formatDBTooltip(target, value) { - target.querySelector('.tooltip-main .tooltip-inner').innerHTML = `${value} dB`; + target.querySelector('.tooltip-main .tooltip-inner').innerHTML = `${value}`; } function updateTabStyle() {