mirror of
https://github.com/beilunyang/moemail.git
synced 2025-12-24 11:30:51 +08:00
132 lines
5.0 KiB
JSON
132 lines
5.0 KiB
JSON
{
|
||
"title": "個人中心",
|
||
"card": {
|
||
"title": "使用者資訊",
|
||
"name": "使用者名稱",
|
||
"role": "角色",
|
||
"roles": {
|
||
"EMPEROR": "皇帝",
|
||
"DUKE": "公爵",
|
||
"KNIGHT": "騎士",
|
||
"CIVILIAN": "平民"
|
||
}
|
||
},
|
||
"apiKey": {
|
||
"title": "API Key 管理",
|
||
"description": "建立與管理用於存取 OpenAPI 的 API 金鑰",
|
||
"create": "建立 API Key",
|
||
"name": "金鑰名稱",
|
||
"namePlaceholder": "輸入金鑰名稱",
|
||
"key": "API Key",
|
||
"createdAt": "建立時間",
|
||
"copy": "複製",
|
||
"delete": "刪除",
|
||
"noKeys": "暫無 API Key",
|
||
"createSuccess": "API Key 建立成功",
|
||
"createFailed": "建立 API Key 失敗",
|
||
"deleteConfirm": "確認刪除",
|
||
"deleteDescription": "確定要刪除 API Key {name} 嗎?此操作不可恢復。",
|
||
"deleteSuccess": "API Key 已刪除",
|
||
"deleteFailed": "刪除 API Key 失敗",
|
||
"viewDocs": "查看使用文件",
|
||
"docs": {
|
||
"getConfig": "取得系統設定",
|
||
"generateEmail": "產生臨時郵箱",
|
||
"getEmails": "取得郵箱清單",
|
||
"getMessages": "取得郵件清單",
|
||
"getMessage": "取得單封郵件",
|
||
"createEmailShare": "建立郵箱分享連結",
|
||
"getEmailShares": "取得郵箱分享連結清單",
|
||
"deleteEmailShare": "刪除郵箱分享連結",
|
||
"createMessageShare": "建立郵件分享連結",
|
||
"getMessageShares": "取得郵件分享連結清單",
|
||
"deleteMessageShare": "刪除郵件分享連結",
|
||
"notes": "注意:",
|
||
"note1": "請將 YOUR_API_KEY 替換為你的實際 API Key",
|
||
"note2": "/api/config 介面可取得系統設定,包括可用的郵箱網域清單",
|
||
"note3": "emailId 是郵箱的唯一識別碼",
|
||
"note4": "messageId 是郵件的唯一識別碼",
|
||
"note5": "expiryTime 是郵箱的有效期(毫秒),可選值:3600000(1 小時)、86400000(1 天)、604800000(7 天)、0(永久)",
|
||
"note6": "domain 是郵箱網域,可透過 /api/config 介面取得可用網域清單",
|
||
"note7": "cursor 用於分頁,從上一次請求的回應中取得 nextCursor",
|
||
"note8": "所有請求都需要包含 X-API-Key 請求標頭",
|
||
"note9": "expiresIn 是分享連結的有效期(毫秒),0 表示永久有效",
|
||
"note10": "shareId 是分享紀錄的唯一識別碼"
|
||
}
|
||
},
|
||
"emailService": {
|
||
"title": "Resend 發件服務設定",
|
||
"configRoleLabel": "可設定的角色權限",
|
||
"enable": "啟用郵件服務",
|
||
"fixedRoleLimits": "固定權限規則",
|
||
"emperorLimit": "皇帝可以無限發件,不受任何限制",
|
||
"civilianLimit": "永遠不能發件",
|
||
"enableDescription": "開啟後將使用 Resend 發送郵件",
|
||
"apiKey": "Resend API Key",
|
||
"apiKeyPlaceholder": "輸入 Resend API Key",
|
||
"dailyLimit": "每日限額",
|
||
"roleLimits": "允許使用發件功能的角色",
|
||
"save": "儲存設定",
|
||
"saving": "儲存中...",
|
||
"saveSuccess": "設定儲存成功",
|
||
"saveFailed": "儲存設定失敗",
|
||
"unlimited": "無限制",
|
||
"disabled": "未啟用發件權限",
|
||
"enabled": "已啟用發件權限"
|
||
},
|
||
"webhook": {
|
||
"title": "Webhook 設定",
|
||
"description": "當收到新郵件時通知指定的 URL",
|
||
"description2": "我們會向此 URL 發送 POST 請求,包含新郵件的相關資訊",
|
||
"description3": "查看資料格式說明",
|
||
"enable": "啟用 Webhook",
|
||
"url": "Webhook URL",
|
||
"urlPlaceholder": "輸入 webhook URL",
|
||
"test": "測試",
|
||
"testing": "測試中...",
|
||
"save": "儲存設定",
|
||
"saving": "儲存中...",
|
||
"saveSuccess": "設定儲存成功",
|
||
"saveFailed": "儲存設定失敗",
|
||
"testSuccess": "Webhook 測試成功",
|
||
"testFailed": "Webhook 測試失敗",
|
||
"docs": {
|
||
"intro": "當收到新郵件時,我們會向設定的 URL 發送 POST 請求,請求標頭包含:",
|
||
"exampleBody": "請求體範例:",
|
||
"subject": "郵件主旨",
|
||
"content": "郵件文字內容",
|
||
"html": "郵件 HTML 內容"
|
||
}
|
||
},
|
||
"website": {
|
||
"title": "網站設定",
|
||
"description": "設定網站選項(僅皇帝可用)",
|
||
"defaultRole": "新使用者預設角色",
|
||
"emailDomains": "郵箱網域",
|
||
"emailDomainsPlaceholder": "多個網域以逗號分隔",
|
||
"adminContact": "管理員聯絡方式",
|
||
"adminContactPlaceholder": "郵箱或其他聯絡方式",
|
||
"maxEmails": "每個使用者最大郵箱數",
|
||
"save": "儲存設定",
|
||
"saving": "儲存中...",
|
||
"saveSuccess": "設定儲存成功",
|
||
"saveFailed": "儲存設定失敗"
|
||
},
|
||
"promote": {
|
||
"title": "角色管理",
|
||
"description": "管理使用者角色(僅皇帝可用)",
|
||
"search": "搜尋使用者",
|
||
"searchPlaceholder": "輸入使用者名稱或郵箱",
|
||
"username": "使用者名稱",
|
||
"email": "郵箱",
|
||
"role": "角色",
|
||
"actions": "操作",
|
||
"promote": "設為",
|
||
"noUsers": "未找到使用者",
|
||
"loading": "載入中...",
|
||
"updateSuccess": "使用者角色更新成功",
|
||
"updateFailed": "更新使用者角色失敗"
|
||
}
|
||
}
|
||
|