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 <noreply@anthropic.com>
This commit is contained in:
@@ -1312,8 +1312,11 @@ function renderPictureSourcesList(streams) {
|
|||||||
const parent = _cachedAudioSources.find(s => s.id === src.audio_source_id);
|
const parent = _cachedAudioSources.find(s => s.id === src.audio_source_id);
|
||||||
const parentName = parent ? parent.name : 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 chLabel = src.channel === 'left' ? 'L' : src.channel === 'right' ? 'R' : 'M';
|
||||||
|
const parentBadge = parent
|
||||||
|
? `<span class="stream-card-prop stream-card-link" title="${escapeHtml(t('audio_source.parent'))}" onclick="event.stopPropagation(); navigateToCard('streams','audio','audio-multi','data-id','${src.audio_source_id}')">${ICON_AUDIO_LOOPBACK} ${escapeHtml(parentName)}</span>`
|
||||||
|
: `<span class="stream-card-prop" title="${escapeHtml(t('audio_source.parent'))}">${ICON_AUDIO_LOOPBACK} ${escapeHtml(parentName)}</span>`;
|
||||||
propsHtml = `
|
propsHtml = `
|
||||||
<span class="stream-card-prop" title="${escapeHtml(t('audio_source.parent'))}">${ICON_AUDIO_LOOPBACK} ${escapeHtml(parentName)}</span>
|
${parentBadge}
|
||||||
<span class="stream-card-prop" title="${escapeHtml(t('audio_source.channel'))}">📻 ${chLabel}</span>
|
<span class="stream-card-prop" title="${escapeHtml(t('audio_source.channel'))}">📻 ${chLabel}</span>
|
||||||
`;
|
`;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -639,6 +639,7 @@
|
|||||||
"color_strip.animation.type": "Effect:",
|
"color_strip.animation.type": "Effect:",
|
||||||
"color_strip.animation.type.hint": "Animation effect to apply.",
|
"color_strip.animation.type.hint": "Animation effect to apply.",
|
||||||
"color_strip.animation.type.none": "None (no animation effect)",
|
"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": "Breathing",
|
||||||
"color_strip.animation.type.breathing.desc": "Smooth brightness fade in and out",
|
"color_strip.animation.type.breathing.desc": "Smooth brightness fade in and out",
|
||||||
"color_strip.animation.type.color_cycle": "Color Cycle",
|
"color_strip.animation.type.color_cycle": "Color Cycle",
|
||||||
|
|||||||
@@ -639,6 +639,7 @@
|
|||||||
"color_strip.animation.type": "Эффект:",
|
"color_strip.animation.type": "Эффект:",
|
||||||
"color_strip.animation.type.hint": "Эффект анимации.",
|
"color_strip.animation.type.hint": "Эффект анимации.",
|
||||||
"color_strip.animation.type.none": "Нет (без эффекта анимации)",
|
"color_strip.animation.type.none": "Нет (без эффекта анимации)",
|
||||||
|
"color_strip.animation.type.none.desc": "Статичные цвета без анимации",
|
||||||
"color_strip.animation.type.breathing": "Дыхание",
|
"color_strip.animation.type.breathing": "Дыхание",
|
||||||
"color_strip.animation.type.breathing.desc": "Плавное угасание и нарастание яркости",
|
"color_strip.animation.type.breathing.desc": "Плавное угасание и нарастание яркости",
|
||||||
"color_strip.animation.type.color_cycle": "Смена цвета",
|
"color_strip.animation.type.color_cycle": "Смена цвета",
|
||||||
|
|||||||
@@ -639,6 +639,7 @@
|
|||||||
"color_strip.animation.type": "效果:",
|
"color_strip.animation.type": "效果:",
|
||||||
"color_strip.animation.type.hint": "要应用的动画效果。",
|
"color_strip.animation.type.hint": "要应用的动画效果。",
|
||||||
"color_strip.animation.type.none": "无(无动画效果)",
|
"color_strip.animation.type.none": "无(无动画效果)",
|
||||||
|
"color_strip.animation.type.none.desc": "静态颜色,无动画",
|
||||||
"color_strip.animation.type.breathing": "呼吸",
|
"color_strip.animation.type.breathing": "呼吸",
|
||||||
"color_strip.animation.type.breathing.desc": "平滑的亮度渐入渐出",
|
"color_strip.animation.type.breathing.desc": "平滑的亮度渐入渐出",
|
||||||
"color_strip.animation.type.color_cycle": "颜色循环",
|
"color_strip.animation.type.color_cycle": "颜色循环",
|
||||||
|
|||||||
Reference in New Issue
Block a user