From 8fa89903e93131919645094f30d9698d5c8d32b9 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Thu, 26 Feb 2026 16:42:59 +0300 Subject: [PATCH] Add mono audio source crosslink and missing animation locale key - Make parent audio source badge on mono cards a clickable crosslink that navigates to the multichannel source card - Add missing color_strip.animation.type.none.desc locale key in en/ru/zh Co-Authored-By: Claude Opus 4.6 --- server/src/wled_controller/static/js/features/streams.js | 5 ++++- server/src/wled_controller/static/locales/en.json | 1 + server/src/wled_controller/static/locales/ru.json | 1 + server/src/wled_controller/static/locales/zh.json | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/server/src/wled_controller/static/js/features/streams.js b/server/src/wled_controller/static/js/features/streams.js index 9a2db40..0bdad40 100644 --- a/server/src/wled_controller/static/js/features/streams.js +++ b/server/src/wled_controller/static/js/features/streams.js @@ -1312,8 +1312,11 @@ function renderPictureSourcesList(streams) { const parent = _cachedAudioSources.find(s => s.id === src.audio_source_id); const parentName = parent ? parent.name : src.audio_source_id; const chLabel = src.channel === 'left' ? 'L' : src.channel === 'right' ? 'R' : 'M'; + const parentBadge = parent + ? `${ICON_AUDIO_LOOPBACK} ${escapeHtml(parentName)}` + : `${ICON_AUDIO_LOOPBACK} ${escapeHtml(parentName)}`; propsHtml = ` - ${ICON_AUDIO_LOOPBACK} ${escapeHtml(parentName)} + ${parentBadge} 📻 ${chLabel} `; } else { diff --git a/server/src/wled_controller/static/locales/en.json b/server/src/wled_controller/static/locales/en.json index 5963254..93e1160 100644 --- a/server/src/wled_controller/static/locales/en.json +++ b/server/src/wled_controller/static/locales/en.json @@ -639,6 +639,7 @@ "color_strip.animation.type": "Effect:", "color_strip.animation.type.hint": "Animation effect to apply.", "color_strip.animation.type.none": "None (no animation effect)", + "color_strip.animation.type.none.desc": "Static colors with no animation", "color_strip.animation.type.breathing": "Breathing", "color_strip.animation.type.breathing.desc": "Smooth brightness fade in and out", "color_strip.animation.type.color_cycle": "Color Cycle", diff --git a/server/src/wled_controller/static/locales/ru.json b/server/src/wled_controller/static/locales/ru.json index a98f194..30a65ad 100644 --- a/server/src/wled_controller/static/locales/ru.json +++ b/server/src/wled_controller/static/locales/ru.json @@ -639,6 +639,7 @@ "color_strip.animation.type": "Эффект:", "color_strip.animation.type.hint": "Эффект анимации.", "color_strip.animation.type.none": "Нет (без эффекта анимации)", + "color_strip.animation.type.none.desc": "Статичные цвета без анимации", "color_strip.animation.type.breathing": "Дыхание", "color_strip.animation.type.breathing.desc": "Плавное угасание и нарастание яркости", "color_strip.animation.type.color_cycle": "Смена цвета", diff --git a/server/src/wled_controller/static/locales/zh.json b/server/src/wled_controller/static/locales/zh.json index 789d5f4..a2ef2a2 100644 --- a/server/src/wled_controller/static/locales/zh.json +++ b/server/src/wled_controller/static/locales/zh.json @@ -639,6 +639,7 @@ "color_strip.animation.type": "效果:", "color_strip.animation.type.hint": "要应用的动画效果。", "color_strip.animation.type.none": "无(无动画效果)", + "color_strip.animation.type.none.desc": "静态颜色,无动画", "color_strip.animation.type.breathing": "呼吸", "color_strip.animation.type.breathing.desc": "平滑的亮度渐入渐出", "color_strip.animation.type.color_cycle": "颜色循环",