feat(多语言): 添加提示文本的多语言支持

- 在状态管理中新增当前语言和可用语言列表字段
- 为提示文本添加多语言输入框生成功能
- 实现根据当前语言自动更新提示文本显示
- 重构重启对话逻辑为独立函数并添加重试机制
- 将提示文本多语言配置保存到本地存储
This commit is contained in:
2026-05-07 13:55:48 +08:00
parent 36873764a0
commit d1f09c6afb
2 changed files with 162 additions and 33 deletions

View File

@@ -146,6 +146,9 @@
<label for="tipPadding">内边距 (px)</label>
<input type="number" id="tipPadding" value="6" min="0" max="20">
</div>
<div id="tipTextFieldsContainer">
<!-- 由 JS 根据 SDK 返回的多语言列表动态生成 -->
</div>
</div>
<!-- 消息气泡样式 -->