Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions web/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@
"apiKeysRevokeTitle": "Revoke API key",
"apiKeysRevokeConfirm": "Revoke \"{{name}}\"? Scripts using this key will stop working immediately.",
"apiKeysRevokeSuccess": "API key revoked",
"integrations": "Integrations",
"backup": "Backup & restore"
},
"about": {
Expand Down Expand Up @@ -304,6 +305,7 @@
"sourceItem": "Item",
"sourceApi": "API",
"sourceTest": "Test",
"sourceVikunja": "Vikunja",
"filterChannel": "Channel",
"allChannels": "All channels",
"filterAll": "All",
Expand Down Expand Up @@ -453,6 +455,51 @@
"daysLeft": "remaining",
"daysUnit": "d"
},
"integrations": {
"description": "Connect external services to eNotify. Vikunja is supported today: its task reminders and overdue events are pushed to you through your default channel.",
"vikunjaTitle": "Vikunja",
"createTitle": "Create a Vikunja integration",
"createDescription": "Creating one issues a webhook URL and secret for this account; paste them into a Vikunja webhook to start receiving task reminders.",
"create": "Create integration",
"createSuccess": "Integration created.",
"existsError": "This account already has a Vikunja integration.",
"notFound": "The integration no longer exists — it may have been deleted.",
"createdTitle": "Integration created",
"rotatedTitle": "Secret rotated",
"secretOnceWarning": "This is the only time the secret is shown. If you lose it you can only rotate a new one. Copy it into Vikunja now.",
"secretLabel": "Webhook secret",
"copy": "Copy",
"copied": "Copied",
"copyFailed": "Copy failed. Select the value and copy it manually.",
"saved": "I've saved it",
"webhookUrl": "Webhook URL",
"webhookUrlHint": "Paste this into the Target URL field of the Vikunja webhook.",
"enabledLabel": "Enable integration",
"enabledDescription": "While disabled, Vikunja deliveries are rejected (403); enabling restores them immediately.",
"enabledSuccess": "Integration enabled.",
"disabledSuccess": "Integration disabled.",
"baseUrl": "Vikunja URL",
"baseUrlPlaceholder": "https://vikunja.example.com",
"baseUrlHint": "Optional. When set, notifications link to the task (URL/tasks/{id}); leave it empty for no link.",
"baseUrlInvalid": "Enter a full URL starting with http:// or https://, or leave it empty.",
"baseUrlSuccess": "Vikunja URL saved.",
"createdAt": "Created",
"updatedAt": "Updated",
"rotate": "Rotate secret",
"rotateConfirm": "Rotating invalidates the old secret immediately — update it in Vikunja too, or deliveries will be rejected. Rotate now?",
"rotateSuccess": "Secret rotated.",
"delete": "Delete integration",
"deleteTitle": "Delete integration",
"deleteConfirm": "Deleting disables this webhook URL immediately, so Vikunja can no longer push to it. Delete?",
"deleteSuccess": "Integration deleted.",
"guideTitle": "Create the webhook in Vikunja",
"guideIntro": "Once the integration exists, set it up in Vikunja:",
"guideStep1": "Vikunja → Settings → Webhooks → New webhook.",
"guideStep2": "Paste the webhook URL into Target URL and the generated value into Secret.",
"guideStep3": "Select only the task.reminder.fired and tasks.overdue events.",
"guideStep4": "Do not also select task.overdue: it overlaps tasks.overdue, so the same overdue task arrives twice.",
"guideNote": "If the Webhooks page is missing in Vikunja, an administrator has to enable the webhooks feature on the Vikunja server first."
},
"backup": {
"title": "Backup & restore",
"userDescription": "Export your own eNotify data as a single JSON file, or restore / merge your own data from an export file.",
Expand Down
47 changes: 47 additions & 0 deletions web/src/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@
"apiKeysRevokeTitle": "吊销 API Key",
"apiKeysRevokeConfirm": "确定吊销「{{name}}」?吊销后使用该 Key 的脚本将立即失效。",
"apiKeysRevokeSuccess": "API Key 已吊销",
"integrations": "集成",
"backup": "备份与恢复"
},
"about": {
Expand Down Expand Up @@ -304,6 +305,7 @@
"sourceItem": "事项",
"sourceApi": "API",
"sourceTest": "测试",
"sourceVikunja": "Vikunja",
"filterChannel": "渠道",
"allChannels": "全部渠道",
"filterAll": "全部",
Expand Down Expand Up @@ -453,6 +455,51 @@
"daysLeft": "剩余",
"daysUnit": "天"
},
"integrations": {
"description": "把外部服务接到 eNotify。目前支持 Vikunja:它的任务提醒与逾期事件会经你的默认渠道推送给你。",
"vikunjaTitle": "Vikunja",
"createTitle": "创建 Vikunja 集成",
"createDescription": "创建后会生成本账号专属的 Webhook URL 与 Secret,填进 Vikunja 的 Webhook 表单即可开始接收任务提醒。",
"create": "创建集成",
"createSuccess": "集成已创建。",
"existsError": "本账号已创建过 Vikunja 集成,无需重复创建。",
"notFound": "集成不存在,可能已被删除。",
"createdTitle": "集成已创建",
"rotatedTitle": "Secret 已轮换",
"secretOnceWarning": "这是唯一一次显示 Secret 的机会,只显示这一次,丢了只能轮换。请立即复制并填进 Vikunja。",
"secretLabel": "Webhook Secret",
"copy": "复制",
"copied": "已复制",
"copyFailed": "复制失败,请手动选择并复制。",
"saved": "我已保存",
"webhookUrl": "Webhook URL",
"webhookUrlHint": "把这一串填进 Vikunja Webhook 的 Target URL。",
"enabledLabel": "启用集成",
"enabledDescription": "关闭后 Vikunja 的投递会被拒绝,重新启用立即恢复。",
"enabledSuccess": "集成已启用。",
"disabledSuccess": "集成已停用。",
"baseUrl": "Vikunja 地址",
"baseUrlPlaceholder": "https://vikunja.example.com",
"baseUrlHint": "可选。填写后推送里会带上任务链接(地址/tasks/任务 ID);留空则不带链接。",
"baseUrlInvalid": "请填写以 http:// 或 https:// 开头的完整地址,或留空。",
"baseUrlSuccess": "Vikunja 地址已保存。",
"createdAt": "创建时间",
"updatedAt": "最近更新",
"rotate": "轮换 Secret",
"rotateConfirm": "轮换后旧 Secret 立即失效,Vikunja 里也要同步改成新 Secret,否则投递会被拒绝。确定轮换?",
"rotateSuccess": "Secret 已轮换。",
"delete": "删除集成",
"deleteTitle": "删除集成",
"deleteConfirm": "删除后这个 Webhook URL 立即失效,Vikunja 将无法再推送。确定删除?",
"deleteSuccess": "集成已删除。",
"guideTitle": "在 Vikunja 里创建 Webhook",
"guideIntro": "创建集成后,按下面的步骤在 Vikunja 里配置:",
"guideStep1": "Vikunja → 设置 → Webhooks → 新建 Webhook。",
"guideStep2": "Target URL 粘贴上面的 Webhook URL,Secret 粘贴刚生成的 Secret。",
"guideStep3": "事件只勾选 task.reminder.fired 与 tasks.overdue。",
"guideStep4": "不要同时勾 task.overdue:它与 tasks.overdue 内容重叠,同一批逾期会收到两条提醒。",
"guideNote": "如果在 Vikunja 里看不到 Webhooks 页面,需要管理员先在 Vikunja 服务端开启 webhooks 功能。"
},
"backup": {
"title": "备份与恢复",
"userDescription": "导出你本人的 eNotify 数据为单个 JSON 文件,或从导出文件恢复 / 合并你自己的数据。",
Expand Down
1 change: 1 addition & 0 deletions web/src/pages/history/HistoryPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const SOURCE_LABEL_KEYS: Record<string, string> = {
item: "history.sourceItem",
api: "history.sourceApi",
test: "history.sourceTest",
vikunja: "history.sourceVikunja",
};

function SourceBadge({ source }: { source: string | null }) {
Expand Down
Loading
Loading