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
@@ -516,6 +516,22 @@
"hostSafety": "應用程式安全",
"voiceInput": "語音轉寫"
},
"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": "語言",
@@ -550,7 +566,7 @@
"webuiDefaultAccess": "預設存取權",
"currentModel": "目前設定",
"brandLogos": "品牌圖示",
"browserNotifications": "任務通知",
"browserNotifications": "瀏覽器通知",
"notificationSound": "完成音效",
"cliAppsCatalog": "應用程式清單",
"cliAppsFilter": "篩選",
@@ -594,7 +610,7 @@
"selectedModelProvider": "由選取的模型決定。",
"selectedModelValue": "由選取的模型決定。",
"brandLogos": "在設定中顯示提供商與應用圖示\n\n在設定中顯示提供商和命令列應用的品牌圖示。",
"browserNotifications": "頁面在後臺時通知,預設關閉",
"browserNotifications": "網頁在背景時,提醒任務結束或需要處理。請保持網頁開啟;關閉或暫停後無法接收新通知。",
"notificationSound": "回覆結束播放提示音,預設關閉\n\n回合結束時播放短促提示音,頁面在後臺時也會播放。預設關閉。",
"cliAppsCatalog": "安裝 CLI 工具,不改桌面應用\n\n安裝供 nanobot 使用的命令列工具,不會安裝或修改對應的桌面應用。",
"cliAppsFilter": "按名稱、分類或功能搜尋",