feat(notifications): add configurable browser reminders
This commit is contained in:
1 parent
349ac4fc87
commit
cf0327fcaf
14 files changed
+217
-21
No files matched your search
@@ -198,6 +198,23 @@
|
||||
"saved": "PROFILE SAVED",
|
||||
"average": "AVERAGE ENERGY {value} / 5"
|
||||
},
|
||||
"notifications": {
|
||||
"title": "NOTIFICATIONS",
|
||||
"allow": "Allow system notifications",
|
||||
"openOnly": "Reminders run while Life OS is open. Browsers may delay them when a tab sleeps; they cannot arrive after the site is closed.",
|
||||
"time": "{name} time",
|
||||
"sendTest": "Send a test notification",
|
||||
"status": {
|
||||
"default": "Permission has not been requested. Choose Allow to enable delivery.",
|
||||
"granted": "System notifications are allowed on this device.",
|
||||
"denied": "Notifications are blocked. Change this site's permission in your browser settings.",
|
||||
"unsupported": "System notifications are unavailable in this browser or context."
|
||||
},
|
||||
"memory": { "label": "Today's memory", "description": "Remind me if I have not recorded a memory today.", "title": "A moment to remember", "body": "You have not written today's memory yet." },
|
||||
"tasks": { "label": "Today's tasks", "description": "Show the number of unfinished tasks due today or earlier.", "title": "Today's tasks", "body": "{count} unfinished tasks are due today or earlier." },
|
||||
"goals": { "label": "Goal countdown", "description": "Show the nearest active goal with a target date.", "title": "Goal countdown", "days": "{name}: {count} days left.", "today": "{name}: target date is today.", "overdue": "{name}: {count} days past the target date." },
|
||||
"test": { "title": "Life OS notifications are ready", "body": "Your browser can show reminders from Life OS.", "failed": "Could not show the test notification." }
|
||||
},
|
||||
"system": {
|
||||
"eyebrow": "SYSTEM SETTINGS",
|
||||
"title": "System, local and yours.",
|
||||
|
||||
@@ -198,6 +198,23 @@
|
||||
"saved": "资料已保存",
|
||||
"average": "平均能量 {value} / 5"
|
||||
},
|
||||
"notifications": {
|
||||
"title": "系统通知",
|
||||
"allow": "允许系统通知",
|
||||
"openOnly": "Life OS 打开时才会检查提醒。浏览器休眠可能导致延迟;关闭网站后无法准时发送。",
|
||||
"time": "{name}通知时间",
|
||||
"sendTest": "发送测试通知",
|
||||
"status": {
|
||||
"default": "尚未请求通知权限,点击允许后才可发送。",
|
||||
"granted": "此设备已允许系统通知。",
|
||||
"denied": "通知已被阻止,请在浏览器的站点权限中开启。",
|
||||
"unsupported": "当前浏览器或访问环境不支持系统通知。"
|
||||
},
|
||||
"memory": { "label": "今日记忆", "description": "今天还没有记忆时提醒我编写。", "title": "记录今天的片刻", "body": "今天还没有写下记忆。" },
|
||||
"tasks": { "label": "本日待办", "description": "显示今天及此前到期但尚未完成的待办数量。", "title": "本日待办", "body": "有 {count} 项到期或逾期的待办尚未完成。" },
|
||||
"goals": { "label": "目标倒计时", "description": "显示最近一个有目标日期的进行中目标。", "title": "目标倒计时", "days": "{name}:还有 {count} 天。", "today": "{name}:目标日期就是今天。", "overdue": "{name}:已超过目标日期 {count} 天。" },
|
||||
"test": { "title": "Life OS 通知已就绪", "body": "浏览器可以显示来自 Life OS 的提醒。", "failed": "测试通知发送失败。" }
|
||||
},
|
||||
"system": {
|
||||
"eyebrow": "系统设置",
|
||||
"title": "你的个人系统。",
|
||||
|
||||
Reference in new issue
Block a user