Skip to content

Commit

Permalink
moved "dB" from slider tooltip to slider title as it doesn't fit in t…
Browse files Browse the repository at this point in the history
…he tooltips anymore
  • Loading branch information
CaCO3 committed May 5, 2024
1 parent 57d9e9d commit 0075350
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions html/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":{
Expand Down
6 changes: 3 additions & 3 deletions html/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":{
Expand Down
6 changes: 3 additions & 3 deletions html/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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":{
Expand Down
2 changes: 1 addition & 1 deletion html/management.html
Original file line number Diff line number Diff line change
Expand Up @@ -2527,7 +2527,7 @@ <h5 class="modal-title" data-i18n="tools.nvserase.title"></h5>
}

function formatDBTooltip(target, value) {
target.querySelector('.tooltip-main .tooltip-inner').innerHTML = `${value} dB`;
target.querySelector('.tooltip-main .tooltip-inner').innerHTML = `${value}`;
}

function updateTabStyle() {
Expand Down

0 comments on commit 0075350

Please sign in to comment.