fix(webui): make browser notification failures actionable

This commit is contained in:
Xubin Ren authored and chengyongru committed 2026-10-20 13:45:04 +08:00
1 parent 909b277e7a
commit 7b2af031c0
30 files changed
+919 -96

No files matched your search

+18 -2
View File
@@ -771,6 +771,22 @@
"autoProviderCustomOnly": "自动选择提供商时,请手动输入模型 ID。",
"availableCount": "可用模型:{{count}} 个"
},
"notifications": {
"test": "测试通知",
"testBody": "这是一条 nanobot 测试通知。",
"waiting": "等待浏览器响应…",
"insecure": "请通过 HTTPS 或 localhost 打开 nanobot,再开启通知。",
"unsupported": "此浏览器不支持通知,请换用支持的浏览器。iPhone 或 iPad 需从主屏幕打开 nanobot。",
"denied": "通知已被浏览器阻止。请在本站的浏览器设置中允许通知,再重试。",
"dismissed": "尚未获得通知权限。请重新开启,并选择“允许”。",
"permissionFailed": "无法请求通知权限,请在支持的浏览器中重试。",
"workerUnavailable": "通知服务尚未就绪,请刷新页面后重试。",
"displayFailed": "浏览器未能发送通知,请检查本站的通知权限后重试。",
"submitted": "已提交给浏览器。如未看到通知,请检查系统通知和勿扰设置。",
"completed": "任务已完成,打开 nanobot 查看结果。",
"failed": "任务未完成,打开 nanobot 查看详情。",
"interrupted": "任务需要处理,打开 nanobot 继续。"
},
"rows": {
"theme": "主题",
"language": "语言",
@@ -789,7 +805,7 @@
"fileEditDisplay": "修改预览",
"codeWrap": "代码换行",
"brandLogos": "品牌图标",
"browserNotifications": "任务通知",
"browserNotifications": "浏览器通知",
"notificationSound": "完成音效",
"maxResults": "结果上限",
"timeout": "搜索超时",
@@ -835,7 +851,7 @@
"fileEditDisplay": "默认显示行数或展开修改内容",
"codeWrap": "长代码自动换行,方便阅读",
"brandLogos": "在设置中显示提供商与应用图标\n\n在设置中显示提供商和命令行应用的品牌图标。",
"browserNotifications": "页面在后台时通知,默认关闭",
"browserNotifications": "网页在后台时,提醒任务结束或需要处理。请保持网页打开;关闭或挂起后无法接收新通知。",
"notificationSound": "回复结束播放提示音,默认关闭\n\n回合结束时播放短促提示音,页面在后台时也会播放。默认关闭。",
"maxResults": "每次搜索最多显示多少条结果",
"timeout": "每次搜索最长等待时间,单位秒",