feat(settings): dim disabled toggle rows + rename Clear → Clear queue (#778)

* feat(settings): dim disabled toggle rows + rename Clear → Clear queue

* Settings toggle rows (`.settings-toggle-row`, `.sidebar-customizer-row`) dim
  their non-toggle content to 0.6 opacity when the switch is off. Driven by a
  single `:has(.toggle-switch input:not(:checked):not(:disabled))` rule so it
  applies across every Settings tab without per-row markup. Mutex-disabled
  toggles (Crossfade/Gapless) are excluded to avoid stacking with the existing
  inline 0.45 dim on their row.
* Queue toolbar "Clear" button now reads "Clear queue" in all 9 locales for
  parity with "Shuffle queue" and to distinguish from playlist clear/delete.

Adopted from @kveld9's PR #558 — cherry-picked the spirit, rewrote the dim as
a single global selector instead of three inline-styled customizer rows, and
extended the rename to the Romanian locale that landed after #558 was opened.

Co-Authored-By: kveld9 <179108235+kveld9@users.noreply.github.com>

* docs(changelog,credits): credit @kveld9 for #778

Co-Authored-By: kveld9 <179108235+kveld9@users.noreply.github.com>

---------

Co-authored-by: kveld9 <179108235+kveld9@users.noreply.github.com>
This commit is contained in:
Frank Stellmacher
2026-05-18 15:21:45 +02:00
committed by GitHub
parent 9f10d8fafb
commit 562218f447
13 changed files with 31 additions and 10 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: 'An Warteschlange anhängen',
delete: 'Löschen',
deleteConfirm: 'Playlist "{{name}}" löschen?',
clear: 'Leeren',
clear: 'Warteschlange leeren',
shuffle: 'Warteschlange mischen',
gapless: 'Nahtlos',
crossfade: 'Crossfade',
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: 'Append to queue',
delete: 'Delete',
deleteConfirm: 'Delete playlist "{{name}}"?',
clear: 'Clear',
clear: 'Clear queue',
shuffle: 'Shuffle queue',
gapless: 'Gapless',
crossfade: 'Crossfade',
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: 'Agregar a cola',
delete: 'Eliminar',
deleteConfirm: '¿Eliminar lista "{{name}}"?',
clear: 'Limpiar',
clear: 'Limpiar cola',
shuffle: 'Mezclar cola',
gapless: 'Gapless',
crossfade: 'Crossfade',
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: 'Ajouter à la file',
delete: 'Supprimer',
deleteConfirm: 'Supprimer la liste « {{name}} » ?',
clear: 'Vider',
clear: 'Vider la file',
shuffle: 'Mélanger la file',
gapless: 'Sans blanc',
crossfade: 'Fondu',
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: 'Legg til i kø',
delete: 'Slett',
deleteConfirm: 'Slett spillelisten "{{name}}"?',
clear: 'Fjern',
clear: 'Tøm kø',
shuffle: 'Bland kø',
gapless: 'Uten mellomrom',
crossfade: 'Crossfade',
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: 'Toevoegen aan wachtrij',
delete: 'Verwijderen',
deleteConfirm: 'Afspeellijst "{{name}}" verwijderen?',
clear: 'Leegmaken',
clear: 'Wachtrij leegmaken',
shuffle: 'Wachtrij shufflen',
gapless: 'Naadloos',
crossfade: 'Overgang',
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: 'Adaugă la coadă',
delete: 'Șterge',
deleteConfirm: 'Șterge playlist "{{name}}"?',
clear: 'Golește',
clear: 'Golește coada',
shuffle: 'Amestecă coada',
gapless: 'Gapless',
crossfade: 'Crossfade',
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: 'Добавить в очередь',
delete: 'Удалить',
deleteConfirm: 'Удалить плейлист «{{name}}»?',
clear: 'Очистить',
clear: 'Очистить очередь',
shuffle: 'Перемешать',
gapless: 'Без пауз',
crossfade: 'Кроссфейд',
+1 -1
View File
@@ -13,7 +13,7 @@ export const queue = {
appendToQueue: '追加到队列',
delete: '删除',
deleteConfirm: '删除播放列表 "{{name}}"',
clear: '清空',
clear: '清空队列',
shuffle: '随机打乱队列',
gapless: '无缝播放',
crossfade: '交叉淡入淡出',