fix(webui): refine browser notifications (NAN-227)

Reconcile the original notification fix with the integrated main snapshot.

Group notification settings and simplify localized copy and documentation.
Preserve permission opt-out and notification click routing across app transitions.
Suppress late completion notifications for discarded temporary chats and align
notification settings skeletons with the loaded layout.
This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-20 13:45:04 +08:00
1 parent 7b2af031c0
commit 11152626f8
34 files changed
+728 -289

No files matched your search

+25 -10
View File
@@ -479,6 +479,7 @@
"byok": "BYOK",
"overview": "總覽",
"appearance": "外觀",
"notifications": "通知",
"models": "模型",
"providers": "供應商",
"image": "圖片",
@@ -517,20 +518,34 @@
"voiceInput": "語音轉寫"
},
"notifications": {
"scope": "此瀏覽器",
"intro": "選擇任務結束時的提醒方式。",
"pageRequired": "頁面關閉、暫停或中斷連線後,無法接收新提醒。",
"revoked": "通知權限已撤銷,已關閉提醒。請先在瀏覽器的網站設定中允許通知,再於此處開啟。",
"retry": "重新檢查",
"statusOff": "未開啟",
"statusPermission": "需要授權",
"statusOn": "已開啟",
"statusBlocked": "已遭封鎖",
"statusRevoked": "權限已撤銷",
"statusUnavailable": "無法使用",
"statusWorker": "尚未就緒",
"statusBusy": "檢查中…",
"statusError": "傳送失敗",
"test": "測試通知",
"testBody": "這是一則 nanobot 測試通知。",
"testBody": "這是一則測試通知。",
"waiting": "等待瀏覽器回應…",
"insecure": "請透過 HTTPS 或 localhost 開啟 nanobot,再啟用通知。",
"unsupported": "此瀏覽器不支援通知,請換用支援的瀏覽器。iPhone 或 iPad 需從主畫面開啟 nanobot。",
"denied": "通知已被瀏覽器封鎖。請在本站的瀏覽器設定中允許通知,再重試。",
"unsupported": "此瀏覽器不支援通知,請更換瀏覽器。iPhone 或 iPad 請從主畫面開啟 nanobot。",
"denied": "通知已被瀏覽器封鎖。請先在瀏覽器的網站設定中允許通知,再於此處開啟。",
"dismissed": "尚未取得通知權限。請重新啟用,並選擇「允許」。",
"permissionFailed": "無法要求通知權限,請在支援的瀏覽器中重試。",
"workerUnavailable": "通知服務尚未就緒,請重新整理頁面後重試。",
"workerUnavailable": "通知服務尚未就緒,請重新檢查或重新整理頁面。",
"displayFailed": "瀏覽器未能傳送通知,請檢查本站的通知權限後重試。",
"submitted": "已提交給瀏覽器。如未看到通知,請檢查系統通知和勿擾設定。",
"completed": "任務已完成,開啟 nanobot 查看結果。",
"failed": "任務未完成,開啟 nanobot 查看詳情。",
"interrupted": "任務需要處理,開啟 nanobot 繼續。"
"submitted": "已傳送至瀏覽器。若未顯示,請檢查系統通知和勿擾設定。",
"completed": "任務已完成,點選查看結果。",
"failed": "任務失敗,點選查看詳情。",
"interrupted": "任務需要處理,點選繼續。"
},
"rows": {
"theme": "主題",
@@ -610,8 +625,8 @@
"selectedModelProvider": "由選取的模型決定。",
"selectedModelValue": "由選取的模型決定。",
"brandLogos": "在設定中顯示提供商與應用圖示\n\n在設定中顯示提供商和命令列應用的品牌圖示。",
"browserNotifications": "網頁在背景時,提醒任務結束或需要處理。請保持網頁開啟;關閉或暫停後無法接收新通知。",
"notificationSound": "回覆結束播放提示音,預設關閉\n\n回合結束時播放短促提示音,頁面在後臺時也會播放。預設關閉。",
"browserNotifications": "頁面在背景時提醒任務狀態。",
"notificationSound": "回覆結束時播放音效,背景也會播放。",
"cliAppsCatalog": "安裝 CLI 工具,不改桌面應用\n\n安裝供 nanobot 使用的命令列工具,不會安裝或修改對應的桌面應用。",
"cliAppsFilter": "按名稱、分類或功能搜尋",
"logs": "開啟桌面應用的引擎日誌資料夾",