|
|
@@ -212,6 +212,26 @@ const messages = {
|
|
|
'tokens.deleteConfirm': '确认删除该 Token?',
|
|
|
'tokens.copyCreated': '复制完整 Token',
|
|
|
'tokens.prefixOnlyHelp': '历史 Token 不保存明文,只能复制前缀用于识别。',
|
|
|
+ 'tokens.docsTitle': '发送 API 使用文档',
|
|
|
+ 'tokens.endpoint': 'API Endpoint',
|
|
|
+ 'tokens.authHeader': '认证方式',
|
|
|
+ 'tokens.authHeaderValue': 'Authorization: Bearer <USER_API_TOKEN>',
|
|
|
+ 'tokens.contentType': 'Content-Type',
|
|
|
+ 'tokens.requestFields': '请求字段',
|
|
|
+ 'tokens.fieldFrom': 'from:发件地址,域名必须已添加并通过验证。',
|
|
|
+ 'tokens.fieldTo': 'to:收件人地址,支持单个邮箱或邮箱数组。',
|
|
|
+ 'tokens.fieldSubject': 'subject:邮件主题。',
|
|
|
+ 'tokens.fieldText': 'text:纯文本正文。',
|
|
|
+ 'tokens.fieldHtml': 'html:HTML 正文,可选。',
|
|
|
+ 'tokens.curlExample': 'curl 示例',
|
|
|
+ 'tokens.nodeExample': 'Node / Fetch 示例',
|
|
|
+ 'tokens.requestExample': '请求 Body 示例',
|
|
|
+ 'tokens.responseExample': '成功响应示例',
|
|
|
+ 'tokens.securityTips': '安全建议',
|
|
|
+ 'tokens.securityTipStore': '只在服务端环境保存 Token,不要放进浏览器前端代码或公开仓库。',
|
|
|
+ 'tokens.securityTipRotate': '不同环境使用不同 Token,泄露后立即删除并重新创建。',
|
|
|
+ 'tokens.securityTipDomain': 'From 域名必须属于当前账号,建议先完成 DNS 验证再接入生产发送。',
|
|
|
+ 'tokens.noTokenHint': '创建 Token 后可复制完整密钥;历史 Token 只显示前缀,示例中使用占位符。',
|
|
|
'testMail.title': '发送测试邮件',
|
|
|
'testMail.fromRequired': '请输入发件人',
|
|
|
'testMail.toRequired': '请输入收件人',
|
|
|
@@ -228,14 +248,14 @@ const messages = {
|
|
|
'actions.dnsApiTestCompleted': '连接测试完成',
|
|
|
'actions.smtpSaved': 'SMTP 凭据已保存',
|
|
|
'actions.settingsSaved': '系统设置已保存',
|
|
|
- 'nav.dashboard': 'Dashboard',
|
|
|
- 'nav.domains': 'Domains',
|
|
|
+ 'nav.dashboard': '仪表盘',
|
|
|
+ 'nav.domains': '发信域名',
|
|
|
'nav.dnsApi': 'DNS API',
|
|
|
- 'nav.smtp': 'SMTP Credentials',
|
|
|
- 'nav.tokens': 'API Tokens',
|
|
|
- 'nav.logs': 'Sending Logs',
|
|
|
+ 'nav.smtp': 'SMTP 凭据',
|
|
|
+ 'nav.tokens': 'API Token',
|
|
|
+ 'nav.logs': '发送记录',
|
|
|
'nav.webhooks': 'Webhooks',
|
|
|
- 'nav.settings': 'Settings'
|
|
|
+ 'nav.settings': '系统设置'
|
|
|
},
|
|
|
'en-US': {
|
|
|
'common.account': 'Account',
|
|
|
@@ -447,6 +467,26 @@ const messages = {
|
|
|
'tokens.deleteConfirm': 'Delete this token?',
|
|
|
'tokens.copyCreated': 'Copy full token',
|
|
|
'tokens.prefixOnlyHelp': 'Historical tokens do not store plaintext. The prefix is only for identification.',
|
|
|
+ 'tokens.docsTitle': 'Sending API guide',
|
|
|
+ 'tokens.endpoint': 'API Endpoint',
|
|
|
+ 'tokens.authHeader': 'Authentication',
|
|
|
+ 'tokens.authHeaderValue': 'Authorization: Bearer <USER_API_TOKEN>',
|
|
|
+ 'tokens.contentType': 'Content-Type',
|
|
|
+ 'tokens.requestFields': 'Request fields',
|
|
|
+ 'tokens.fieldFrom': 'from: sender address. The domain must be added and verified.',
|
|
|
+ 'tokens.fieldTo': 'to: recipient address. Single email or an array of emails.',
|
|
|
+ 'tokens.fieldSubject': 'subject: email subject.',
|
|
|
+ 'tokens.fieldText': 'text: plain text body.',
|
|
|
+ 'tokens.fieldHtml': 'html: optional HTML body.',
|
|
|
+ 'tokens.curlExample': 'curl example',
|
|
|
+ 'tokens.nodeExample': 'Node / Fetch example',
|
|
|
+ 'tokens.requestExample': 'Request body example',
|
|
|
+ 'tokens.responseExample': 'Success response example',
|
|
|
+ 'tokens.securityTips': 'Security tips',
|
|
|
+ 'tokens.securityTipStore': 'Store tokens only on the server side. Do not put them in browser code or public repositories.',
|
|
|
+ 'tokens.securityTipRotate': 'Use separate tokens per environment. Delete and recreate immediately after a leak.',
|
|
|
+ 'tokens.securityTipDomain': 'The From domain must belong to this account. Verify DNS before production sending.',
|
|
|
+ 'tokens.noTokenHint': 'Copy the full secret right after creation. Historical tokens show prefixes only, so examples use a placeholder.',
|
|
|
'testMail.title': 'Send test email',
|
|
|
'testMail.fromRequired': 'Enter the sender',
|
|
|
'testMail.toRequired': 'Enter the recipient',
|