Replace all emoji icons with Lucide SVGs, add accent color picker
- Replace all emoji characters across WebUI with inline Lucide SVG icons for cross-platform consistency (icon paths in icon-paths.js) - Add accent color picker popover with 9 preset colors + custom picker, persisted to localStorage, updates all CSS custom properties - Remove subtab separator line for cleaner look - Color badge icons with accent color for visual pop - Remove processing badge from target cards - Fix hardcoded #4CAF50 in FPS labels and active badges to use CSS vars - Replace CSS content emoji (▶) with pure CSS triangle Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
"app.version": "版本:",
|
||||
"app.api_docs": "API 文档",
|
||||
"theme.toggle": "切换主题",
|
||||
"accent.title": "主题色",
|
||||
"accent.custom": "自定义",
|
||||
"locale.change": "切换语言",
|
||||
"auth.login": "登录",
|
||||
"auth.logout": "退出",
|
||||
@@ -21,7 +23,7 @@
|
||||
"auth.please_login": "请先登录",
|
||||
"auth.session_expired": "会话已过期或 API 密钥无效,请重新登录。",
|
||||
"displays.title": "可用显示器",
|
||||
"displays.layout": "\uD83D\uDDA5\uFE0F 显示器",
|
||||
"displays.layout": "显示器",
|
||||
"displays.information": "显示器信息",
|
||||
"displays.legend.primary": "主显示器",
|
||||
"displays.legend.secondary": "副显示器",
|
||||
@@ -44,7 +46,7 @@
|
||||
"displays.picker.adb_connect.error": "连接设备失败",
|
||||
"displays.picker.adb_disconnect": "断开连接",
|
||||
"displays.picker.no_android": "未找到 Android 设备。请通过 USB 连接或在上方输入 IP 地址。",
|
||||
"templates.title": "\uD83D\uDCC4 引擎模板",
|
||||
"templates.title": "引擎模板",
|
||||
"templates.description": "采集模板定义屏幕的采集方式。每个模板使用特定的采集引擎(MSS、DXcam、WGC)及自定义设置。将模板分配给设备以获得最佳性能。",
|
||||
"templates.loading": "正在加载模板...",
|
||||
"templates.empty": "尚未配置采集模板",
|
||||
@@ -77,7 +79,7 @@
|
||||
"templates.test.display.select": "选择显示器...",
|
||||
"templates.test.duration": "采集时长(秒):",
|
||||
"templates.test.border_width": "边框宽度(像素):",
|
||||
"templates.test.run": "\uD83E\uDDEA 运行",
|
||||
"templates.test.run": "运行",
|
||||
"templates.test.running": "正在运行测试...",
|
||||
"templates.test.results.preview": "全幅采集预览",
|
||||
"templates.test.results.borders": "边框提取",
|
||||
@@ -97,7 +99,7 @@
|
||||
"templates.test.error.no_engine": "请选择采集引擎",
|
||||
"templates.test.error.no_display": "请选择显示器",
|
||||
"templates.test.error.failed": "测试失败",
|
||||
"devices.title": "\uD83D\uDCA1 设备",
|
||||
"devices.title": "设备",
|
||||
"devices.add": "添加新设备",
|
||||
"devices.loading": "正在加载设备...",
|
||||
"devices.none": "尚未配置设备",
|
||||
@@ -180,7 +182,7 @@
|
||||
"device.tip.calibrate": "校准 LED 位置、方向和覆盖范围",
|
||||
"device.tip.webui": "打开设备内置的 Web 界面进行高级配置",
|
||||
"device.tip.add": "点击此处添加新的 LED 设备",
|
||||
"settings.title": "设备设置",
|
||||
"settings.title": "设置",
|
||||
"settings.general.title": "常规设置",
|
||||
"settings.capture.title": "采集设置",
|
||||
"settings.capture.saved": "采集设置已更新",
|
||||
@@ -285,12 +287,12 @@
|
||||
"section.filter.reset": "清除筛选",
|
||||
"section.expand_all": "全部展开",
|
||||
"section.collapse_all": "全部折叠",
|
||||
"streams.title": "\uD83D\uDCFA 源",
|
||||
"streams.title": "源",
|
||||
"streams.description": "源定义采集管线。原始源使用采集模板从显示器采集。处理源对另一个源应用后处理。将源分配给设备。",
|
||||
"streams.group.raw": "屏幕采集",
|
||||
"streams.group.processed": "已处理",
|
||||
"streams.group.audio": "音频",
|
||||
"streams.section.streams": "\uD83D\uDCFA 源",
|
||||
"streams.section.streams": "源",
|
||||
"streams.add": "添加源",
|
||||
"streams.add.raw": "添加屏幕采集",
|
||||
"streams.add.processed": "添加处理源",
|
||||
@@ -322,11 +324,11 @@
|
||||
"streams.error.required": "请填写所有必填项",
|
||||
"streams.error.delete": "删除源失败",
|
||||
"streams.test.title": "测试源",
|
||||
"streams.test.run": "🧪 运行",
|
||||
"streams.test.run": "运行",
|
||||
"streams.test.running": "正在测试源...",
|
||||
"streams.test.duration": "采集时长(秒):",
|
||||
"streams.test.error.failed": "源测试失败",
|
||||
"postprocessing.title": "\uD83D\uDCC4 滤镜模板",
|
||||
"postprocessing.title": "滤镜模板",
|
||||
"postprocessing.description": "处理模板定义图像滤镜和色彩校正。将它们分配给处理图片源以实现跨设备的一致后处理。",
|
||||
"postprocessing.add": "添加滤镜模板",
|
||||
"postprocessing.edit": "编辑滤镜模板",
|
||||
@@ -363,7 +365,7 @@
|
||||
"postprocessing.test.error.no_stream": "请选择一个源",
|
||||
"postprocessing.test.error.failed": "处理模板测试失败",
|
||||
"device.button.stream_selector": "源设置",
|
||||
"device.stream_settings.title": "📺 源设置",
|
||||
"device.stream_settings.title": "源设置",
|
||||
"device.stream_selector.label": "源:",
|
||||
"device.stream_selector.hint": "选择一个源来定义此设备采集和处理的内容",
|
||||
"device.stream_selector.none": "-- 未分配源 --",
|
||||
@@ -388,13 +390,13 @@
|
||||
"streams.validate_image.validating": "正在验证...",
|
||||
"streams.validate_image.valid": "图片可访问",
|
||||
"streams.validate_image.invalid": "图片不可访问",
|
||||
"targets.title": "⚡ 目标",
|
||||
"targets.title": "目标",
|
||||
"targets.description": "目标将色带源桥接到输出设备。每个目标引用一个设备和一个色带源。",
|
||||
"targets.subtab.wled": "LED",
|
||||
"targets.subtab.led": "LED",
|
||||
"targets.section.devices": "💡 设备",
|
||||
"targets.section.color_strips": "🎞️ 色带源",
|
||||
"targets.section.targets": "⚡ 目标",
|
||||
"targets.section.devices": "设备",
|
||||
"targets.section.color_strips": "色带源",
|
||||
"targets.section.targets": "目标",
|
||||
"targets.section.specific_settings": "特定设置",
|
||||
"targets.add": "添加目标",
|
||||
"targets.edit": "编辑目标",
|
||||
@@ -444,7 +446,7 @@
|
||||
"targets.metrics.frames": "帧数",
|
||||
"targets.metrics.errors": "错误",
|
||||
"targets.subtab.key_colors": "关键颜色",
|
||||
"targets.section.key_colors": "🎨 关键颜色目标",
|
||||
"targets.section.key_colors": "关键颜色目标",
|
||||
"kc.add": "添加关键颜色目标",
|
||||
"kc.edit": "编辑关键颜色目标",
|
||||
"kc.name": "目标名称:",
|
||||
@@ -476,9 +478,9 @@
|
||||
"kc.colors.none": "尚未提取颜色",
|
||||
"kc.test": "测试",
|
||||
"kc.test.error": "测试失败",
|
||||
"targets.section.pattern_templates": "📄 图案模板",
|
||||
"pattern.add": "📄 添加图案模板",
|
||||
"pattern.edit": "📄 编辑图案模板",
|
||||
"targets.section.pattern_templates": "图案模板",
|
||||
"pattern.add": "添加图案模板",
|
||||
"pattern.edit": "编辑图案模板",
|
||||
"pattern.name": "模板名称:",
|
||||
"pattern.name.placeholder": "我的图案模板",
|
||||
"pattern.description_label": "描述(可选):",
|
||||
@@ -513,7 +515,7 @@
|
||||
"overlay.stopped": "叠加层可视化已停止",
|
||||
"overlay.error.start": "启动叠加层失败",
|
||||
"overlay.error.stop": "停止叠加层失败",
|
||||
"dashboard.title": "📊 仪表盘",
|
||||
"dashboard.title": "仪表盘",
|
||||
"dashboard.section.targets": "目标",
|
||||
"dashboard.section.running": "运行中",
|
||||
"dashboard.section.stopped": "已停止",
|
||||
@@ -532,10 +534,9 @@
|
||||
"dashboard.perf.gpu": "GPU",
|
||||
"dashboard.perf.unavailable": "不可用",
|
||||
"dashboard.poll_interval": "刷新间隔",
|
||||
|
||||
"profiles.title": "\uD83D\uDCCB 配置文件",
|
||||
"profiles.title": "配置文件",
|
||||
"profiles.empty": "尚未配置配置文件。创建一个以自动化目标激活。",
|
||||
"profiles.add": "\uD83D\uDCCB 添加配置文件",
|
||||
"profiles.add": "添加配置文件",
|
||||
"profiles.edit": "编辑配置文件",
|
||||
"profiles.delete.confirm": "删除配置文件 \"{name}\"?",
|
||||
"profiles.name": "名称:",
|
||||
@@ -597,9 +598,8 @@
|
||||
"aria.previous": "上一个",
|
||||
"aria.next": "下一个",
|
||||
"aria.hint": "显示提示",
|
||||
|
||||
"color_strip.add": "🎞️ 添加色带源",
|
||||
"color_strip.edit": "🎞️ 编辑色带源",
|
||||
"color_strip.add": "添加色带源",
|
||||
"color_strip.edit": "编辑色带源",
|
||||
"color_strip.name": "名称:",
|
||||
"color_strip.name.placeholder": "墙壁灯带",
|
||||
"color_strip.picture_source": "图片源:",
|
||||
@@ -786,7 +786,6 @@
|
||||
"color_strip.palette.aurora": "极光",
|
||||
"color_strip.palette.sunset": "日落",
|
||||
"color_strip.palette.ice": "冰",
|
||||
|
||||
"audio_source.title": "音频源",
|
||||
"audio_source.group.multichannel": "多声道",
|
||||
"audio_source.group.mono": "单声道",
|
||||
@@ -829,14 +828,12 @@
|
||||
"audio_source.test.beat": "节拍",
|
||||
"audio_source.test.connecting": "连接中...",
|
||||
"audio_source.test.error": "音频测试失败",
|
||||
|
||||
"audio_template.test": "测试",
|
||||
"audio_template.test.title": "测试音频模板",
|
||||
"audio_template.test.device": "音频设备:",
|
||||
"audio_template.test.device.hint": "选择测试期间要采集的音频设备",
|
||||
"audio_template.test.run": "🧪 运行",
|
||||
|
||||
"audio_template.title": "🎵 音频模板",
|
||||
"audio_template.test.run": "运行",
|
||||
"audio_template.title": "音频模板",
|
||||
"audio_template.add": "添加音频模板",
|
||||
"audio_template.edit": "编辑音频模板",
|
||||
"audio_template.name": "模板名称:",
|
||||
@@ -857,9 +854,8 @@
|
||||
"audio_template.error.engines": "加载音频引擎失败",
|
||||
"audio_template.error.required": "请填写所有必填项",
|
||||
"audio_template.error.delete": "删除音频模板失败",
|
||||
|
||||
"streams.group.value": "值源",
|
||||
"value_source.group.title": "🔢 值源",
|
||||
"value_source.group.title": "值源",
|
||||
"value_source.add": "添加值源",
|
||||
"value_source.edit": "编辑值源",
|
||||
"value_source.name": "名称:",
|
||||
@@ -947,7 +943,6 @@
|
||||
"targets.protocol": "协议:",
|
||||
"targets.protocol.hint": "DDP通过快速UDP发送像素(推荐)。HTTP使用JSON API——较慢但可靠,限制约500个LED。",
|
||||
"targets.protocol.serial": "串口",
|
||||
|
||||
"search.open": "搜索 (Ctrl+K)",
|
||||
"search.placeholder": "搜索实体... (Ctrl+K)",
|
||||
"search.loading": "加载中...",
|
||||
@@ -963,8 +958,6 @@
|
||||
"search.group.pattern_templates": "图案模板",
|
||||
"search.group.audio": "音频源",
|
||||
"search.group.value": "值源",
|
||||
|
||||
"settings.title": "设置",
|
||||
"settings.backup.label": "备份配置",
|
||||
"settings.backup.hint": "将所有配置(设备、目标、流、模板、配置文件)下载为单个 JSON 文件。",
|
||||
"settings.backup.button": "下载备份",
|
||||
@@ -979,7 +972,6 @@
|
||||
"settings.restore.restarting": "服务器正在重启...",
|
||||
"settings.restore.restart_timeout": "服务器未响应。请手动刷新页面。",
|
||||
"settings.button.close": "关闭",
|
||||
|
||||
"settings.auto_backup.label": "自动备份",
|
||||
"settings.auto_backup.hint": "自动定期创建所有配置的备份。当达到最大数量时,旧备份会被自动清理。",
|
||||
"settings.auto_backup.enable": "启用自动备份",
|
||||
@@ -990,7 +982,6 @@
|
||||
"settings.auto_backup.save_error": "保存自动备份设置失败",
|
||||
"settings.auto_backup.last_backup": "上次备份",
|
||||
"settings.auto_backup.never": "从未",
|
||||
|
||||
"settings.saved_backups.label": "已保存的备份",
|
||||
"settings.saved_backups.hint": "存储在服务器上的自动备份文件。下载到本地保存,或删除以释放空间。",
|
||||
"settings.saved_backups.empty": "没有已保存的备份",
|
||||
|
||||
Reference in New Issue
Block a user