Fix SVG markup in select options, add missing name placeholders

Remove SVG icon function calls from <option> textContent — native
select elements render markup as literal text. Capture template options
now show "name (engine_type)", source options show just the name.

Add i18n placeholders to automation and scene editor name inputs.
Rename HAOS Scenes device from "{server_name} Scenes" to "Scenes".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 20:08:06 +03:00
parent 252db09145
commit 175a2c6c10
10 changed files with 15 additions and 9 deletions

View File

@@ -551,6 +551,7 @@
"automations.delete.confirm": "删除自动化 \"{name}\"",
"automations.name": "名称:",
"automations.name.hint": "此自动化的描述性名称",
"automations.name.placeholder": "我的自动化",
"automations.enabled": "启用:",
"automations.enabled.hint": "禁用的自动化即使满足条件也不会激活",
"automations.condition_logic": "条件逻辑:",
@@ -626,6 +627,7 @@
"scenes.edit": "编辑场景",
"scenes.name": "名称:",
"scenes.name.hint": "此场景预设的描述性名称",
"scenes.name.placeholder": "我的场景",
"scenes.description": "描述:",
"scenes.description.hint": "此场景功能的可选描述",
"scenes.color": "卡片颜色:",