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": "Enter a model ID manually when using automatic provider selection.",
"availableCount": "Models available: {{count}}"
},
"notifications": {
"test": "Test notification",
"testBody": "This is a test notification from nanobot.",
"waiting": "Waiting for the browser…",
"insecure": "Open nanobot over HTTPS or on localhost to use notifications.",
"unsupported": "This browser cannot send notifications. Try a supported browser. On iPhone or iPad, open nanobot from the Home Screen.",
"denied": "Notifications are blocked. Allow them in this site's browser settings, then try again.",
"dismissed": "Permission was not granted. Turn on notifications and choose Allow.",
"permissionFailed": "Could not request permission. Try again in a supported browser.",
"workerUnavailable": "The notification service is not ready. Reload this page and try again.",
"displayFailed": "The browser could not send the notification. Check site permissions, then try again.",
"submitted": "Sent to the browser. If nothing appears, check system notifications and Do Not Disturb.",
"completed": "Task completed. Open nanobot to view the result.",
"failed": "Task failed. Open nanobot for details.",
"interrupted": "Task needs attention. Open nanobot to continue."
},
"rows": {
"theme": "Theme",
"language": "Language",
@@ -789,7 +805,7 @@
"fileEditDisplay": "Edit preview",
"codeWrap": "Code wrapping",
"brandLogos": "Brand logos",
"browserNotifications": "Task notifications",
"browserNotifications": "Browser notifications",
"notificationSound": "Completion sound",
"maxResults": "Result limit",
"timeout": "Search timeout",
@@ -835,7 +851,7 @@
"fileEditDisplay": "Show edit line counts or expanded changes by default.",
"codeWrap": "Wrap long code lines for easier reading.",
"brandLogos": "Show provider and app logos in Settings.\n\nShow third-party provider and CLI logos in Settings.",
"browserNotifications": "Notify when this page is in the background. Off by default.",
"browserNotifications": "Alert when a task ends or needs attention while this page is in the background. Keep the page open; closed or suspended pages cannot receive new alerts.",
"notificationSound": "Play a sound when replies finish. Off by default.\n\nPlay a short chime when a turn finishes, even when this page is in the background. Off by default.",
"maxResults": "Maximum results per search.",
"timeout": "Maximum wait per search, in seconds.",