BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr
Add whitelist function on Setting page
zdme54613524056
diff --git a/core/frontend/pnpm-lock.yaml b/core/frontend/pnpm-lock.yamlindex f22d0997..1f7d960b 100644--- a/core/frontend/pnpm-lock.yaml+++ b/core/frontend/pnpm-lock.yaml@@ -78,6 +78,9 @@ importers:'@iconify-json/ri':specifier: ^1.2.5version: 1.2.5+ '@iconify/json':+ specifier: ^2.2.352+ version: 2.2.352'@rsbuild/core':specifier: ^1.3.22version: 1.3.22@@ -573,6 +576,9 @@ packages:'@iconify-json/[email protected]':resolution: {integrity: sha512-kWGimOXMZrlYusjBKKXYOWcKhbOHusFsmrmRGmjS7rH0BpML5A9/fy8KHZqFOwZfC4M6amObQYbh8BqO5cMC3w==}+ '@iconify/[email protected]':+ resolution: {integrity: sha512-UtX9HPDYQDOoPtrb2m05mUOeFpVWWelfkNlamFEKyTIoB0Ma4fPJdqxfpYhylBrfvum6QVpAbq3EEcBr0TYkmg==}+'@iconify/[email protected]':resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}@@ -2557,6 +2563,9 @@ packages:resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}engines: {node: '>=16 || 14 >=14.18'}+ resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==}+resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}@@ -3752,6 +3761,11 @@ snapshots:dependencies:'@iconify/types': 2.0.0+ '@iconify/[email protected]':+ dependencies:+ '@iconify/types': 2.0.0+ pathe: 1.1.2+'@iconify/[email protected]': {}'@iconify/[email protected]':@@ -5924,6 +5938,8 @@ snapshots:lru-cache: 10.4.3minipass: 7.1.2+ [email protected]: {}+diff --git a/core/frontend/src/api/modules/settings/common.ts b/core/frontend/src/api/modules/settings/common.tsindex 47995496..33756561 100644--- a/core/frontend/src/api/modules/settings/common.ts+++ b/core/frontend/src/api/modules/settings/common.ts@@ -1,4 +1,7 @@import { instance } from '@/api'+import i18n from '@/i18n'++const { t } = i18n.globalexport const getSystemConfig = () => {return instance.get('/settings/get_system_config')@@ -11,7 +14,7 @@ export const getTimezoneList = () => {export const setSystemConfigKey = (params: { key: string; value: string }) => {return instance.post('/settings/set_system_config_key', params, {fetchOptions: {- loading: 'Setting the system configuration, please wait...',+ loading: t('settings.api.loading.setting'),successMessage: true,},})@@ -20,7 +23,7 @@ export const setSystemConfigKey = (params: { key: string; value: string }) => {export const setSslConfig = (params: { certPem: string; privateKey: string }) => {return instance.post('/settings/set_ssl_config', params, {fetchOptions: {- loading: 'Setting SSL, please wait...',+ loading: t('settings.api.loading.settingSSL'),successMessage: true,},})@@ -32,7 +35,38 @@ export const applyCert = () => {{},{fetchOptions: {- loading: 'Applying certificate, please wait...',+ loading: t('settings.api.loading.applyingCert'),+ successMessage: true,+ },+ }+ )+}++export const addIpWhitelist = (params: { ip: string }) => {+ return instance.post('/settings/add_ip_whitelist', params, {+ fetchOptions: {+ loading: t('settings.api.loading.adding'),+ successMessage: true,+ },+ })+}++export const deleteIpWhitelist = (params: { id: number }) => {+ return instance.post('/settings/delete_ip_whitelist', params, {+ fetchOptions: {+ loading: t('settings.api.loading.deleting'),+ successMessage: true,+ },+ })+}++export const clearIpWhitelist = () => {+ return instance.post(+ '/settings/set_ip_whitelist',+ { ip_list: [] },+ {+ fetchOptions: {+ loading: t('settings.api.loading.clearing'),successMessage: true,},}diff --git a/core/frontend/src/i18n/lang/en.json b/core/frontend/src/i18n/lang/en.jsonindex 368c4588..af1b1f75 100644--- a/core/frontend/src/i18n/lang/en.json+++ b/core/frontend/src/i18n/lang/en.json@@ -1,864 +1,892 @@{- "common": {- "all": {- "text": "All",- "domain": "All Domains"- },- "time": {- "today": "Today",- "yesterday": "Yesterday",- "last7days": "Last 7 Days",- "custom": "Custom"- },- "unit": {- "days": "Days",- "hours": "Hours",- "minutes": "Minutes",- "seconds": "Seconds"- },- "columns": {- "actions": "Operator"- },- "actions": {- "view": "View",- "edit": "Edit",- "delete": "Delete",- "add": "Add",- "create": "Create",- "update": "Update",- "save": "Save",- "cancel": "Cancel",- "confirm": "Confirm",- "back": "Back",- "search": "Search",- "reset": "Reset",- "more": "More",- "refresh": "Refresh",- "copy": "Copy",- "restart": "Restart",- "import": "Import",- "export": "Export",- "download": "Download",- "upload": "Upload",- "apply": "Apply",- "test": "Test",- "rename": "Rename",- "preview": "Preview",- "modify": "Modify",- "config": "Config",- "help": "Help"- },- "useCopy": {- "noText": "No text to copy",- "success": "Copy successful",- "failed": "Copy failed"- }- },- "components": {- "tableHelp": {- "text1": "Submit {issues} for questions or suggestions, and light up a {star} on Github to support the project.",- "text2": "We highly value your active participation. Thank you."- },- "upload": {- "error": {- "fileSizeExceeded": "The size of file [{fileName}] cannot exceed {maxSize}MB",- "uploadFailed": "File upload failed. Please try again"- },- "prompt": {- "dragText": "Click or drag files to this area",- "supportedFiles": "Only {suffix} files are supported"- }- }- },- "layout": {- "header": {- "submit": "Submit a Request"- },- "menu": {- "overview": "Overview",- "market": "Email Marketing",- "task": "Task",- "template": "Template",- "sendApi": "Send API",- "contacts": "Contacts",- "subscribers": "Subscribers",- "group": "Group",- "domain": "Domain",- "mailboxes": "Mailboxes",- "settings": "Settings",- "common": "Common Settings",- "bcc": "BCC",- "forward": "Mail Forward",- "logout": "Logout"- }- },- "login": {- "title": "BillionMail",- "form": {- "usernamePlaceholder": "Username",- "passwordPlaceholder": "Password",- "loginButton": "Login",- "captchaPlaceholder": "Verification code",- "changeCaptcha": "Click to change",- "captcha": "Verification code"- },- "validation": {- "usernameRequired": "Username cannot be empty!",- "passwordRequired": "Password cannot be empty!",- "captchaRequired": "Please enter the verification code"- },- "messages": {- "loginSuccess": "Login successful",- "loginFailed": "Login failed",- "networkError": "Network error, please try again later"- }- },- "user": {- "logout": {- "title": "Tips",- "content": "Are you sure you want to logout?"- },- "api": {- "loading": {- "logout": "Logging out, please wait..."- }- }- },- "overview": {- "delivered": "Delivered",- "opened": "Opened",- "clicked": "Clicked",- "bounced": "Bounced",- "mailProviders": "Mail Providers",- "sendStats": "Send Statistics",- "provider": {- "mailProvider": "Mail Provider",- "delivered": "Delivered",- "open": "Open",- "click": "Click",- "bounce": "Bounce"- },- "send": {- "successRate": "Success Rate",- "success": "Success",- "fail": "Failed",- "sendSuccess": "Send Success",- "sendFail": "Send Failed"- },- "rate": {- "openRate": "Open Rate",- "clickRate": "Click Rate",- "bounceRate": "Bounce Rate"- },- "sendFailDetails": {- "title": "Send Failed Details",- "columns": {- "recipient": "Recipient",- "dsn": "Dsn",- "delay": "Delay",- "delays": "Delays",- "status": "Status",- "relay": "Relay",- "details": "Details"- }- }- },- "market": {- "task": {- "title": "Task",- "actions": {- "add": "Add Task",- "detail": "View",- "export": "Export",- "send": "Send",- "pause": "Pause",- "analytics": "Analytics"- },- "columns": {- "time": "Time",- "subject": "Subject",- "sender": "Sender",- "recipients": "To",- "success": "Success",- "failed": "Failed",- "status": "Status",- "remark": "Remark",- "estimatedTime": "Estimated Complet Time",- "progress": "Progress",- "email": "Email",- "errorMsg": "Error Message"- },- "status": {- "pending": "Pending",- "processing": "Processing",- "done": "Done",- "noIpWarmup": "No IP Warmup"- },- "search": {- "subjectPlaceholder": "Search by subject"- },- "changeStatus": {- "title": "Change Task Status [{subject}]",- "startConfirm": "Start sending task now?",- "pauseConfirm": "After pausing the task, you can continue sending it!"- },- "delete": {- "title": "Delete Task",- "confirm": "Are you sure you want to delete the task \"{subject}\"?"- },- "detail": {- "title": "Task Details",- "displayName": "Display Name",- "sender": "Sender",- "subject": "Mail Subject",- "groups": "Groups",- "sendTime": "Send Time",- "unsubscribeLink": "Unsubscribe Link",- "threads": "Threads Num",- "remark": "Remark",- "yes": "Yes",- "no": "No",- "auto": "Auto"- },- "edit": {- "addTitle": "Add Task",- "from": "From",- "to": "To",- "displayName": "Display Name",- "displayNamePlaceholder": "Please enter display name",- "subject": "Subject",- "subjectPlaceholder": "Please enter mail subject",- "recipients": "Recipients",- "recipientsPlaceholder": "Please select recipient groups",- "recipientsCount": "Send emails ({count} recipients)",- "template": "Email template",- "saveOutbox": "Save to outbox",- "ipWarmup": "Associate IP Warmup System",- "ipWarmupTip": "Enabling this will limit the sending rate",- "unsubscribeLink": "Unsubscribe link",- "threads": "Threads",- "threadsAuto": "Auto",- "threadsCustom": "Custom",- "sendTime": "Send time",- "sendTimeNow": "Send now",- "sendTimeSchedule": "Schedule",- "remark": "Remark",- "remarkPlaceholder": "Please enter remark",- "testEmail": "Test email",- "testEmailPlaceholder": "Please enter test email",- "sendTest": "Send test mail",- "viewCase": "View case",- "preview": {- "empty": "Please select an email template to preview"- },- "validation": {- "displayNameRequired": "Please enter display name",- "subjectRequired": "Please enter mail subject",- "recipientsRequired": "Please select contact person",- "sendTimeRequired": "Please select send time",- "testEmailRequired": "Please enter test email",- "templateRequired": "Please select email template"- },- "discard": {- "title": "Tips",- "content": "Do you want to discard your current edits?"- }- },- "createGroup": {- "title": "Create Group",- "groupName": "Group Name",- "email": "Email",- "groupNamePlaceholder": "Please enter group name",- "validation": {- "groupNameRequired": "Please enter group name"- }- },- "loading": {- "creating": "Creating task, please wait...",- "deleting": "Deleting task, please wait...",- "pausing": "Pausing task, please wait...",- "resuming": "Resuming task, please wait...",- "sendingTest": "Sending test email, please wait..."- }- },- "template": {- "title": "Template",- "name": "Template Name",- "content": "Template Content",- "uploadHtml": "Upload HTML File",- "file": "Template File",- "actions": {- "add": "Add Template",- "preview": "Preview",- "duplicate": "Duplicate",- "export": "Export",- "import": "Import"- },- "columns": {- "name": "Template Name",- "type": "Type",- "createdAt": "Created At"- },- "search": {- "namePlaceholder": "Search template name"- },- "delete": {- "title": "Delete Template",- "confirm": "Are you sure to delete template {name}?"- },- "form": {- "name": "Template Name",- "type": "Template Type",- "content": "Template Content"- },- "add": {- "title": "Add Template",- "namePlaceholder": "Please enter template name",- "validation": {- "nameRequired": "Please enter template name",- "uploadRequired": "Please upload HTML file"- }- },- "preview": {- "title": "Template Preview"- },- "loading": {- "creating": "Creating template, please wait...",- "updating": "Updating template, please wait...",- "copying": "Copying template, please wait...",- "deleting": "Deleting template, please wait..."- }- }- },- "contacts": {- "subscribers": {- "search": {- "emailPlaceholder": "Enter an email address to search"- },- "columns": {- "email": "Email",- "name": "Group Name",- "createdAt": "Creation Time"- },- "status": {- "subscribed": "Subscribed",- "unsubscribed": "Unsubscribed"- },- "actions": {- "changeGroup": "Change Group"- },- "delete": {- "title": "Delete Subscriber",- "confirm": "Are you sure you want to delete the subscriber {email}?"- },- "select": {- "prefix": "Group: "- },- "edit": {- "title": "Change Group",- "email": "Email",- "group": "Group",- "validation": {- "emailRequired": "Please enter email",- "groupRequired": "Please select group"- }- },- "import": {- "title": "Import Contacts",- "group": "Group",- "data": "Data",- "pasteData": "Paste Data",- "uploadFile": "Upload File",- "pastePlaceholder": [- "Please paste data, one email, attributes(can be empty) per line",- "e.g., [email protected]",- "[email protected],\"{\"\"age\"\": \"\"13\"\", \"\"Gender\"\": \"\"XXX\"\"}\""- ],- "fileTypeHint": "File type: csv, not exceeding 5 MB",- "overwriteLabel": "Overwrite Existing Users",- "overwriteDescription": "Whether to overwrite existing customer information in the list according to imported data during import",- "subscriptionStatus": "Subscription Status",- "status": "Status",- "exampleCsvLabel": "Example CSV",- "overwriteOptions": {- "no": "No",- "yes": "Yes"- },- "subscriptionOptions": {- "subscribe": "Subscribe",- "unsubscribe": "Unsubscribe"- },- "statusOptions": {- "confirmed": "Confirmed",- "unconfirmed": "Unconfirmed"- },- "validation": {- "groupRequired": "Please select group",- "dataRequired": "Please paste data, one email per line",- "fileRequired": "Please upload file"- }- },- "loading": {- "importSubscribers": "Importing contacts, please wait...",- "updateSubscriberGroup": "Updating group, please wait...",- "deleteSubscriber": "Deleting contacts, please wait..."- }- },- "group": {- "search": {- "namePlaceholder": "Search by group name"- },- "columns": {- "name": "Group Name",- "subscribers": "Subscribers",- "unsubscribe": "Unsubscribed",- "createdAt": "Created At"- },- "form": {- "name": "Group Name",- "file": "File",- "nameRequired": "Please enter group name"- },- "add": {- "title": "Add Group"- },- "rename": {- "title": "Rename Group"- },- "delete": {- "title": "Delete Group",- "confirm": "Are you sure to delete group {name}?"- },- "fileUpload": {- "hint": "File type: csv, not exceeding 5 MB",- "emptyHint": "An empty group will be created when no file is uploaded"- },- "loading": {- "createGroup": "Creating group, please wait...",- "updateGroup": "Updating group, please wait...",- "deleteGroup": "Deleting group, please wait..."- }- }- },- "domain": {- "title": "MailDomain",- "addDomain": "Add Domain",- "help": "Add the domain you want to use to send emails",- "columns": {- "domain": "Domain",- "quota": "Quota",- "mailboxes": "Mailboxes",- "defaultMailboxSize": "Default Mailbox Size",- "actions": "Actions"- },- "actions": {- "dnsRecord": "DNS Records"- },- "delete": {- "title": "Delete Domain",- "confirm": "Are you sure you want to delete domain [{domain}]?"- },- "form": {- "addTitle": "Add Domain",- "editTitle": "Edit Domain",- "domain": "Domain",- "domainPlaceholder": "Please enter domain, e.g.: billionmail.com",- "aRecord": "A Record",- "aRecordPlaceholder": "Please enter A record, e.g.: mail.aapanel.com",- "quota": "Domain Quota",- "mailboxCount": "Mailbox Count",- "globalCatch": "Catch All",- "globalCatchPlaceholder": "Forward non-existent emails to this address",- "validation": {- "domainRequired": "Domain name cannot be empty!"- },- "tips": {- "aRecordFailed": "A record resolution failed. Please check if the A record domain is resolved to the server IP",- "dnsSetup": "You need to add an A record in your DNS provider's console",- "cloudflare": "If using CloudFlare, please select [DNS only] when adding records"- }- },- "dns": {- "title": "DNS Records",- "verify": "Records set, verify DNS resolution",- "status": {- "ok": "OK",- "notSet": "Not Set"- },- "columns": {- "domain": "Domain"- },- "table": {- "recordType": "Record Type",- "host": "Host",- "value": "Value",- "mxPriority": "MX Priority"- },- "step1": {- "title": "Step 1: Add A Record"- },- "step2": {- "title": "Step 2: Add MX Record",- "description": "Login to your domain service provider and add an MX record for email service (please copy the following parameters directly)"- },- "step3": {- "title": "Step 3: Add TXT Record",- "description": "Add TXT records for email anti-spam (please copy the following parameters directly)"- },- "step4": {- "title": "Step 4: Add PTR Record",- "description1": "(Optional) PTR record is used for reverse DNS lookup",- "description2": "Contact your IP provider to create PTR record"- }- },- "ssl": {- "expired": "Expired",- "daysLeft": "{days} days",- "notSet": "Not Set",- "title": "Domain SSL",- "tabs": {- "otherCertificate": "Other Certificate"- },- "cert": {- "brand": "Brand",- "domains": "Certificate Domains",- "privateKey": "Private Key (KEY)",- "certificate": "Certificate (CRT/PEM)",- "keyPlaceholder": "Enter private key content",- "certPlaceholder": "Enter certificate content"- },- "actions": {- "applyFree": "Apply Free Certificate"- },- "tips": {- "paste": "Paste your KEY and CRT content, then save",- "chainCheck": "If the browser prompts that the certificate chain is incomplete, please check if the PEM certificate is correctly concatenated",- "pemFormat": "PEM format certificate = Domain certificate .crt + Root certificate (root_bundle).crt",- "defaultSite": "When no SSL default site is specified, sites without SSL configuration will use HTTPS to access sites with SSL enabled"- }- },- "api": {- "loading": {- "creating": "Creating Domain, please wait...",- "updating": "Updating Domain, please wait...",- "deleting": "Deleting Domain, please wait...",- "settingSSL": "Setting SSL, please wait...",- "applyingCert": "Applying SSL Certificate, please wait...",- "refreshingDns": "Refreshing DNS records, please wait..."- }- }- },- "mailbox": {- "title": "Mailbox Management",- "actions": {- "add": "Add Mailbox"- },- "search": {- "usernamePlaceholder": "Search username"- },- "domain": {- "selectPlaceholder": "Select domain"- },- "columns": {- "username": "Username",- "password": "Password",- "loginInfo": "Login Info",- "quota": "Quota",- "type": "Type",- "status": "Status"- },- "userType": {- "admin": "Admin",- "general": "General User"- },- "form": {- "addTitle": "Add Mailbox",- "editTitle": "Edit Mailbox",- "emailAddress": "Email Address",- "password": "Password",- "passwordPlaceholder": "Enter your mailbox password",- "quota": "Quota",- "userType": "User Type",- "status": "Status"- },- "validation": {- "emailRequired": "Please enter email address",- "passwordLength": "Password must be at least 8 characters",- "passwordFormat": "Password must contain at least one uppercase letter, one lowercase letter and one number"- },- "delete": {- "title": "Delete Mailbox",- "confirm": "Are you sure you want to delete mailbox [{name}]?"- },- "loginInfo": {- "template": "WebMail: {webmail}\nUsername: {username}\nPassword: {password}\nPOP service [ Address: {mx} Port: 110/995 ]\nIMAP service [ Address: {mx} Port: 143/993 ]\nSMTP service [ Address: {mx} Port: 25/465/587 ]"- },- "api": {- "loading": {- "creating": "Creating Mailbox, please wait...",- "updating": "Updating Mailbox, please wait...",- "deleting": "Deleting Mailbox, please wait..."- }- }- },- "smtp": {- "title": "SMTP Relay Service Management",- "description": "Manage your SMTP relay services with support for multiple service providers",- "empty": "No SMTP relay services available",- "providers": {- "gmail": "Gmail",- "mailgun": "Mailgun",- "aws": "AWS SES",- "sendgrid": "SendGrid",- "custom": "Custom SMTP"- },- "delete": {- "title": "Delete Relay",- "confirm": "Are you sure you want to delete this relay service [{name}]?"- },- "card": {- "domain": "Bound Domain",- "server": "Server",- "port": "Port",- "username": "Username"- },- "form": {- "addTitle": "Add SMTP",- "editTitle": "Edit SMTP",- "remark": "Remark",- "domain": "Bound Domain",- "server": "SMTP Server",- "port": "SMTP Port",- "username": "Username",- "password": "Password",- "testConnection": "Test Connection",- "bind": " [Bound]",- "validation": {- "nameRequired": "Please enter a relay name",- "domainRequired": "Please select a bound domain",- "serverRequired": "Please enter an SMTP server",- "portRequired": "Please enter an SMTP port",- "usernameRequired": "Please enter a username",- "passwordRequired": "Please enter a password"- }- },- "status": {- "online": "Online",- "offline": "Offline"- },- "api": {- "loading": {- "adding": "Adding SMTP, please wait...",- "editing": "Editing SMTP, please wait...",- "testing": "Testing SMTP connection, please wait...",- "deleting": "Deleting SMTP, please wait..."- }- }- },- "settings": {- "title": "Settings",- "service": {- "title": "Service Status",- "tips": "Tips: Ctrl+F Search keywords, Ctrl+S Save, Ctrl+H Search and replace",- "editTitle": "Online Edit {name}",- "columns": {- "name": "Service Name",- "status": "Status"- },- "status": {- "running": "Running",- "stopped": "Stopped"- },- "actions": {- "restart": "Restart"- },- "restart": {- "title": "Restart Service",- "confirm": "Are you sure you want to restart [{name}]?"- }- },- "bcc": {- "title": "BCC Management",- "add": "Add BCC",- "edit": "Edit BCC",- "needCopy": "Need Copy",- "copyTo": "Copy to",- "domain": "Domain",- "type": "BCC Type",- "status": "Status",- "active": "Active",- "types": {- "sender": "When sending",- "recipient": "When receiving"- },- "delete": {- "title": "Delete BCC [{address}]",- "content": "Whether to delete the BCC setting?"- },- "placeholders": {- "needCopy": "Enter the users you need to BCC",- "copyTo": "Enter the email you need to receive the BCC"- },- "loading": {- "adding": "Adding BCC, please wait...",- "saving": "Saving BCC, please wait...",- "deleting": "Deleting BCC, please wait..."- }- },- "forward": {- "add": "Add Forward",- "edit": "Edit Forward",- "columns": {- "address": "Address",- "goto": "Goto",- "domain": "Domain",- "created": "Created",- "modified": "Modified",- "status": "Status"- },- "form": {- "status": "Status",- "forwardedUsers": "Forwarded users",- "forwardedUsersPlaceholder": "Enter the mailbox that needs to be forwarded",- "domain": "Domain",- "domainPlaceholder": "Domain name of the Forwarded users",- "receivingUser": "Receiving user",- "receivingUserPlaceholder": "Users who need to accept forwarded mail. If there are multiple, please separate them with newlines"- },- "delete": {- "title": "Delete mail forward",- "content": "Are you sure you want to delete mail forward [{address}]?"- },- "loading": {- "adding": "Adding mail forward, please wait...",- "editing": "Editing mail forward, please wait...",- "deleting": "Deleting mail forward, please wait..."- }- },- "common": {- "confirm": "Update",- "security": {- "title": "Security Settings",- "username": "Change Username",- "currentUsername": "Current Username",- "newUsernamePlaceholder": "Enter new username",- "usernameRule": "4-20 characters, letters and numbers",- "usernameExists": "Username already exists",- "changePassword": "Change Password",- "currentPassword": "Current Password",- "newPassword": "New Password",- "confirmPassword": "Confirm New Password",- "passwordStrength": "Password Strength",- "passwordMismatch": "Passwords do not match",- "strength": {- "weak": "Weak",- "medium": "Medium",- "strong": "Strong"- },- "securityPath": "Change Security Path",- "currentPath": "Current Path",- "newPathPlaceholder": "Enter new path, e.g. admin-abc123",- "pathRule": "Recommend using complex path for enhanced security",- "usernameValidation": {- "lengthError": "Username length must be between 4 and 20 characters",- "formatError": "Username must consist of letters, numbers or underscores",- "duplicateError": "Username cannot be the same as current username"- }- },- "network": {- "title": "Network Configuration",- "domain": "Domain Settings",- "currentDomain": "The access domain name of the console",- "newDomainPlaceholder": "Enter new domain, e.g. admin.yourdomain.com",- "domainRule": "Please enter a valid domain",- "ssl": "SSL Certificate Configuration",- "sslEnabled": "SSL Enabled",- "certStatus": "Certificate Status",- "certValid": "({days} days remaining)",- "sslCert": "SSL Certificate (PEM format)",- "sslKey": "Private Key (PEM format)",- "certPlaceholder": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIURv...\n-----END CERTIFICATE-----",- "keyPlaceholder": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG...\n-----END PRIVATE KEY-----",- "updateSSL": "Update SSL Certificate",- "certValidStatus": "Certificate Valid",- "certExpiredStatus": "Certificate Expired",- "certExpireTime": "Certificate expires: {time}"- },- "system": {- "title": "System Configuration",- "port": "Port Settings",- "currentPort": "Current Port",- "terminalRequired": "This setting requires terminal operation",- "copyCommand": "Copy the above command and execute it in the server terminal",- "commandCopied": "Command copied to clipboard",- "timezone": "Timezone Settings",- "currentTime": "Current System Timezone"- }- },- "api": {- "loading": {- "restarting": "Restarting service, please wait...",- "saving": "Saving configuration, please wait..."- }- }- },- "api": {- "title": "Send API",- "timeRange": "Time Range: ",- "status": "Status: ",- "search": "Search: ",- "searchPlaceholder": "Please enter API name",- "refreshData": "Refresh Data",- "createNew": "Create API",- "statusOptions": {- "all": "All",- "active": "Active",- "inactive": "Inactive"- },- "columns": {- "apiName": "API Name",- "apiKey": "API Key",- "sendCount": "Send Count",- "openRate": "Open Rate",- "clickRate": "Click Rate",- "bounceRate": "Bounce Rate",- "status": "Status"- },- "statusLabels": {- "active": "Active",- "inactive": "Inactive"- },- "confirmDelete": {- "title": "Delete API [{apiName}]",- "content": "Are you sure you want to delete this API?"- },- "overview": {- "totalSend": "Total Sent",- "avgOpenRate": "Avg Open Rate",- "avgClickRate": "Avg Click Rate",- "avgBounceRate": "Avg Bounce Rate"- },- "form": {- "apiName": "API Name",- "status": "Status",- "ipWhitelist": "IP Whitelist",- "apiNamePlaceholder": "Please enter API name",- "ipWhitelistPlaceholder": "Multiple IPs separated by commas, empty means no restriction",- "validation": {- "apiNameRequired": "Please enter API name",- "addresserRequired": "Please select sender",- "templateRequired": "Please select template"- },- "title": {- "edit": "Edit API",- "add": "Add API"- }- },- "loading": {- "creating": "Creating, please wait...",- "updating": "Updating, please wait...",- "deleting": "Deleting, please wait...",- "testing": "Testing, please wait..."- }- }+ "common": {+ "all": {+ "text": "All",+ "domain": "All Domains"+ },+ "time": {+ "today": "Today",+ "yesterday": "Yesterday",+ "last7days": "Last 7 Days",+ "custom": "Custom"+ },+ "unit": {+ "days": "Days",+ "hours": "Hours",+ "minutes": "Minutes",+ "seconds": "Seconds"+ },+ "columns": {+ "actions": "Operator"+ },+ "actions": {+ "view": "View",+ "edit": "Edit",+ "delete": "Delete",+ "add": "Add",+ "create": "Create",+ "update": "Update",+ "save": "Save",+ "cancel": "Cancel",+ "confirm": "Confirm",+ "back": "Back",+ "search": "Search",+ "reset": "Reset",+ "more": "More",+ "refresh": "Refresh",+ "copy": "Copy",+ "restart": "Restart",+ "import": "Import",+ "export": "Export",+ "download": "Download",+ "upload": "Upload",+ "apply": "Apply",+ "test": "Test",+ "rename": "Rename",+ "preview": "Preview",+ "modify": "Modify",+ "config": "Config",+ "help": "Help"+ },+ "useCopy": {+ "noText": "No text to copy",+ "success": "Copy successful",+ "failed": "Copy failed"+ }+ },+ "components": {+ "tableHelp": {+ "text1": "Submit {issues} for questions or suggestions, and light up a {star} on Github to support the project.",+ "text2": "We highly value your active participation. Thank you."+ },+ "upload": {+ "error": {+ "fileSizeExceeded": "The size of file [{fileName}] cannot exceed {maxSize}MB",+ "uploadFailed": "File upload failed. Please try again"+ },+ "prompt": {+ "dragText": "Click or drag files to this area",+ "supportedFiles": "Only {suffix} files are supported"+ }+ }+ },+ "layout": {+ "header": {+ "submit": "Submit a Request"+ },+ "menu": {+ "overview": "Overview",+ "market": "Email Marketing",+ "task": "Task",+ "template": "Template",+ "sendApi": "Send API",+ "contacts": "Contacts",+ "subscribers": "Subscribers",+ "group": "Group",+ "domain": "Domain",+ "mailboxes": "Mailboxes",+ "settings": "Settings",+ "common": "Common Settings",+ "bcc": "BCC",+ "forward": "Mail Forward",+ "logout": "Logout"+ }+ },+ "login": {+ "title": "BillionMail",+ "form": {+ "usernamePlaceholder": "Username",+ "passwordPlaceholder": "Password",+ "loginButton": "Login",+ "captchaPlaceholder": "Verification code",+ "changeCaptcha": "Click to change",+ "captcha": "Verification code"+ },+ "validation": {+ "usernameRequired": "Username cannot be empty!",+ "passwordRequired": "Password cannot be empty!",+ "captchaRequired": "Please enter the verification code"+ },+ "messages": {+ "loginSuccess": "Login successful",+ "loginFailed": "Login failed",+ "networkError": "Network error, please try again later"+ }+ },+ "user": {+ "logout": {+ "title": "Tips",+ "content": "Are you sure you want to logout?"+ },+ "api": {+ "loading": {+ "logout": "Logging out, please wait..."+ }+ }+ },+ "overview": {+ "delivered": "Delivered",+ "opened": "Opened",+ "clicked": "Clicked",+ "bounced": "Bounced",+ "mailProviders": "Mail Providers",+ "sendStats": "Send Statistics",+ "provider": {+ "mailProvider": "Mail Provider",+ "delivered": "Delivered",+ "open": "Open",+ "click": "Click",+ "bounce": "Bounce"+ },+ "send": {+ "successRate": "Success Rate",+ "success": "Success",+ "fail": "Failed",+ "sendSuccess": "Send Success",+ "sendFail": "Send Failed"+ },+ "rate": {+ "openRate": "Open Rate",+ "clickRate": "Click Rate",+ "bounceRate": "Bounce Rate"+ },+ "sendFailDetails": {+ "title": "Send Failed Details",+ "columns": {+ "recipient": "Recipient",+ "dsn": "Dsn",+ "delay": "Delay",+ "delays": "Delays",+ "status": "Status",+ "relay": "Relay",+ "details": "Details"+ }+ }+ },+ "market": {+ "task": {+ "title": "Task",+ "actions": {+ "add": "Add Task",+ "detail": "View",+ "export": "Export",+ "send": "Send",+ "pause": "Pause",+ "analytics": "Analytics"+ },+ "columns": {+ "time": "Time",+ "subject": "Subject",+ "sender": "Sender",+ "recipients": "To",+ "success": "Success",+ "failed": "Failed",+ "status": "Status",+ "remark": "Remark",+ "estimatedTime": "Estimated Complet Time",+ "progress": "Progress",+ "email": "Email",+ "errorMsg": "Error Message"+ },+ "status": {+ "pending": "Pending",+ "processing": "Processing",+ "done": "Done",+ "noIpWarmup": "No IP Warmup"+ },+ "search": {+ "subjectPlaceholder": "Search by subject"+ },+ "changeStatus": {+ "title": "Change Task Status [{subject}]",+ "startConfirm": "Start sending task now?",+ "pauseConfirm": "After pausing the task, you can continue sending it!"+ },+ "delete": {+ "title": "Delete Task",+ "confirm": "Are you sure you want to delete the task \"{subject}\"?"+ },+ "detail": {+ "title": "Task Details",+ "displayName": "Display Name",+ "sender": "Sender",+ "subject": "Mail Subject",+ "groups": "Groups",+ "sendTime": "Send Time",+ "unsubscribeLink": "Unsubscribe Link",+ "threads": "Threads Num",+ "remark": "Remark",+ "yes": "Yes",+ "no": "No",+ "auto": "Auto"+ },+ "edit": {+ "addTitle": "Add Task",+ "from": "From",+ "to": "To",+ "displayName": "Display Name",+ "displayNamePlaceholder": "Please enter display name",+ "subject": "Subject",+ "subjectPlaceholder": "Please enter mail subject",+ "recipients": "Recipients",+ "recipientsPlaceholder": "Please select recipient groups",+ "recipientsCount": "Send emails ({count} recipients)",+ "template": "Email template",+ "saveOutbox": "Save to outbox",+ "ipWarmup": "Associate IP Warmup System",+ "ipWarmupTip": "Enabling this will limit the sending rate",+ "unsubscribeLink": "Unsubscribe link",+ "threads": "Threads",+ "threadsAuto": "Auto",+ "threadsCustom": "Custom",+ "sendTime": "Send time",+ "sendTimeNow": "Send now",+ "sendTimeSchedule": "Schedule",+ "remark": "Remark",+ "remarkPlaceholder": "Please enter remark",+ "testEmail": "Test email",+ "testEmailPlaceholder": "Please enter test email",+ "sendTest": "Send test mail",+ "viewCase": "View case",+ "preview": {+ "empty": "Please select an email template to preview"+ },+ "validation": {+ "displayNameRequired": "Please enter display name",+ "subjectRequired": "Please enter mail subject",+ "recipientsRequired": "Please select contact person",+ "sendTimeRequired": "Please select send time",+ "testEmailRequired": "Please enter test email",+ "templateRequired": "Please select email template"+ },+ "discard": {+ "title": "Tips",+ "content": "Do you want to discard your current edits?"+ }+ },+ "createGroup": {+ "title": "Create Group",+ "groupName": "Group Name",+ "email": "Email",+ "groupNamePlaceholder": "Please enter group name",+ "validation": {+ "groupNameRequired": "Please enter group name"+ }+ },+ "loading": {+ "creating": "Creating task, please wait...",+ "deleting": "Deleting task, please wait...",+ "pausing": "Pausing task, please wait...",+ "resuming": "Resuming task, please wait...",+ "sendingTest": "Sending test email, please wait..."+ }+ },+ "template": {+ "title": "Template",+ "name": "Template Name",+ "content": "Template Content",+ "uploadHtml": "Upload HTML File",+ "file": "Template File",+ "actions": {+ "add": "Add Template",+ "preview": "Preview",+ "duplicate": "Duplicate",+ "export": "Export",+ "import": "Import"+ },+ "columns": {+ "name": "Template Name",+ "type": "Type",+ "createdAt": "Created At"+ },+ "search": {+ "namePlaceholder": "Search template name"+ },+ "delete": {+ "title": "Delete Template",+ "confirm": "Are you sure to delete template {name}?"+ },+ "form": {+ "name": "Template Name",+ "type": "Template Type",+ "content": "Template Content"+ },+ "add": {+ "title": "Add Template",+ "namePlaceholder": "Please enter template name",+ "validation": {+ "nameRequired": "Please enter template name",+ "uploadRequired": "Please upload HTML file"+ }+ },+ "preview": {+ "title": "Template Preview"+ },+ "loading": {+ "creating": "Creating template, please wait...",+ "updating": "Updating template, please wait...",+ "copying": "Copying template, please wait...",+ "deleting": "Deleting template, please wait..."+ }+ }+ },+ "contacts": {+ "subscribers": {+ "search": {+ "emailPlaceholder": "Enter an email address to search"+ },+ "columns": {+ "email": "Email",+ "name": "Group Name",+ "createdAt": "Creation Time"+ },+ "status": {+ "subscribed": "Subscribed",+ "unsubscribed": "Unsubscribed"+ },+ "actions": {+ "changeGroup": "Change Group"+ },+ "delete": {+ "title": "Delete Subscriber",+ "confirm": "Are you sure you want to delete the subscriber {email}?"+ },+ "select": {+ "prefix": "Group: "+ },+ "edit": {+ "title": "Change Group",+ "email": "Email",+ "group": "Group",+ "validation": {+ "emailRequired": "Please enter email",+ "groupRequired": "Please select group"+ }+ },+ "import": {+ "title": "Import Contacts",+ "group": "Group",+ "data": "Data",+ "pasteData": "Paste Data",+ "uploadFile": "Upload File",+ "pastePlaceholder": [+ "Please paste data, one email, attributes(can be empty) per line",+ "e.g., [email protected]",+ "[email protected],\"{\"\"age\"\": \"\"13\"\", \"\"Gender\"\": \"\"XXX\"\"}\""+ ],+ "fileTypeHint": "File type: csv, not exceeding 5 MB",+ "overwriteLabel": "Overwrite Existing Users",+ "overwriteDescription": "Whether to overwrite existing customer information in the list according to imported data during import",+ "subscriptionStatus": "Subscription Status",+ "status": "Status",+ "exampleCsvLabel": "Example CSV",+ "overwriteOptions": {+ "no": "No",+ "yes": "Yes"+ },+ "subscriptionOptions": {+ "subscribe": "Subscribe",+ "unsubscribe": "Unsubscribe"+ },+ "statusOptions": {+ "confirmed": "Confirmed",+ "unconfirmed": "Unconfirmed"+ },+ "validation": {+ "groupRequired": "Please select group",+ "dataRequired": "Please paste data, one email per line",+ "fileRequired": "Please upload file"+ }+ },+ "loading": {+ "importSubscribers": "Importing contacts, please wait...",+ "updateSubscriberGroup": "Updating group, please wait...",+ "deleteSubscriber": "Deleting contacts, please wait..."+ }+ },+ "group": {+ "search": {+ "namePlaceholder": "Search by group name"+ },+ "columns": {+ "name": "Group Name",+ "subscribers": "Subscribers",+ "unsubscribe": "Unsubscribed",+ "createdAt": "Created At"+ },+ "form": {+ "name": "Group Name",+ "file": "File",+ "nameRequired": "Please enter group name"+ },+ "add": {+ "title": "Add Group"+ },+ "rename": {+ "title": "Rename Group"+ },+ "delete": {+ "title": "Delete Group",+ "confirm": "Are you sure to delete group {name}?"+ },+ "fileUpload": {+ "hint": "File type: csv, not exceeding 5 MB",+ "emptyHint": "An empty group will be created when no file is uploaded"+ },+ "loading": {+ "createGroup": "Creating group, please wait...",+ "updateGroup": "Updating group, please wait...",+ "deleteGroup": "Deleting group, please wait..."+ }+ }+ },+ "domain": {+ "title": "MailDomain",+ "addDomain": "Add Domain",+ "help": "Add the domain you want to use to send emails",+ "columns": {+ "domain": "Domain",+ "quota": "Quota",+ "mailboxes": "Mailboxes",+ "defaultMailboxSize": "Default Mailbox Size",+ "actions": "Actions"+ },+ "actions": {+ "dnsRecord": "DNS Records"+ },+ "delete": {+ "title": "Delete Domain",+ "confirm": "Are you sure you want to delete domain [{domain}]?"+ },+ "form": {+ "addTitle": "Add Domain",+ "editTitle": "Edit Domain",+ "domain": "Domain",+ "domainPlaceholder": "Please enter domain, e.g.: billionmail.com",+ "aRecord": "A Record",+ "aRecordPlaceholder": "Please enter A record, e.g.: mail.aapanel.com",+ "quota": "Domain Quota",+ "mailboxCount": "Mailbox Count",+ "globalCatch": "Catch All",+ "globalCatchPlaceholder": "Forward non-existent emails to this address",+ "validation": {+ "domainRequired": "Domain name cannot be empty!"+ },+ "tips": {+ "aRecordFailed": "A record resolution failed. Please check if the A record domain is resolved to the server IP",+ "dnsSetup": "You need to add an A record in your DNS provider's console",+ "cloudflare": "If using CloudFlare, please select [DNS only] when adding records"+ }+ },+ "dns": {+ "title": "DNS Records",+ "verify": "Records set, verify DNS resolution",+ "status": {+ "ok": "OK",+ "notSet": "Not Set"+ },+ "columns": {+ "domain": "Domain"+ },+ "table": {+ "recordType": "Record Type",+ "host": "Host",+ "value": "Value",+ "mxPriority": "MX Priority"+ },+ "step1": {+ "title": "Step 1: Add A Record"+ },+ "step2": {+ "title": "Step 2: Add MX Record",+ "description": "Login to your domain service provider and add an MX record for email service (please copy the following parameters directly)"+ },+ "step3": {+ "title": "Step 3: Add TXT Record",+ "description": "Add TXT records for email anti-spam (please copy the following parameters directly)"+ },+ "step4": {+ "title": "Step 4: Add PTR Record",+ "description1": "(Optional) PTR record is used for reverse DNS lookup",+ "description2": "Contact your IP provider to create PTR record"+ }+ },+ "ssl": {+ "expired": "Expired",+ "daysLeft": "{days} days",+ "notSet": "Not Set",+ "title": "Domain SSL",+ "tabs": {+ "otherCertificate": "Other Certificate"+ },+ "cert": {+ "brand": "Brand",+ "domains": "Certificate Domains",+ "privateKey": "Private Key (KEY)",+ "certificate": "Certificate (CRT/PEM)",+ "keyPlaceholder": "Enter private key content",+ "certPlaceholder": "Enter certificate content"+ },+ "actions": {+ "applyFree": "Apply Free Certificate"+ },+ "tips": {+ "paste": "Paste your KEY and CRT content, then save",+ "chainCheck": "If the browser prompts that the certificate chain is incomplete, please check if the PEM certificate is correctly concatenated",+ "pemFormat": "PEM format certificate = Domain certificate .crt + Root certificate (root_bundle).crt",+ "defaultSite": "When no SSL default site is specified, sites without SSL configuration will use HTTPS to access sites with SSL enabled"+ }+ },+ "api": {+ "loading": {+ "creating": "Creating Domain, please wait...",+ "updating": "Updating Domain, please wait...",+ "deleting": "Deleting Domain, please wait...",+ "settingSSL": "Setting SSL, please wait...",+ "applyingCert": "Applying SSL Certificate, please wait...",+ "refreshingDns": "Refreshing DNS records, please wait..."+ }+ }+ },+ "mailbox": {+ "title": "Mailbox Management",+ "actions": {+ "add": "Add Mailbox"+ },+ "search": {+ "usernamePlaceholder": "Search username"+ },+ "domain": {+ "selectPlaceholder": "Select domain"+ },+ "columns": {+ "username": "Username",+ "password": "Password",+ "loginInfo": "Login Info",+ "quota": "Quota",+ "type": "Type",+ "status": "Status"+ },+ "userType": {+ "admin": "Admin",+ "general": "General User"+ },+ "form": {+ "addTitle": "Add Mailbox",+ "editTitle": "Edit Mailbox",+ "emailAddress": "Email Address",+ "password": "Password",+ "passwordPlaceholder": "Enter your mailbox password",+ "quota": "Quota",+ "userType": "User Type",+ "status": "Status"+ },+ "validation": {+ "emailRequired": "Please enter email address",+ "passwordLength": "Password must be at least 8 characters",+ "passwordFormat": "Password must contain at least one uppercase letter, one lowercase letter and one number"+ },+ "delete": {+ "title": "Delete Mailbox",+ "confirm": "Are you sure you want to delete mailbox [{name}]?"+ },+ "loginInfo": {+ "template": "WebMail: {webmail}\nUsername: {username}\nPassword: {password}\nPOP service [ Address: {mx} Port: 110/995 ]\nIMAP service [ Address: {mx} Port: 143/993 ]\nSMTP service [ Address: {mx} Port: 25/465/587 ]"+ },+ "api": {+ "loading": {+ "creating": "Creating Mailbox, please wait...",+ "updating": "Updating Mailbox, please wait...",+ "deleting": "Deleting Mailbox, please wait..."+ }+ }+ },+ "smtp": {+ "title": "SMTP Relay Service Management",+ "description": "Manage your SMTP relay services with support for multiple service providers",+ "empty": "No SMTP relay services available",+ "providers": {+ "gmail": "Gmail",+ "mailgun": "Mailgun",+ "aws": "AWS SES",+ "sendgrid": "SendGrid",+ "custom": "Custom SMTP"+ },+ "delete": {+ "title": "Delete Relay",+ "confirm": "Are you sure you want to delete this relay service [{name}]?"+ },+ "card": {+ "domain": "Bound Domain",+ "server": "Server",+ "port": "Port",+ "username": "Username"+ },+ "form": {+ "addTitle": "Add SMTP",+ "editTitle": "Edit SMTP",+ "remark": "Remark",+ "domain": "Bound Domain",+ "server": "SMTP Server",+ "port": "SMTP Port",+ "username": "Username",+ "password": "Password",+ "testConnection": "Test Connection",+ "bind": " [Bound]",+ "validation": {+ "nameRequired": "Please enter a relay name",+ "domainRequired": "Please select a bound domain",+ "serverRequired": "Please enter an SMTP server",+ "portRequired": "Please enter an SMTP port",+ "usernameRequired": "Please enter a username",+ "passwordRequired": "Please enter a password"+ }+ },+ "status": {+ "online": "Online",+ "offline": "Offline"+ },+ "api": {+ "loading": {+ "adding": "Adding SMTP, please wait...",+ "editing": "Editing SMTP, please wait...",+ "testing": "Testing SMTP connection, please wait...",+ "deleting": "Deleting SMTP, please wait..."+ }+ }+ },+ "settings": {+ "title": "Settings",+ "service": {+ "title": "Service Status",+ "tips": "Tips: Ctrl+F Search keywords, Ctrl+S Save, Ctrl+H Search and replace",+ "editTitle": "Online Edit {name}",+ "columns": {+ "name": "Service Name",+ "status": "Status"+ },+ "status": {+ "running": "Running",+ "stopped": "Stopped"+ },+ "actions": {+ "restart": "Restart"+ },+ "restart": {+ "title": "Restart Service",+ "confirm": "Are you sure you want to restart [{name}]?"+ }+ },+ "bcc": {+ "title": "BCC Management",+ "add": "Add BCC",+ "edit": "Edit BCC",+ "needCopy": "Need Copy",+ "copyTo": "Copy to",+ "domain": "Domain",+ "type": "BCC Type",+ "status": "Status",+ "active": "Active",+ "types": {+ "sender": "When sending",+ "recipient": "When receiving"+ },+ "delete": {+ "title": "Delete BCC [{address}]",+ "content": "Whether to delete the BCC setting?"+ },+ "placeholders": {+ "needCopy": "Enter the users you need to BCC",+ "copyTo": "Enter the email you need to receive the BCC"+ },+ "loading": {+ "adding": "Adding BCC, please wait...",+ "saving": "Saving BCC, please wait...",+ "deleting": "Deleting BCC, please wait..."+ }+ },+ "forward": {+ "add": "Add Forward",+ "edit": "Edit Forward",+ "columns": {+ "address": "Address",+ "goto": "Goto",+ "domain": "Domain",+ "created": "Created",+ "modified": "Modified",+ "status": "Status"+ },+ "form": {+ "status": "Status",+ "forwardedUsers": "Forwarded users",+ "forwardedUsersPlaceholder": "Enter the mailbox that needs to be forwarded",+ "domain": "Domain",+ "domainPlaceholder": "Domain name of the Forwarded users",+ "receivingUser": "Receiving user",+ "receivingUserPlaceholder": "Users who need to accept forwarded mail. If there are multiple, please separate them with newlines"+ },+ "delete": {+ "title": "Delete mail forward",+ "content": "Are you sure you want to delete mail forward [{address}]?"+ },+ "loading": {+ "adding": "Adding mail forward, please wait...",+ "editing": "Editing mail forward, please wait...",+ "deleting": "Deleting mail forward, please wait..."+ }+ },+ "common": {+ "confirm": "Update",+ "security": {+ "title": "Security Settings",+ "username": "Change Username",+ "currentUsername": "Current Username",+ "newUsernamePlaceholder": "Enter new username",+ "usernameRule": "4-20 characters, letters and numbers",+ "usernameExists": "Username already exists",+ "changePassword": "Change Password",+ "currentPassword": "Current Password",+ "newPassword": "New Password",+ "confirmPassword": "Confirm New Password",+ "passwordStrength": "Password Strength",+ "passwordMismatch": "Passwords do not match",+ "strength": {+ "weak": "Weak",+ "medium": "Medium",+ "strong": "Strong"+ },+ "securityPath": "Change Security Path",+ "currentPath": "Current Path",+ "newPathPlaceholder": "Enter new path, e.g. admin-abc123",+ "pathRule": "Recommend using complex path for enhanced security",+ "usernameValidation": {+ "lengthError": "Username length must be between 4 and 20 characters",+ "formatError": "Username must consist of letters, numbers or underscores",+ "duplicateError": "Username cannot be the same as current username"+ }+ },+ "network": {+ "title": "Network Configuration",+ "domain": "Domain Settings",+ "currentDomain": "The access domain name of the console",+ "newDomainPlaceholder": "Enter new domain, e.g. admin.yourdomain.com",+ "domainRule": "Please enter a valid domain",+ "ssl": "SSL Certificate Configuration",+ "sslEnabled": "SSL Enabled",+ "certStatus": "Certificate Status",+ "certValid": "({days} days remaining)",+ "sslCert": "SSL Certificate (PEM format)",+ "sslKey": "Private Key (PEM format)",+ "certPlaceholder": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIURv...\n-----END CERTIFICATE-----",+ "keyPlaceholder": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG...\n-----END PRIVATE KEY-----",+ "updateSSL": "Update SSL Certificate",+ "certValidStatus": "Certificate Valid",+ "certExpiredStatus": "Certificate Expired",+ "certExpireTime": "Certificate expires: {time}"+ },+ "system": {+ "title": "System Configuration",+ "port": "Port Settings",+ "currentPort": "Current Port",+ "terminalRequired": "This setting requires terminal operation",+ "copyCommand": "Copy the above command and execute it in the server terminal",+ "commandCopied": "Command copied to clipboard",+ "timezone": "Timezone Settings",+ "currentTime": "Current System Timezone"+ },+ "ipWhitelist": {+ "title": "IP Whitelist",+ "enable": "Enable",+ "disable": "Disable",+ "add": "Add",+ "clear": "Clear",+ "description": "Only allow IPs in the list to access, terminal command to disable: bm.sh cancel-ip-limit",+ "placeholder": "Please enter IP address",+ "validation": {+ "ipRequired": "Please enter IP address"+ },+ "confirm": {+ "deleteTitle": "Delete IP Whitelist",+ "deleteContent": "Confirm to delete IP whitelist: {ip}",+ "enableTitle": "Enable IP Whitelist",+ "disableTitle": "Disable IP Whitelist",+ "enableContent": "Confirm to enable IP whitelist, only whitelisted IP addresses can access after enabling",+ "disableContent": "Confirm to disable IP whitelist, all IP addresses can access after disabling",+ "clearTitle": "Clear IP Whitelist",+ "clearContent": "Confirm to clear IP whitelist, all IP addresses can access after clearing"+ }+ }+ },+ "api": {+ "loading": {+ "restarting": "Restarting service, please wait...",+ "saving": "Saving configuration, please wait...",+ "setting": "Setting, please wait...",+ "settingSSL": "Setting SSL, please wait...",+ "applyingCert": "Applying certificate, please wait...",+ "adding": "Adding, please wait...",+ "deleting": "Deleting, please wait...",+ "clearing": "Clearing, please wait..."+ }+ }+ },+ "api": {+ "title": "Send API",+ "timeRange": "Time Range: ",+ "status": "Status: ",+ "search": "Search: ",+ "searchPlaceholder": "Please enter API name",+ "refreshData": "Refresh Data",+ "createNew": "Create API",+ "statusOptions": {+ "all": "All",+ "active": "Active",+ "inactive": "Inactive"+ },+ "columns": {+ "apiName": "API Name",+ "apiKey": "API Key",+ "sendCount": "Send Count",+ "openRate": "Open Rate",+ "clickRate": "Click Rate",+ "bounceRate": "Bounce Rate",+ "status": "Status"+ },+ "statusLabels": {+ "active": "Active",+ "inactive": "Inactive"+ },+ "confirmDelete": {+ "title": "Delete API [{apiName}]",+ "content": "Are you sure you want to delete this API?"+ },+ "overview": {+ "totalSend": "Total Sent",+ "avgOpenRate": "Avg Open Rate",+ "avgClickRate": "Avg Click Rate",+ "avgBounceRate": "Avg Bounce Rate"+ },+ "form": {+ "apiName": "API Name",+ "status": "Status",+ "ipWhitelist": "IP Whitelist",+ "apiNamePlaceholder": "Please enter API name",+ "ipWhitelistPlaceholder": "Multiple IPs separated by commas, empty means no restriction",+ "validation": {+ "apiNameRequired": "Please enter API name",+ "addresserRequired": "Please select sender",+ "templateRequired": "Please select template"+ },+ "title": {+ "edit": "Edit API",+ "add": "Add API"+ }+ },+ "loading": {+ "creating": "Creating, please wait...",+ "updating": "Updating, please wait...",+ "deleting": "Deleting, please wait...",+ "testing": "Testing, please wait..."+ }+ }}diff --git a/core/frontend/src/i18n/lang/zh.json b/core/frontend/src/i18n/lang/zh.jsonindex 60d6d6fd..d19d3a36 100644--- a/core/frontend/src/i18n/lang/zh.json+++ b/core/frontend/src/i18n/lang/zh.json@@ -1,861 +1,889 @@{- "common": {- "all": {- "text": "全部",- "domain": "全部域名"- },- "time": {- "today": "今天",- "yesterday": "昨天",- "last7days": "近7天",- "custom": "自定义"- },- "columns": {- "actions": "操作"- },- "unit": {- "days": "天",- "hours": "小时",- "minutes": "分钟",- "seconds": "秒"- },- "actions": {- "view": "查看",- "edit": "编辑",- "delete": "删除",- "add": "添加",- "create": "创建",- "update": "更新",- "save": "保存",- "cancel": "取消",- "confirm": "确认",- "back": "返回",- "search": "搜索",- "reset": "重置",- "more": "更多",- "refresh": "刷新",- "copy": "复制",- "restart": "重启",- "import": "导入",- "export": "导出",- "download": "下载",- "upload": "上传",- "apply": "应用",- "test": "测试",- "rename": "重命名",- "preview": "预览",- "modify": "修改",- "config": "配置",- "help": "Help"- },- "useCopy": {- "noText": "没有要复制的文本",- "success": "复制成功",- "failed": "复制失败"- }- },- "components": {- "tableHelp": {- "text1": "有问题或建议可提{issues},也可在Github给我们{star},",- "text2": "我们高度重视您的积极参与,谢谢。"- },- "upload": {- "error": {- "fileSizeExceeded": "文件【{fileName}】大小不能超过{maxSize}MB",- "uploadFailed": "上传文件失败,请重试"- },- "prompt": {- "dragText": "点击或将文件拖拽到该区域",- "supportedFiles": "仅支持{suffix}文件"- }- }- },- "layout": {- "header": {- "submit": "提交需求"- },- "menu": {- "overview": "概览",- "market": "邮件营销",- "task": "任务",- "template": "模板",- "sendApi": "发件API",- "contacts": "联系人",- "subscribers": "订阅",- "group": "分组",- "domain": "域名",- "mailboxes": "邮箱",- "settings": "设置",- "common": "常用设置",- "bcc": "BCC",- "forward": "邮件转发",- "logout": "退出"- }- },- "login": {- "title": "BillionMail",- "form": {- "usernamePlaceholder": "用户名",- "passwordPlaceholder": "密码",- "loginButton": "登录",- "captchaPlaceholder": "验证码",- "changeCaptcha": "点击切换验证码",- "captcha": "验证码"- },- "validation": {- "usernameRequired": "用户名不能为空!",- "passwordRequired": "密码不能为空!",- "captchaRequired": "请输入验证码"- },- "messages": {- "loginSuccess": "登录成功",- "loginFailed": "登录失败",- "networkError": "网络错误,请稍后重试"- }- },- "user": {- "logout": {- "title": "提示",- "content": "是否确认退出登录?",- "confirm": "确认",- "cancel": "取消"- },- "api": {- "loading": {- "logout": "正在退出登录,请稍候..."- }- }- },- "overview": {- "delivered": "已送达",- "opened": "已打开",- "clicked": "已点击",- "bounced": "已退回",- "mailProviders": "邮件提供商",- "sendStats": "发送统计",- "provider": {- "mailProvider": "邮件提供商",- "delivered": "送达率",- "open": "打开率",- "click": "点击率",- "bounce": "退回率"- },- "send": {- "successRate": "成功率",- "success": "成功",- "fail": "失败",- "sendSuccess": "发送成功",- "sendFail": "发送失败"- },- "rate": {- "openRate": "打开率",- "clickRate": "点击率",- "bounceRate": "退回率"- },- "sendFailDetails": {- "title": "发送失败详情",- "columns": {- "recipient": "收件人",- "dsn": "Dsn",- "delay": "延迟",- "delays": "延迟详情",- "status": "状态",- "relay": "中继",- "details": "详情"- }- }- },- "market": {- "task": {- "title": "任务",- "actions": {- "add": "添加任务",- "detail": "查看详情",- "export": "导出",- "send": "发送",- "pause": "暂停",- "analytics": "分析"- },- "columns": {- "time": "时间",- "subject": "邮件主题",- "sender": "发件人",- "recipients": "收件人",- "success": "成功",- "failed": "失败",- "status": "状态",- "remark": "备注",- "estimatedTime": "预计完成时间",- "progress": "进度",- "email": "邮箱",- "errorMsg": "错误信息"- },- "status": {- "pending": "等待中",- "processing": "处理中",- "done": "已完成",- "noIpWarmup": "未关联IP预热"- },- "search": {- "subjectPlaceholder": "搜索邮件主题"- },- "changeStatus": {- "title": "更改任务状态【{subject}】",- "startConfirm": "立即开始发送任务吗?",- "pauseConfirm": "暂停任务后,可以继续发送任务!"- },- "delete": {- "title": "删除任务",- "confirm": "确定要删除任务 \"{subject}\" 吗?"- },- "detail": {- "title": "任务详情",- "displayName": "显示名称",- "sender": "发件人",- "subject": "邮件主题",- "groups": "分组",- "sendTime": "发送时间",- "unsubscribeLink": "退订链接",- "threads": "线程数",- "remark": "备注",- "yes": "是",- "no": "否",- "auto": "自动"- },- "edit": {- "addTitle": "添加任务",- "from": "发件人",- "to": "收件人",- "displayName": "显示名称",- "displayNamePlaceholder": "请输入显示名称",- "subject": "主题",- "subjectPlaceholder": "请输入邮件主题",- "recipients": "收件人",- "recipientsPlaceholder": "请选择收件人分组",- "recipientsCount": "发送邮件 ({count} 收件人)",- "template": "邮件模板",- "saveOutbox": "保存到发件箱",- "ipWarmup": "关联IP预热系统",- "ipWarmupTip": "开启后将会限制发件速率",- "unsubscribeLink": "退订链接",- "threads": "线程数",- "threadsAuto": "自动",- "threadsCustom": "自定义",- "sendTime": "发送时间",- "sendTimeNow": "立即发送",- "sendTimeSchedule": "定时发送",- "remark": "备注",- "remarkPlaceholder": "请输入备注",- "testEmail": "测试邮件",- "testEmailPlaceholder": "请输入测试邮箱",- "sendTest": "发送测试邮件",- "viewCase": "查看案例",- "preview": {- "empty": "请选择邮件模板查看预览"- },- "validation": {- "displayNameRequired": "请输入显示名称",- "subjectRequired": "请输入邮件主题",- "recipientsRequired": "请选择联系人",- "sendTimeRequired": "请选择发送时间",- "testEmailRequired": "请输入测试邮箱",- "templateRequired": "请选择邮件模板"- },- "discard": {- "title": "提示",- "content": "是否放弃当前编辑?"- }- },- "createGroup": {- "title": "创建分组",- "groupName": "分组名称",- "email": "邮箱",- "groupNamePlaceholder": "请输入分组名称",- "validation": {- "groupNameRequired": "请输入分组名称"- }- },- "loading": {- "creating": "正在创建任务,请稍候...",- "deleting": "正在删除任务,请稍候...",- "pausing": "正在暂停任务,请稍候...",- "resuming": "正在恢复任务,请稍候...",- "sendingTest": "正在发送测试邮件,请稍候..."- }- },- "template": {- "title": "模板",- "name": "模板名称",- "content": "模板内容",- "uploadHtml": "上传HTML文件",- "file": "模板文件",- "actions": {- "add": "添加模板",- "preview": "预览",- "duplicate": "复制",- "export": "导出",- "import": "导入"- },- "columns": {- "name": "模板名称",- "type": "类型",- "createdAt": "创建时间"- },- "search": {- "namePlaceholder": "搜索模板名称"- },- "delete": {- "title": "删除模板",- "confirm": "确定要删除模板 {name} 吗?"- },- "form": {- "name": "模板名称",- "type": "模板类型",- "content": "模板内容",- "html": "HTML",- "drag": "拖拽"- },- "add": {- "title": "添加模板",- "namePlaceholder": "请输入模板名称",- "validation": {- "nameRequired": "请输入模板名称",- "uploadRequired": "请上传HTML文件"- }- },- "preview": {- "title": "预览模板"- },- "loading": {- "creating": "正在创建模板,请稍候...",- "updating": "正在更新模板,请稍候...",- "copying": "正在复制模板,请稍候...",- "deleting": "正在删除模板,请稍候..."- }- }- },- "contacts": {- "subscribers": {- "search": {- "emailPlaceholder": "请输入邮箱地址搜索"- },- "columns": {- "email": "邮箱",- "name": "分组名称",- "createdAt": "创建时间"- },- "status": {- "subscribed": "订阅",- "unsubscribed": "取消订阅"- },- "actions": {- "changeGroup": "更改分组"- },- "delete": {- "title": "删除订阅者",- "confirm": "确定要删除订阅者 {email} 吗?"- },- "select": {- "prefix": "分组:"- },- "edit": {- "title": "更改分组",- "email": "邮箱",- "group": "分组",- "validation": {- "emailRequired": "请填写邮箱",- "groupRequired": "请选择分组"- }- },- "import": {- "title": "导入联系人",- "group": "分组",- "data": "数据",- "pasteData": "粘贴数据",- "uploadFile": "上传文件",- "pastePlaceholder": [- "请粘贴数据,每行一个邮箱,属性(可为空)",- "例如:[email protected]",- "[email protected],\"{\"\"age\"\": \"\"13\"\", \"\"Gender\"\": \"\"XXX\"\"}\""- ],- "fileTypeHint": "文件类型:csv,不超过5 MB",- "overwriteLabel": "覆盖现有用户",- "overwriteDescription": "在导入时是否按照导入数据来覆盖列表中存在的客户信息",- "subscriptionStatus": "订阅状态",- "status": "状态",- "exampleCsvLabel": "CSV示例",- "overwriteOptions": {- "no": "否",- "yes": "是"- },- "subscriptionOptions": {- "subscribe": "订阅",- "unsubscribe": "取消订阅"- },- "statusOptions": {- "confirmed": "已确认",- "unconfirmed": "未确认"- },- "validation": {- "groupRequired": "请选择分组",- "dataRequired": "请粘贴数据,每行一个邮箱",- "fileRequired": "请上传文件"- }- }- },- "group": {- "search": {- "namePlaceholder": "请输入分组名称搜索"- },- "columns": {- "name": "分组名称",- "subscribers": "订阅者数量",- "unsubscribe": "取消订阅",- "createdAt": "创建时间"- },- "form": {- "name": "分组名称",- "file": "文件",- "nameRequired": "请输入分组名称"- },- "add": {- "title": "添加分组"- },- "rename": {- "title": "重命名分组"- },- "delete": {- "title": "删除分组",- "confirm": "确定要删除分组 {name} 吗?"- },- "fileUpload": {- "hint": "文件类型:csv,不超过5 MB",- "emptyHint": "文件传空时,会自动创建一个空分组"- },- "loading": {- "createGroup": "正在创建分组,请稍候...",- "updateGroup": "正在更新分组,请稍候...",- "deleteGroup": "正在删除分组,请稍候...",- "importSubscribers": "正在导入联系人,请稍候...",- "updateSubscriberGroup": "正在修改分组,请稍候...",- "deleteSubscriber": "正在删除联系人,请稍候..."- }- }- },- "domain": {- "title": "MailDomain",- "addDomain": "添加域名",- "help": "添加你要用来发邮件的域名",- "columns": {- "domain": "域名",- "quota": "配额",- "mailboxes": "邮箱数量",- "defaultMailboxSize": "默认邮箱大小",- "actions": "操作"- },- "actions": {- "dnsRecord": "DNS记录"- },- "delete": {- "title": "删除域名",- "confirm": "确定要删除域名【{domain}】吗?",- "confirmButton": "删除"- },- "form": {- "addTitle": "添加域名",- "editTitle": "编辑域名",- "domain": "域名",- "domainPlaceholder": "请输入域名,例如:billionmail.com",- "aRecord": "A记录",- "aRecordPlaceholder": "请输入A记录,例如:mailAapanelCom",- "quota": "域名配额",- "mailboxCount": "邮箱数量",- "globalCatch": "Catch All",- "globalCatchPlaceholder": "捕获不存在的邮件,转发至此邮件",- "validation": {- "domainRequired": "邮箱域名不能为空!"- },- "tips": {- "aRecordFailed": "提示A记录解析失败。请检查填写的A记录域名是否已解析到服务器 IP",- "dnsSetup": "需要在您的DNS服务提供商控制台添加A记录",- "cloudflare": "如果使用CloudFlare,请在添加记录时选择【仅DNS】"- }- },- "dns": {- "title": "DNS 记录",- "verify": "已设置,验证域名解析",- "status": {- "ok": "正常",- "notSet": "未设置"- },- "columns": {- "domain": "域名"- },- "table": {- "recordType": "记录类型",- "host": "主机记录",- "value": "记录值",- "mxPriority": "MX优先级"- },- "step1": {- "title": "步骤1:添加A记录"- },- "step2": {- "title": "步骤2:添加MX记录",- "description": "登录到域名服务提供商,添加记录类型为MX的记录用于邮箱服务(请直接复制以下参数)"- },- "step3": {- "title": "步骤3:添加TXT记录",- "description": "添加记录类型为TXT的记录用于邮箱反垃圾邮件(请直接复制以下参数)"- },- "step4": {- "title": "步骤4:添加PTR记录",- "description1": "(可选)PTR记录用于反向 DNS 查找",- "description2": "联系您的IP提供商创建 PTR 记录"- }- },- "ssl": {- "expired": "已过期",- "daysLeft": "{days}天",- "notSet": "未设置",- "title": "域名 SSL",- "tabs": {- "otherCertificate": "其他证书"- },- "cert": {- "brand": "品牌",- "domains": "证书域名",- "privateKey": "私钥 (KEY)",- "certificate": "证书 (CRT/PEM)",- "keyPlaceholder": "请输入私钥内容",- "certPlaceholder": "请输入证书内容"- },- "actions": {- "save": "保存",- "applyFree": "申请免费证书"- },- "tips": {- "paste": "粘贴您的 KEY 和 CRT 内容,然后保存",- "chainCheck": "如果浏览器提示证书链不完整,请检查 PEM 证书是否正确拼接",- "pemFormat": "PEM 格式证书 = 域名证书 Crt + 根证书 (root_bundle)Crt",- "defaultSite": "当未指定 SSL 默认站点时,未配置 SSL 的站点将使用 HTTPS 访问启用了 SSL 的站点"- }- },- "api": {- "loading": {- "creating": "正在创建域名,请稍候...",- "updating": "正在更新域名,请稍候...",- "deleting": "正在删除域名,请稍候...",- "settingSSL": "正在设置 SSL,请稍候...",- "applyingCert": "正在申请 SSL 证书,请稍候...",- "refreshingDns": "正在刷新DNS记录,请稍候..."- }- }- },- "mailbox": {- "title": "邮箱管理",- "actions": {- "add": "添加邮箱"- },- "search": {- "usernamePlaceholder": "搜索用户名"- },- "domain": {- "selectPlaceholder": "请选择域名"- },- "columns": {- "username": "用户名",- "password": "密码",- "loginInfo": "登录信息",- "quota": "配额",- "type": "类型",- "status": "状态"- },- "userType": {- "admin": "管理员",- "general": "普通用户"- },- "form": {- "addTitle": "添加邮箱",- "editTitle": "编辑邮箱",- "emailAddress": "邮箱地址",- "password": "密码",- "passwordPlaceholder": "请输入您的邮箱密码",- "quota": "配额",- "userType": "用户类型",- "status": "状态"- },- "validation": {- "emailRequired": "请输入邮箱地址",- "passwordLength": "密码长度少于8位,请重新输入",- "passwordFormat": "密码必须包含至少一个大写字母、一个小写字母和数字,请重新输入"- },- "delete": {- "title": "删除邮箱",- "confirm": "确定要删除邮箱【{name}】吗?"- },- "loginInfo": {- "template": "WebMail: {webmail}\n用户名: {username}\n密码: {password}\nPOP service [ Address: {mx} Port: 110/995 ]\nIMAP service [ Address: {mx} Port: 143/993 ]\nSMTP service [ Address: {mx} Port: 25/465/587 ]"- },- "api": {- "loading": {- "creating": "正在创建邮箱,请稍候...",- "updating": "正在更新邮箱,请稍候...",- "deleting": "正在删除邮箱,请稍候..."- }- }- },- "smtp": {- "title": "SMTP中继服务管理",- "description": "管理您的SMTP中继服务,支持多种服务提供商",- "empty": "暂无SMTP中继服务",- "providers": {- "custom": "自定义SMTP"- },- "delete": {- "title": "删除中继",- "confirm": "确定要删除此中继服务【{name}】吗?"- },- "card": {- "domain": "绑定域名",- "server": "服务器",- "port": "端口",- "username": "用户名"- },- "form": {- "addTitle": "添加SMTP",- "editTitle": "编辑SMTP",- "remark": "备注",- "domain": "绑定域名",- "server": "SMTP服务器",- "port": "SMTP端口",- "username": "用户名",- "password": "密码",- "testConnection": "测试链接",- "bind": "【已绑定】",- "validation": {- "nameRequired": "请输入中继名称",- "domainRequired": "请选择绑定域名",- "serverRequired": "请输入SMTP服务器",- "portRequired": "请输入SMTP端口",- "usernameRequired": "请输入用户名",- "passwordRequired": "请输入密码"- }- },- "status": {- "online": "在线",- "offline": "离线"- },- "api": {- "loading": {- "adding": "正在添加SMTP,请稍等...",- "editing": "正在编辑SMTP,请稍等...",- "testing": "正在测试SMTP连接,请稍等...",- "deleting": "正在删除SMTP,请稍等..."- }- }- },- "settings": {- "title": "系统设置",- "service": {- "title": "服务状态",- "tips": "提示:Ctrl+F 搜索关键词,Ctrl+S 保存,Ctrl+H 搜索和替换",- "editTitle": "在线编辑 {name}",- "columns": {- "name": "服务名称",- "status": "状态"- },- "status": {- "running": "运行中",- "stopped": "已停止"- },- "restart": {- "title": "重启服务",- "confirm": "确定要重启【{name}】吗?"- }- },- "bcc": {- "title": "BCC管理",- "add": "添加BCC",- "edit": "编辑BCC",- "needCopy": "需要复制",- "copyTo": "复制到",- "domain": "域名",- "type": "BCC类型",- "status": "状态",- "active": "激活",- "types": {- "sender": "发送时",- "recipient": "接收时"- },- "delete": {- "title": "删除BCC [{address}]",- "content": "是否删除此BCC设置?"- },- "placeholders": {- "needCopy": "请输入需要BCC的用户",- "copyTo": "请输入需要接收BCC的邮箱"- },- "loading": {- "adding": "正在添加BCC,请稍候...",- "saving": "正在保存BCC,请稍候...",- "deleting": "正在删除BCC,请稍候..."- }- },- "forward": {- "add": "添加转发",- "edit": "编辑转发",- "columns": {- "address": "地址",- "goto": "转发至",- "domain": "域名",- "created": "创建时间",- "modified": "修改时间",- "status": "状态"- },- "form": {- "status": "状态",- "forwardedUsers": "转发用户",- "forwardedUsersPlaceholder": "输入需要转发的邮箱",- "domain": "域名",- "domainPlaceholder": "转发用户的域名",- "receivingUser": "接收用户",- "receivingUserPlaceholder": "需要接收转发邮件的用户。如果有多个,请用换行符分隔"- },- "delete": {- "title": "删除邮件转发",- "content": "您确定要删除邮件转发【{address}】吗?"- },- "loading": {- "adding": "正在添加邮件转发,请稍候...",- "editing": "正在编辑邮件转发,请稍候...",- "deleting": "正在删除邮件转发,请稍候..."- }- },- "common": {- "confirm": "确认修改",- "security": {- "title": "账户安全设置",- "username": "修改用户名",- "currentUsername": "当前用户名",- "newUsernamePlaceholder": "输入新用户名",- "usernameRule": "4-20位字母数字组合",- "usernameExists": "用户名已存在",- "changePassword": "修改密码",- "currentPassword": "当前密码",- "newPassword": "新密码",- "confirmPassword": "确认新密码",- "passwordStrength": "密码强度",- "passwordMismatch": "两次输入的密码不一致",- "strength": {- "weak": "弱",- "medium": "中",- "strong": "强"- },- "securityPath": "修改安全入口",- "currentPath": "当前入口路径",- "newPathPlaceholder": "输入新路径,如admin-abc123",- "pathRule": "建议使用复杂路径增强安全性",- "usernameValidation": {- "lengthError": "用户名长度不能小于4位,不能大于20位",- "formatError": "用户名必须由字母、数字或下划线组成",- "duplicateError": "用户名不能与当前用户名相同"- }- },- "network": {- "title": "网络配置",- "domain": "域名设置",- "currentDomain": "控制台的访问域名",- "newDomainPlaceholder": "输入新域名,如admin.yourdomain.com",- "domainRule": "请输入有效的域名",- "ssl": "SSL证书配置",- "sslEnabled": "SSL已启用",- "certStatus": "证书状态",- "certValid": "(剩余 {days} 天)",- "sslCert": "SSL证书 (PEM格式)",- "sslKey": "私钥 (PEM格式)",- "certPlaceholder": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIURv...\n-----END CERTIFICATE-----",- "keyPlaceholder": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG...\n-----END PRIVATE KEY-----",- "updateSSL": "更新SSL证书",- "certValidStatus": "证书有效",- "certExpiredStatus": "证书过期",- "certExpireTime": "证书到期:{time}"- },- "system": {- "title": "系统配置",- "port": "端口设置",- "currentPort": "当前端口",- "terminalRequired": "此设置需要终端操作",- "copyCommand": "复制以上命令并在服务器终端执行",- "commandCopied": "命令已复制到剪贴板",- "timezone": "时区设置",- "currentTime": "当前系统时区"- }- },- "api": {- "loading": {- "restarting": "正在重启服务,请稍候...",- "saving": "正在保存配置,请稍候..."- }- }- },- "api": {- "title": "发件API",- "timeRange": "时间范围:",- "status": "状态:",- "search": "搜索:",- "searchPlaceholder": "请输入API名称",- "refreshData": "刷新数据",- "createNew": "新建API",- "statusOptions": {- "all": "全部",- "active": "可用",- "inactive": "停用"- },- "columns": {- "apiName": "API名称",- "apiKey": "API密钥",- "sendCount": "发送量",- "openRate": "打开率",- "clickRate": "点击率",- "bounceRate": "退信率",- "status": "状态"- },- "statusLabels": {- "active": "可用",- "inactive": "停用"- },- "confirmDelete": {- "title": "删除API【{apiName}】",- "content": "确认删除该API吗?"- },- "overview": {- "totalSend": "发送总量",- "avgOpenRate": "平均打开率",- "avgClickRate": "平均点击率",- "avgBounceRate": "平均退信率"- },- "form": {- "apiName": "API名称",- "status": "状态",- "ipWhitelist": "IP白名单",- "apiNamePlaceholder": "请输入API名称",- "ipWhitelistPlaceholder": "多个IP用逗号分隔,为空则不限制",- "validation": {- "apiNameRequired": "请输入API名称",- "addresserRequired": "请选择发送者",- "templateRequired": "请选择模板"- },- "title": {- "edit": "编辑API",- "add": "新建API"- }- },- "loading": {- "creating": "正在创建,请稍候...",- "updating": "正在编辑,请稍候...",- "deleting": "正在删除,请稍候...",- "testing": "正在测试,请稍候..."- }- }+ "common": {+ "all": {+ "text": "全部",+ "domain": "全部域名"+ },+ "time": {+ "today": "今天",+ "yesterday": "昨天",+ "last7days": "近7天",+ "custom": "自定义"+ },+ "columns": {+ "actions": "操作"+ },+ "unit": {+ "days": "天",+ "hours": "小时",+ "minutes": "分钟",+ "seconds": "秒"+ },+ "actions": {+ "view": "查看",+ "edit": "编辑",+ "delete": "删除",+ "add": "添加",+ "create": "创建",+ "update": "更新",+ "save": "保存",+ "cancel": "取消",+ "confirm": "确认",+ "back": "返回",+ "search": "搜索",+ "reset": "重置",+ "more": "更多",+ "refresh": "刷新",+ "copy": "复制",+ "restart": "重启",+ "import": "导入",+ "export": "导出",+ "download": "下载",+ "upload": "上传",+ "apply": "应用",+ "test": "测试",+ "rename": "重命名",+ "preview": "预览",+ "modify": "修改",+ "config": "配置",+ "help": "Help"+ },+ "useCopy": {+ "noText": "没有要复制的文本",+ "success": "复制成功",+ "failed": "复制失败"+ }+ },+ "components": {+ "tableHelp": {+ "text1": "有问题或建议可提{issues},也可在Github给我们{star},",+ "text2": "我们高度重视您的积极参与,谢谢。"+ },+ "upload": {+ "error": {+ "fileSizeExceeded": "文件【{fileName}】大小不能超过{maxSize}MB",+ "uploadFailed": "上传文件失败,请重试"+ },+ "prompt": {+ "dragText": "点击或将文件拖拽到该区域",+ "supportedFiles": "仅支持{suffix}文件"+ }+ }+ },+ "layout": {+ "header": {+ "submit": "提交需求"+ },+ "menu": {+ "overview": "概览",+ "market": "邮件营销",+ "task": "任务",+ "template": "模板",+ "sendApi": "发件API",+ "contacts": "联系人",+ "subscribers": "订阅",+ "group": "分组",+ "domain": "域名",+ "mailboxes": "邮箱",+ "settings": "设置",+ "common": "常用设置",+ "bcc": "BCC",+ "forward": "邮件转发",+ "logout": "退出"+ }+ },+ "login": {+ "title": "BillionMail",+ "form": {+ "usernamePlaceholder": "用户名",+ "passwordPlaceholder": "密码",+ "loginButton": "登录",+ "captchaPlaceholder": "验证码",+ "changeCaptcha": "点击切换验证码",+ "captcha": "验证码"+ },+ "validation": {+ "usernameRequired": "用户名不能为空!",+ "passwordRequired": "密码不能为空!",+ "captchaRequired": "请输入验证码"+ },+ "messages": {+ "loginSuccess": "登录成功",+ "loginFailed": "登录失败",+ "networkError": "网络错误,请稍后重试"+ }+ },+ "user": {+ "logout": {+ "title": "提示",+ "content": "是否确认退出登录?",+ "confirm": "确认",+ "cancel": "取消"+ },+ "api": {+ "loading": {+ "logout": "正在退出登录,请稍候..."+ }+ }+ },+ "overview": {+ "delivered": "已送达",+ "opened": "已打开",+ "clicked": "已点击",+ "bounced": "已退回",+ "mailProviders": "邮件提供商",+ "sendStats": "发送统计",+ "provider": {+ "mailProvider": "邮件提供商",+ "delivered": "送达率",+ "open": "打开率",+ "click": "点击率",+ "bounce": "退回率"+ },+ "send": {+ "successRate": "成功率",+ "success": "成功",+ "fail": "失败",+ "sendSuccess": "发送成功",+ "sendFail": "发送失败"+ },+ "rate": {+ "openRate": "打开率",+ "clickRate": "点击率",+ "bounceRate": "退回率"+ },+ "sendFailDetails": {+ "title": "发送失败详情",+ "columns": {+ "recipient": "收件人",+ "dsn": "Dsn",+ "delay": "延迟",+ "delays": "延迟详情",+ "status": "状态",+ "relay": "中继",+ "details": "详情"+ }+ }+ },+ "market": {+ "task": {+ "title": "任务",+ "actions": {+ "add": "添加任务",+ "detail": "查看详情",+ "export": "导出",+ "send": "发送",+ "pause": "暂停",+ "analytics": "分析"+ },+ "columns": {+ "time": "时间",+ "subject": "邮件主题",+ "sender": "发件人",+ "recipients": "收件人",+ "success": "成功",+ "failed": "失败",+ "status": "状态",+ "remark": "备注",+ "estimatedTime": "预计完成时间",+ "progress": "进度",+ "email": "邮箱",+ "errorMsg": "错误信息"+ },+ "status": {+ "pending": "等待中",+ "processing": "处理中",+ "done": "已完成",+ "noIpWarmup": "未关联IP预热"+ },+ "search": {+ "subjectPlaceholder": "搜索邮件主题"+ },+ "changeStatus": {+ "title": "更改任务状态【{subject}】",+ "startConfirm": "立即开始发送任务吗?",+ "pauseConfirm": "暂停任务后,可以继续发送任务!"+ },+ "delete": {+ "title": "删除任务",+ "confirm": "确定要删除任务 \"{subject}\" 吗?"+ },+ "detail": {+ "title": "任务详情",+ "displayName": "显示名称",+ "sender": "发件人",+ "subject": "邮件主题",+ "groups": "分组",+ "sendTime": "发送时间",+ "unsubscribeLink": "退订链接",+ "threads": "线程数",+ "remark": "备注",+ "yes": "是",+ "no": "否",+ "auto": "自动"+ },+ "edit": {+ "addTitle": "添加任务",+ "from": "发件人",+ "to": "收件人",+ "displayName": "显示名称",+ "displayNamePlaceholder": "请输入显示名称",+ "subject": "主题",+ "subjectPlaceholder": "请输入邮件主题",+ "recipients": "收件人",+ "recipientsPlaceholder": "请选择收件人分组",+ "recipientsCount": "发送邮件 ({count} 收件人)",+ "template": "邮件模板",+ "saveOutbox": "保存到发件箱",+ "ipWarmup": "关联IP预热系统",+ "ipWarmupTip": "开启后将会限制发件速率",+ "unsubscribeLink": "退订链接",+ "threads": "线程数",+ "threadsAuto": "自动",+ "threadsCustom": "自定义",+ "sendTime": "发送时间",+ "sendTimeNow": "立即发送",+ "sendTimeSchedule": "定时发送",+ "remark": "备注",+ "remarkPlaceholder": "请输入备注",+ "testEmail": "测试邮件",+ "testEmailPlaceholder": "请输入测试邮箱",+ "sendTest": "发送测试邮件",+ "viewCase": "查看案例",+ "preview": {+ "empty": "请选择邮件模板查看预览"+ },+ "validation": {+ "displayNameRequired": "请输入显示名称",+ "subjectRequired": "请输入邮件主题",+ "recipientsRequired": "请选择联系人",+ "sendTimeRequired": "请选择发送时间",+ "testEmailRequired": "请输入测试邮箱",+ "templateRequired": "请选择邮件模板"+ },+ "discard": {+ "title": "提示",+ "content": "是否放弃当前编辑?"+ }+ },+ "createGroup": {+ "title": "创建分组",+ "groupName": "分组名称",+ "email": "邮箱",+ "groupNamePlaceholder": "请输入分组名称",+ "validation": {+ "groupNameRequired": "请输入分组名称"+ }+ },+ "loading": {+ "creating": "正在创建任务,请稍候...",+ "deleting": "正在删除任务,请稍候...",+ "pausing": "正在暂停任务,请稍候...",+ "resuming": "正在恢复任务,请稍候...",+ "sendingTest": "正在发送测试邮件,请稍候..."+ }+ },+ "template": {+ "title": "模板",+ "name": "模板名称",+ "content": "模板内容",+ "uploadHtml": "上传HTML文件",+ "file": "模板文件",+ "actions": {+ "add": "添加模板",+ "preview": "预览",+ "duplicate": "复制",+ "export": "导出",+ "import": "导入"+ },+ "columns": {+ "name": "模板名称",+ "type": "类型",+ "createdAt": "创建时间"+ },+ "search": {+ "namePlaceholder": "搜索模板名称"+ },+ "delete": {+ "title": "删除模板",+ "confirm": "确定要删除模板 {name} 吗?"+ },+ "form": {+ "name": "模板名称",+ "type": "模板类型",+ "content": "模板内容",+ "html": "HTML",+ "drag": "拖拽"+ },+ "add": {+ "title": "添加模板",+ "namePlaceholder": "请输入模板名称",+ "validation": {+ "nameRequired": "请输入模板名称",+ "uploadRequired": "请上传HTML文件"+ }+ },+ "preview": {+ "title": "预览模板"+ },+ "loading": {+ "creating": "正在创建模板,请稍候...",+ "updating": "正在更新模板,请稍候...",+ "copying": "正在复制模板,请稍候...",+ "deleting": "正在删除模板,请稍候..."+ }+ }+ },+ "contacts": {+ "subscribers": {+ "search": {+ "emailPlaceholder": "请输入邮箱地址搜索"+ },+ "columns": {+ "email": "邮箱",+ "name": "分组名称",+ "createdAt": "创建时间"+ },+ "status": {+ "subscribed": "订阅",+ "unsubscribed": "取消订阅"+ },+ "actions": {+ "changeGroup": "更改分组"+ },+ "delete": {+ "title": "删除订阅者",+ "confirm": "确定要删除订阅者 {email} 吗?"+ },+ "select": {+ "prefix": "分组:"+ },+ "edit": {+ "title": "更改分组",+ "email": "邮箱",+ "group": "分组",+ "validation": {+ "emailRequired": "请填写邮箱",+ "groupRequired": "请选择分组"+ }+ },+ "import": {+ "title": "导入联系人",+ "group": "分组",+ "data": "数据",+ "pasteData": "粘贴数据",+ "uploadFile": "上传文件",+ "pastePlaceholder": [+ "请粘贴数据,每行一个邮箱,属性(可为空)",+ "例如:[email protected]",+ "[email protected],\"{\"\"age\"\": \"\"13\"\", \"\"Gender\"\": \"\"XXX\"\"}\""+ ],+ "fileTypeHint": "文件类型:csv,不超过5 MB",+ "overwriteLabel": "覆盖现有用户",+ "overwriteDescription": "在导入时是否按照导入数据来覆盖列表中存在的客户信息",+ "subscriptionStatus": "订阅状态",+ "status": "状态",+ "exampleCsvLabel": "CSV示例",+ "overwriteOptions": {+ "no": "否",+ "yes": "是"+ },+ "subscriptionOptions": {+ "subscribe": "订阅",+ "unsubscribe": "取消订阅"+ },+ "statusOptions": {+ "confirmed": "已确认",+ "unconfirmed": "未确认"+ },+ "validation": {+ "groupRequired": "请选择分组",+ "dataRequired": "请粘贴数据,每行一个邮箱",+ "fileRequired": "请上传文件"+ }+ }+ },+ "group": {+ "search": {+ "namePlaceholder": "请输入分组名称搜索"+ },+ "columns": {+ "name": "分组名称",+ "subscribers": "订阅者数量",+ "unsubscribe": "取消订阅",+ "createdAt": "创建时间"+ },+ "form": {+ "name": "分组名称",+ "file": "文件",+ "nameRequired": "请输入分组名称"+ },+ "add": {+ "title": "添加分组"+ },+ "rename": {+ "title": "重命名分组"+ },+ "delete": {+ "title": "删除分组",+ "confirm": "确定要删除分组 {name} 吗?"+ },+ "fileUpload": {+ "hint": "文件类型:csv,不超过5 MB",+ "emptyHint": "文件传空时,会自动创建一个空分组"+ },+ "loading": {+ "createGroup": "正在创建分组,请稍候...",+ "updateGroup": "正在更新分组,请稍候...",+ "deleteGroup": "正在删除分组,请稍候...",+ "importSubscribers": "正在导入联系人,请稍候...",+ "updateSubscriberGroup": "正在修改分组,请稍候...",+ "deleteSubscriber": "正在删除联系人,请稍候..."+ }+ }+ },+ "domain": {+ "title": "MailDomain",+ "addDomain": "添加域名",+ "help": "添加你要用来发邮件的域名",+ "columns": {+ "domain": "域名",+ "quota": "配额",+ "mailboxes": "邮箱数量",+ "defaultMailboxSize": "默认邮箱大小",+ "actions": "操作"+ },+ "actions": {+ "dnsRecord": "DNS记录"+ },+ "delete": {+ "title": "删除域名",+ "confirm": "确定要删除域名【{domain}】吗?",+ "confirmButton": "删除"+ },+ "form": {+ "addTitle": "添加域名",+ "editTitle": "编辑域名",+ "domain": "域名",+ "domainPlaceholder": "请输入域名,例如:billionmail.com",+ "aRecord": "A记录",+ "aRecordPlaceholder": "请输入A记录,例如:mailAapanelCom",+ "quota": "域名配额",+ "mailboxCount": "邮箱数量",+ "globalCatch": "Catch All",+ "globalCatchPlaceholder": "捕获不存在的邮件,转发至此邮件",+ "validation": {+ "domainRequired": "邮箱域名不能为空!"+ },+ "tips": {+ "aRecordFailed": "提示A记录解析失败。请检查填写的A记录域名是否已解析到服务器 IP",+ "dnsSetup": "需要在您的DNS服务提供商控制台添加A记录",+ "cloudflare": "如果使用CloudFlare,请在添加记录时选择【仅DNS】"+ }+ },+ "dns": {+ "title": "DNS 记录",+ "verify": "已设置,验证域名解析",+ "status": {+ "ok": "正常",+ "notSet": "未设置"+ },+ "columns": {+ "domain": "域名"+ },+ "table": {+ "recordType": "记录类型",+ "host": "主机记录",+ "value": "记录值",+ "mxPriority": "MX优先级"+ },+ "step1": {+ "title": "步骤1:添加A记录"+ },+ "step2": {+ "title": "步骤2:添加MX记录",+ "description": "登录到域名服务提供商,添加记录类型为MX的记录用于邮箱服务(请直接复制以下参数)"+ },+ "step3": {+ "title": "步骤3:添加TXT记录",+ "description": "添加记录类型为TXT的记录用于邮箱反垃圾邮件(请直接复制以下参数)"+ },+ "step4": {+ "title": "步骤4:添加PTR记录",+ "description1": "(可选)PTR记录用于反向 DNS 查找",+ "description2": "联系您的IP提供商创建 PTR 记录"+ }+ },+ "ssl": {+ "expired": "已过期",+ "daysLeft": "{days}天",+ "notSet": "未设置",+ "title": "域名 SSL",+ "tabs": {+ "otherCertificate": "其他证书"+ },+ "cert": {+ "brand": "品牌",+ "domains": "证书域名",+ "privateKey": "私钥 (KEY)",+ "certificate": "证书 (CRT/PEM)",+ "keyPlaceholder": "请输入私钥内容",+ "certPlaceholder": "请输入证书内容"+ },+ "actions": {+ "save": "保存",+ "applyFree": "申请免费证书"+ },+ "tips": {+ "paste": "粘贴您的 KEY 和 CRT 内容,然后保存",+ "chainCheck": "如果浏览器提示证书链不完整,请检查 PEM 证书是否正确拼接",+ "pemFormat": "PEM 格式证书 = 域名证书 Crt + 根证书 (root_bundle)Crt",+ "defaultSite": "当未指定 SSL 默认站点时,未配置 SSL 的站点将使用 HTTPS 访问启用了 SSL 的站点"+ }+ },+ "api": {+ "loading": {+ "creating": "正在创建域名,请稍候...",+ "updating": "正在更新域名,请稍候...",+ "deleting": "正在删除域名,请稍候...",+ "settingSSL": "正在设置 SSL,请稍候...",+ "applyingCert": "正在申请 SSL 证书,请稍候...",+ "refreshingDns": "正在刷新DNS记录,请稍候..."+ }+ }+ },+ "mailbox": {+ "title": "邮箱管理",+ "actions": {+ "add": "添加邮箱"+ },+ "search": {+ "usernamePlaceholder": "搜索用户名"+ },+ "domain": {+ "selectPlaceholder": "请选择域名"+ },+ "columns": {+ "username": "用户名",+ "password": "密码",+ "loginInfo": "登录信息",+ "quota": "配额",+ "type": "类型",+ "status": "状态"+ },+ "userType": {+ "admin": "管理员",+ "general": "普通用户"+ },+ "form": {+ "addTitle": "添加邮箱",+ "editTitle": "编辑邮箱",+ "emailAddress": "邮箱地址",+ "password": "密码",+ "passwordPlaceholder": "请输入您的邮箱密码",+ "quota": "配额",+ "userType": "用户类型",+ "status": "状态"+ },+ "validation": {+ "emailRequired": "请输入邮箱地址",+ "passwordLength": "密码长度少于8位,请重新输入",+ "passwordFormat": "密码必须包含至少一个大写字母、一个小写字母和数字,请重新输入"+ },+ "delete": {+ "title": "删除邮箱",+ "confirm": "确定要删除邮箱【{name}】吗?"+ },+ "loginInfo": {+ "template": "WebMail: {webmail}\n用户名: {username}\n密码: {password}\nPOP service [ Address: {mx} Port: 110/995 ]\nIMAP service [ Address: {mx} Port: 143/993 ]\nSMTP service [ Address: {mx} Port: 25/465/587 ]"+ },+ "api": {+ "loading": {+ "creating": "正在创建邮箱,请稍候...",+ "updating": "正在更新邮箱,请稍候...",+ "deleting": "正在删除邮箱,请稍候..."+ }+ }+ },+ "smtp": {+ "title": "SMTP中继服务管理",+ "description": "管理您的SMTP中继服务,支持多种服务提供商",+ "empty": "暂无SMTP中继服务",+ "providers": {+ "custom": "自定义SMTP"+ },+ "delete": {+ "title": "删除中继",+ "confirm": "确定要删除此中继服务【{name}】吗?"+ },+ "card": {+ "domain": "绑定域名",+ "server": "服务器",+ "port": "端口",+ "username": "用户名"+ },+ "form": {+ "addTitle": "添加SMTP",+ "editTitle": "编辑SMTP",+ "remark": "备注",+ "domain": "绑定域名",+ "server": "SMTP服务器",+ "port": "SMTP端口",+ "username": "用户名",+ "password": "密码",+ "testConnection": "测试链接",+ "bind": "【已绑定】",+ "validation": {+ "nameRequired": "请输入中继名称",+ "domainRequired": "请选择绑定域名",+ "serverRequired": "请输入SMTP服务器",+ "portRequired": "请输入SMTP端口",+ "usernameRequired": "请输入用户名",+ "passwordRequired": "请输入密码"+ }+ },+ "status": {+ "online": "在线",+ "offline": "离线"+ },+ "api": {+ "loading": {+ "adding": "正在添加SMTP,请稍等...",+ "editing": "正在编辑SMTP,请稍等...",+ "testing": "正在测试SMTP连接,请稍等...",+ "deleting": "正在删除SMTP,请稍等..."+ }+ }+ },+ "settings": {+ "title": "系统设置",+ "service": {+ "title": "服务状态",+ "tips": "提示:Ctrl+F 搜索关键词,Ctrl+S 保存,Ctrl+H 搜索和替换",+ "editTitle": "在线编辑 {name}",+ "columns": {+ "name": "服务名称",+ "status": "状态"+ },+ "status": {+ "running": "运行中",+ "stopped": "已停止"+ },+ "restart": {+ "title": "重启服务",+ "confirm": "确定要重启【{name}】吗?"+ }+ },+ "bcc": {+ "title": "BCC管理",+ "add": "添加BCC",+ "edit": "编辑BCC",+ "needCopy": "需要复制",+ "copyTo": "复制到",+ "domain": "域名",+ "type": "BCC类型",+ "status": "状态",+ "active": "激活",+ "types": {+ "sender": "发送时",+ "recipient": "接收时"+ },+ "delete": {+ "title": "删除BCC [{address}]",+ "content": "是否删除此BCC设置?"+ },+ "placeholders": {+ "needCopy": "请输入需要BCC的用户",+ "copyTo": "请输入需要接收BCC的邮箱"+ },+ "loading": {+ "adding": "正在添加BCC,请稍候...",+ "saving": "正在保存BCC,请稍候...",+ "deleting": "正在删除BCC,请稍候..."+ }+ },+ "forward": {+ "add": "添加转发",+ "edit": "编辑转发",+ "columns": {+ "address": "地址",+ "goto": "转发至",+ "domain": "域名",+ "created": "创建时间",+ "modified": "修改时间",+ "status": "状态"+ },+ "form": {+ "status": "状态",+ "forwardedUsers": "转发用户",+ "forwardedUsersPlaceholder": "输入需要转发的邮箱",+ "domain": "域名",+ "domainPlaceholder": "转发用户的域名",+ "receivingUser": "接收用户",+ "receivingUserPlaceholder": "需要接收转发邮件的用户。如果有多个,请用换行符分隔"+ },+ "delete": {+ "title": "删除邮件转发",+ "content": "您确定要删除邮件转发【{address}】吗?"+ },+ "loading": {+ "adding": "正在添加邮件转发,请稍候...",+ "editing": "正在编辑邮件转发,请稍候...",+ "deleting": "正在删除邮件转发,请稍候..."+ }+ },+ "common": {+ "confirm": "确认修改",+ "security": {+ "title": "账户安全设置",+ "username": "修改用户名",+ "currentUsername": "当前用户名",+ "newUsernamePlaceholder": "输入新用户名",+ "usernameRule": "4-20位字母数字组合",+ "usernameExists": "用户名已存在",+ "changePassword": "修改密码",+ "currentPassword": "当前密码",+ "newPassword": "新密码",+ "confirmPassword": "确认新密码",+ "passwordStrength": "密码强度",+ "passwordMismatch": "两次输入的密码不一致",+ "strength": {+ "weak": "弱",+ "medium": "中",+ "strong": "强"+ },+ "securityPath": "修改安全入口",+ "currentPath": "当前入口路径",+ "newPathPlaceholder": "输入新路径,如admin-abc123",+ "pathRule": "建议使用复杂路径增强安全性",+ "usernameValidation": {+ "lengthError": "用户名长度不能小于4位,不能大于20位",+ "formatError": "用户名必须由字母、数字或下划线组成",+ "duplicateError": "用户名不能与当前用户名相同"+ }+ },+ "network": {+ "title": "网络配置",+ "domain": "域名设置",+ "currentDomain": "控制台的访问域名",+ "newDomainPlaceholder": "输入新域名,如admin.yourdomain.com",+ "domainRule": "请输入有效的域名",+ "ssl": "SSL证书配置",+ "sslEnabled": "SSL已启用",+ "certStatus": "证书状态",+ "certValid": "(剩余 {days} 天)",+ "sslCert": "SSL证书 (PEM格式)",+ "sslKey": "私钥 (PEM格式)",+ "certPlaceholder": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIURv...\n-----END CERTIFICATE-----",+ "keyPlaceholder": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG...\n-----END PRIVATE KEY-----",+ "updateSSL": "更新SSL证书",+ "certValidStatus": "证书有效",+ "certExpiredStatus": "证书过期",+ "certExpireTime": "证书到期:{time}"+ },+ "system": {+ "title": "系统配置",+ "port": "端口设置",+ "currentPort": "当前端口",+ "terminalRequired": "此设置需要终端操作",+ "copyCommand": "复制以上命令并在服务器终端执行",+ "commandCopied": "命令已复制到剪贴板",+ "timezone": "时区设置",+ "currentTime": "当前系统时区"+ },+ "ipWhitelist": {+ "title": "IP白名单",+ "enable": "启用",+ "disable": "关闭",+ "add": "添加",+ "clear": "清空",+ "description": "仅允许列表中的IP访问,终端命令关闭: bm.sh cancel-ip-limit",+ "placeholder": "请输入IP地址",+ "validation": {+ "ipRequired": "请输入IP地址"+ },+ "confirm": {+ "deleteTitle": "删除IP白名单",+ "deleteContent": "确认删除IP白名单: {ip}",+ "enableTitle": "开启IP白名单",+ "disableTitle": "关闭IP白名单",+ "enableContent": "确认开启IP白名单, 开启后只有白名单中的IP地址可以访问",+ "disableContent": "确认关闭IP白名单, 关闭后所有IP地址都可以访问",+ "clearTitle": "清空IP白名单",+ "clearContent": "确认清空IP白名单, 清空后所有IP地址都可以访问"+ }+ }+ },+ "api": {+ "loading": {+ "restarting": "正在重启服务,请稍候...",+ "saving": "正在保存配置,请稍候...",+ "setting": "正在设置,请稍候...",+ "settingSSL": "正在设置SSL,请稍候...",+ "applyingCert": "正在申请证书,请稍候...",+ "adding": "正在添加,请稍候...",+ "deleting": "正在删除,请稍候...",+ "clearing": "正在清空,请稍候..."+ }+ }+ },+ "api": {+ "title": "发件API",+ "timeRange": "时间范围:",+ "status": "状态:",+ "search": "搜索:",+ "searchPlaceholder": "请输入API名称",+ "refreshData": "刷新数据",+ "createNew": "新建API",+ "statusOptions": {+ "all": "全部",+ "active": "可用",+ "inactive": "停用"+ },+ "columns": {+ "apiName": "API名称",+ "apiKey": "API密钥",+ "sendCount": "发送量",+ "openRate": "打开率",+ "clickRate": "点击率",+ "bounceRate": "退信率",+ "status": "状态"+ },+ "statusLabels": {+ "active": "可用",+ "inactive": "停用"+ },+ "confirmDelete": {+ "title": "删除API【{apiName}】",+ "content": "确认删除该API吗?"+ },+ "overview": {+ "totalSend": "发送总量",+ "avgOpenRate": "平均打开率",+ "avgClickRate": "平均点击率",+ "avgBounceRate": "平均退信率"+ },+ "form": {+ "apiName": "API名称",+ "status": "状态",+ "ipWhitelist": "IP白名单",+ "apiNamePlaceholder": "请输入API名称",+ "ipWhitelistPlaceholder": "多个IP用逗号分隔,为空则不限制",+ "validation": {+ "apiNameRequired": "请输入API名称",+ "addresserRequired": "请选择发送者",+ "templateRequired": "请选择模板"+ },+ "title": {+ "edit": "编辑API",+ "add": "新建API"+ }+ },+ "loading": {+ "creating": "正在创建,请稍候...",+ "updating": "正在编辑,请稍候...",+ "deleting": "正在删除,请稍候...",+ "testing": "正在测试,请稍候..."+ }+ }}diff --git a/core/frontend/src/views/settings/common/components/IpWhitelistSettings.vue b/core/frontend/src/views/settings/common/components/IpWhitelistSettings.vuenew file mode 100644index 00000000..ffcefb20--- /dev/null+++ b/core/frontend/src/views/settings/common/components/IpWhitelistSettings.vue@@ -0,0 +1,98 @@+<template>+ <div>+ <label class="block text-sm font-medium mb-3">{{ t('settings.common.ipWhitelist.title') }}</label>+ <div class="flex justify-between items-center h-34px mb-12px">+ <div class="flex item-center gap-8px">+ <n-switch :value="ipWhitelistEnable" @update:value="handleUpdateEnable">+ <template #checked>{{ t('settings.common.ipWhitelist.enable') }}</template>+ <template #unchecked>{{ t('settings.common.ipWhitelist.disable') }}</template>+ </n-switch>+ </div>+ <div class="text-desc">{{ t('settings.common.ipWhitelist.description') }}</div>+ </div>+ <div class="flex gap-8px mb-12px">+ <div class="flex-1">+ <n-input v-model:value="ip" :placeholder="t('settings.common.ipWhitelist.placeholder')"></n-input>+ </div>+ <n-button type="primary" @click="onAddIp">{{ t('settings.common.ipWhitelist.add') }}</n-button>+ </div>+ <n-list v-if="ipWhitelistList.length > 0" hoverable bordered>+ <n-list-item v-for="(item, index) in ipWhitelistList" :key="item.id">+ <span class="text-13px">+ {{ item.ip }}+ </span>+ <template #suffix>+ <n-button size="small" quaternary circle @click="onDelIp(item.id, index)">+ <i class="i-mingcute:close-fill text-16px"></i>+ </n-button>+ </template>+ </n-list-item>+ </n-list>+ <n-empty v-else></n-empty>+ <div class="mt-12px">+ <n-button @click="onClear">{{ t('settings.common.ipWhitelist.clear') }}</n-button>+ </div>+ </div>+</template>++<script lang="ts" setup>+import { confirm, Message } from '@/utils'+import {+ addIpWhitelist,+ clearIpWhitelist,+ deleteIpWhitelist,+ setSystemConfigKey,+} from '@/api/modules/settings/common'+import { getSettingsStore } from '../store'++const { ipWhitelistEnable, ipWhitelistList, getCommonConfig } = getSettingsStore()++const ip = ref('')++const { t } = useI18n()++const onAddIp = async () => {+ if (ip.value === '') {+ Message.error(t('settings.common.ipWhitelist.validation.ipRequired'))+ return+ }+ await addIpWhitelist({ ip: ip.value })+ getCommonConfig()+ ip.value = ''+}++const onDelIp = (id: number, index: number) => {+ confirm({+ title: t('settings.common.ipWhitelist.confirm.deleteTitle'),+ content: t('settings.common.ipWhitelist.confirm.deleteContent', { ip: ipWhitelistList.value[index].ip }),+ onConfirm: async () => {+ await deleteIpWhitelist({ id })+ ipWhitelistList.value.splice(index, 1)+ },+ })+}++const handleUpdateEnable = (val: boolean) => {+ confirm({+ title: val ? t('settings.common.ipWhitelist.confirm.enableTitle') : t('settings.common.ipWhitelist.confirm.disableTitle'),+ content: val ? t('settings.common.ipWhitelist.confirm.enableContent') : t('settings.common.ipWhitelist.confirm.disableContent'),+ onConfirm: async () => {+ await setSystemConfigKey({ key: 'ip_whitelist_enable', value: `${val}` })+ ipWhitelistEnable.value = val+ },+ })+}++const onClear = async () => {+ confirm({+ title: t('settings.common.ipWhitelist.confirm.clearTitle'),+ content: t('settings.common.ipWhitelist.confirm.clearContent'),+ onConfirm: async () => {+ await clearIpWhitelist()+ getCommonConfig()+ },+ })+}+</script>++<style lang="scss" scoped></style>diff --git a/core/frontend/src/views/settings/common/components/PortSettings.vue b/core/frontend/src/views/settings/common/components/PortSettings.vueindex 2b8ec559..caba707a 100644--- a/core/frontend/src/views/settings/common/components/PortSettings.vue+++ b/core/frontend/src/views/settings/common/components/PortSettings.vue@@ -1,6 +1,6 @@<template><div>- <label class="block text-sm font-medium text-gray-700 mb-3">+ <label class="block text-sm font-medium text-basic mb-3">{{ t('settings.common.system.port') }}</label><div class="grid items-start grid-cols-1 md:grid-cols-2 gap-4">diff --git a/core/frontend/src/views/settings/common/components/SystemSettings.vue b/core/frontend/src/views/settings/common/components/SystemSettings.vueindex d8024f2b..1a8bacb8 100644--- a/core/frontend/src/views/settings/common/components/SystemSettings.vue+++ b/core/frontend/src/views/settings/common/components/SystemSettings.vue@@ -13,6 +13,8 @@<PortSettings /><n-divider /><TimezoneSettings />+ <n-divider />+ <IpWhitelistSettings /></div></n-card></template>@@ -20,4 +22,5 @@<script lang="ts" setup>import PortSettings from './PortSettings.vue'import TimezoneSettings from './TimezoneSettings.vue'+import IpWhitelistSettings from './IpWhitelistSettings.vue'</script>diff --git a/core/frontend/src/views/settings/common/components/TimezoneSettings.vue b/core/frontend/src/views/settings/common/components/TimezoneSettings.vueindex 88a79b28..a8e607f6 100644--- a/core/frontend/src/views/settings/common/components/TimezoneSettings.vue+++ b/core/frontend/src/views/settings/common/components/TimezoneSettings.vue@@ -1,6 +1,6 @@<template><div>- <label class="block text-sm font-medium text-gray-700 mb-3">+ <label class="block text-sm font-medium text-basic mb-3">{{ t('settings.common.system.timezone') }}</label><div class="grid items-start grid-cols-1 md:grid-cols-2 gap-4">diff --git a/core/frontend/src/views/settings/common/store/index.ts b/core/frontend/src/views/settings/common/store/index.tsindex de4c13c3..50a5bf30 100644--- a/core/frontend/src/views/settings/common/store/index.ts+++ b/core/frontend/src/views/settings/common/store/index.ts@@ -44,6 +44,9 @@ export const useSettingsStore = defineStore('SettingsCommonStore', () => {const serverIp = ref('')+ const ipWhitelistEnable = ref(false)+ const ipWhitelistList = ref<{ id: number; ip: string }[]>([])+const checkPasswordStrength = () => {const password = securityForm.newPasswordlet score = 0@@ -71,6 +74,8 @@ export const useSettingsStore = defineStore('SettingsCommonStore', () => {currentPath.value = res.safe_pathcurrentDomain.value = res.billionmail_hostnameserverIp.value = res.server_ip+ ipWhitelistEnable.value = res.ip_whitelist_enable+ ipWhitelistList.value = res.ip_whitelistif (res.manage_ports) {currentPort.value = `${res.manage_ports.https}`@@ -128,6 +133,8 @@ export const useSettingsStore = defineStore('SettingsCommonStore', () => {currentTime,timeCommand,serverIp,+ ipWhitelistEnable,+ ipWhitelistList,// 方法checkPasswordStrength,diff --git a/core/frontend/src/views/settings/common/types/base.ts b/core/frontend/src/views/settings/common/types/base.tsindex 629718de..d7e6d645 100644--- a/core/frontend/src/views/settings/common/types/base.ts+++ b/core/frontend/src/views/settings/common/types/base.ts@@ -28,6 +28,11 @@ export interface SystemInfo {ipv4_network: stringfail2ban: booleanserver_ip: string+ ip_whitelist_enable: boolean+ ip_whitelist: Array<{+ id: number+ ip: string+ }>manage_ports: {http: numberhttps: numberdiff --git a/core/frontend/types/components.d.ts b/core/frontend/types/components.d.tsindex 31592c88..38e899ee 100644--- a/core/frontend/types/components.d.ts+++ b/core/frontend/types/components.d.ts@@ -62,6 +62,8 @@ declare module 'vue' {NLayout: typeof import('naive-ui')['NLayout']NLayoutHeader: typeof import('naive-ui')['NLayoutHeader']NLayoutSider: typeof import('naive-ui')['NLayoutSider']+ NList: typeof import('naive-ui')['NList']+ NListItem: typeof import('naive-ui')['NListItem']NMenu: typeof import('naive-ui')['NMenu']NModal: typeof import('naive-ui')['NModal']NPagination: typeof import('naive-ui')['NPagination']diff --git a/core/frontend/uno.config.ts b/core/frontend/uno.config.tsindex 5ee173fd..43b960b7 100644--- a/core/frontend/uno.config.ts+++ b/core/frontend/uno.config.ts@@ -14,7 +14,6 @@ export default defineConfig({display: 'inline-flex',},collections: {- mdi: () => import('@iconify-json/mdi/icons.json').then(i => i.default),custom: {help: '<svg aria-hidden="true" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M6.886 4.923c-.232.25-.386.63-.386 1.122a.75.75 0 1 1-1.5 0c0-.803.254-1.57.788-2.144C6.33 3.32 7.1 3 8 3c.9 0 1.67.32 2.212.901.534.574.788 1.341.788 2.144 0 1.234-.869 1.922-1.436 2.332-.094.068-.178.127-.255.181-.19.134-.33.233-.449.343a.64.64 0 0 0-.11.121V9.5a.75.75 0 0 1-1.5 0V9c0-.563.326-.956.593-1.202.198-.183.457-.364.672-.516l.17-.121c.559-.404.815-.693.815-1.116 0-.492-.154-.872-.386-1.122C8.888 4.68 8.533 4.5 8 4.5c-.533 0-.888.18-1.114.423Z"></path><path d="M9 12a1.001 1.001 0 0 1-2 0 1.001 1.001 0 0 1 2 0Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M8 14.5A6.5 6.5 0 1 0 1.5 8c0 1.022.179 1.608.603 2.399.316.59.407 1.313.178 2.003l-.66 1.976 1.977-.659a2.541 2.541 0 0 1 2.004.178c.79.424 1.376.603 2.398.603ZM8 16a8 8 0 1 0-8-8c0 1.29.25 2.117.78 3.107.136.252.168.549.078.82l-.807 2.42a1 1 0 0 0-.051.315V15a1 1 0 0 0 1 1h.338a1 1 0 0 0 .316-.051l2.419-.807c.271-.09.568-.057.82.078.99.53 1.817.78 3.107.78Z"></path></svg>',smtp: '<svg t="1747640620453" viewBox="0 0 1025 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3817" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M841.142857 73.142857a109.714286 109.714286 0 0 1 109.202286 99.181714L950.857143 182.857143v294.107428a36.571429 36.571429 0 0 1-72.557714 6.582858L877.714286 476.964571V194.340571L569.051429 459.776c-32.182857 19.529143-71.826286 21.211429-108.909715 2.121143l-10.020571-5.705143L146.285714 194.56v573.44a36.571429 36.571429 0 0 0 29.988572 35.986286L182.857143 804.571429h221.842286a36.571429 36.571429 0 0 1 6.582857 72.557714l-6.582857 0.585143H182.857143a109.714286 109.714286 0 0 1-109.202286-99.181715L73.142857 768v-585.142857a109.714286 109.714286 0 0 1 99.181714-109.202286L182.857143 73.142857h658.285714z m-19.675428 73.142857H202.24L492.982857 397.238857a40.740571 40.740571 0 0 0 29.257143 5.046857l3.949714-1.462857L821.467429 146.285714z" fill="currentColor" p-id="3818"></path><path d="M857.526857 626.395429l5.632 3.510857 146.651429 109.421714a36.571429 36.571429 0 0 1 5.558857 53.613714l-5.266286 4.827429-142.482286 108.544a36.571429 36.571429 0 0 1-49.225142-53.76l4.900571-4.388572 56.32-43.008-257.755429 0.073143a36.571429 36.571429 0 0 1-6.582857-72.557714l6.582857-0.585143H877.714286l-58.294857-43.593143a36.571429 36.571429 0 0 1 38.107428-62.098285z" fill="currentColor" p-id="3819"></path></svg>',