Skip to content

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

Added multiple languages to AI templates and edit domain names

zdm8fb3fb511513
diff --git a/core/frontend/.env.development b/core/frontend/.env.development
index ab0d1071..7b714108 100644
--- a/core/frontend/.env.development
+++ b/core/frontend/.env.development
@@ -2,4 +2,3 @@ NODE_ENV = 'development'
# API Prefix
API_URL_PREFIX = '/api'
-
diff --git a/core/frontend/.env.operation b/core/frontend/.env.operation
index ab0d1071..7b714108 100644
--- a/core/frontend/.env.operation
+++ b/core/frontend/.env.operation
@@ -2,4 +2,3 @@ NODE_ENV = 'development'
# API Prefix
API_URL_PREFIX = '/api'
-
diff --git a/core/frontend/src/i18n/lang/en.json b/core/frontend/src/i18n/lang/en.json
index be81fdba..3b40cffb 100644
--- a/core/frontend/src/i18n/lang/en.json
+++ b/core/frontend/src/i18n/lang/en.json
@@ -1,966 +1,1086 @@
{
- "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",
- "settings": "Settings",
- "clear": "Clear"
- },
- "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",
- "service": "Service"
- }
- },
- "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": {
- "joinGroup": "Join Group",
- "selectGroupHint": "Please select a group on the right",
- "trends": {
- "title": "Subscription Trends",
- "subscriber": "Subscriber"
- },
- "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",
- "status": "Status",
- "attributes": "Attributes",
- "statusOptions": {
- "subscribe": "Subscribe",
- "unsubscribe": "Unsubscribe"
- },
- "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",
- "[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",
- "type": "Type"
- },
- "type": {
- "doubleOptin": "Double Opt-In",
- "singleOptin": "Single Opt-In"
- },
- "export": {
- "title": "Export Group",
- "confirm": "Export {count} group(s)?"
- },
- "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...",
- "exportGroup": "Exporting, please wait...",
- "saveSettings": "Saving, please wait..."
- }
- },
- "settings": {
- "title": "Settings",
- "tabs": {
- "subscribeForm": "Subscribe Form",
- "subscribeSettings": "Subscribe Settings"
- },
- "subscribeForm": {
- "separateSubscriptionPage": {
- "title": "Separate Subscription Page",
- "description": "Simply copy and share this URL with users – the subscription form is ready to use."
- },
- "embeddableForm": {
- "title": "Embeddable Form",
- "description": "Easily embed this subscription form into your website pages."
- }
- },
- "subscribeSettings": {
- "listType": {
- "label": "List Type",
- "placeholder": "Please select list type",
- "options": {
- "doubleOptin": "Double Opt-in",
- "singleOptin": "Single Opt-in"
- }
- },
- "confirmEmail": {
- "subject": "Confirmation Email Subject",
- "redirectLink": "Confirmation Redirect Link",
- "redirectDescription": "Enter the custom link below to redirect users to a confirmation page for their 'Double Opt-in' subscription",
- "emailContent": "Confirmation Email",
- "emailTip1": "If you customize the confirmation email, don't forget to include the confirmation link",
- "emailTip2": "somewhere in your message"
- },
- "welcomeEmail": {
- "subject": "Welcome Email Subject",
- "redirectLink": "Welcome Redirect Link",
- "redirectDescription": "Please enter the link below to direct users to a custom confirmation page after they subscribe successfully",
- "emailContent": "Welcome Email",
- "sendThroughTip": "Messages are sent through the",
- "mailboxTip": "mailbox of the default sending domain",
- "enabledDescription": "When enabled, a thank you email will be sent to the user when they subscribe via the subscription form or API. This will not be triggered for manually added users.",
- "templateVariablesTip": "You can use the information you collect in the subject and message of your thank you email, which is the Template Variables."
- },
- "alreadySubscribed": {
- "redirectLink": "Already Subscribed Redirect Link"
- }
- }
- }
- },
- "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..."
- }
- }
+ "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",
+ "settings": "Settings",
+ "clear": "Clear"
+ },
+ "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",
+ "service": "Service"
+ }
+ },
+ "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..."
+ }
+ }
+ },
+ "template": {
+ "ai": {
+ "title": "AI Template",
+ "welcomeMessage": "You can say: Create a welcome email for users joining {domain}",
+ "brandName": "BillionMail",
+ "buttons": {
+ "regenerate": "Regenerate",
+ "info": "Info",
+ "view": "View",
+ "edit": "Edit",
+ "copy": "Copy",
+ "copied": "Copied"
+ },
+ "tips": {
+ "saveShortcut": "[Ctrl + s] to save your change"
+ },
+ "loading": {
+ "message": "Loading... Please wait."
+ }
+ }
+ },
+ "contacts": {
+ "subscribers": {
+ "joinGroup": "Join Group",
+ "selectGroupHint": "Please select a group on the right",
+ "trends": {
+ "title": "Subscription Trends",
+ "subscriber": "Subscriber"
+ },
+ "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",
+ "status": "Status",
+ "attributes": "Attributes",
+ "statusOptions": {
+ "subscribe": "Subscribe",
+ "unsubscribe": "Unsubscribe"
+ },
+ "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",
+ "[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",
+ "type": "Type"
+ },
+ "type": {
+ "doubleOptin": "Double Opt-In",
+ "singleOptin": "Single Opt-In"
+ },
+ "export": {
+ "title": "Export Group",
+ "confirm": "Export {count} group(s)?"
+ },
+ "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...",
+ "exportGroup": "Exporting, please wait...",
+ "saveSettings": "Saving, please wait..."
+ }
+ },
+ "settings": {
+ "title": "Settings",
+ "tabs": {
+ "subscribeForm": "Subscribe Form",
+ "subscribeSettings": "Subscribe Settings"
+ },
+ "subscribeForm": {
+ "separateSubscriptionPage": {
+ "title": "Separate Subscription Page",
+ "description": "Simply copy and share this URL with users – the subscription form is ready to use."
+ },
+ "embeddableForm": {
+ "title": "Embeddable Form",
+ "description": "Easily embed this subscription form into your website pages."
+ }
+ },
+ "subscribeSettings": {
+ "listType": {
+ "label": "List Type",
+ "placeholder": "Please select list type",
+ "options": {
+ "doubleOptin": "Double Opt-in",
+ "singleOptin": "Single Opt-in"
+ }
+ },
+ "confirmEmail": {
+ "subject": "Confirmation Email Subject",
+ "redirectLink": "Confirmation Redirect Link",
+ "redirectDescription": "Enter the custom link below to redirect users to a confirmation page for their 'Double Opt-in' subscription",
+ "emailContent": "Confirmation Email",
+ "emailTip1": "If you customize the confirmation email, don't forget to include the confirmation link",
+ "emailTip2": "somewhere in your message"
+ },
+ "welcomeEmail": {
+ "subject": "Welcome Email Subject",
+ "redirectLink": "Welcome Redirect Link",
+ "redirectDescription": "Please enter the link below to direct users to a custom confirmation page after they subscribe successfully",
+ "emailContent": "Welcome Email",
+ "sendThroughTip": "Messages are sent through the",
+ "mailboxTip": "mailbox of the default sending domain",
+ "enabledDescription": "When enabled, a thank you email will be sent to the user when they subscribe via the subscription form or API. This will not be triggered for manually added users.",
+ "templateVariablesTip": "You can use the information you collect in the subject and message of your thank you email, which is the Template Variables."
+ },
+ "alreadySubscribed": {
+ "redirectLink": "Already Subscribed Redirect Link"
+ }
+ }
+ }
+ },
+ "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"
+ }
+ },
+ "edit": {
+ "pageTitle": "Domain / Edit domain",
+ "save": "Save",
+ "tabs": {
+ "domainConfiguration": "Domain Configuration",
+ "projectDetails": "Project Details",
+ "companyProfile": "Company Profile",
+ "styling": "Styling",
+ "sitemap": "Sitemap",
+ "footerSettings": "Footer Settings",
+ "aiSettings": "AI Settings"
+ },
+ "domainConfiguration": {
+ "title": "Mail Domain Configuration",
+ "domain": "Domain",
+ "domainQuota": "Domain Quota",
+ "mailboxCount": "MailBox Count",
+ "catchAll": "Catch all",
+ "autoCreateBrand": "Automatically create brand information",
+ "aiIntegrationWarning": "To use this feature, you need to integrate an AI model first.",
+ "integrateImmediately": "Integrate immediately",
+ "aiDescription": "AI-driven information import automatically analyzes and creates brand information from email domains. After creation, you can modify it at your discretion.",
+ "features": {
+ "extractBrand": "Extract brand and color",
+ "analyzeStructure": "Analyze content structure",
+ "importContent": "Import images and content",
+ "customLogo": "Use a custom logo (optional)"
+ },
+ "specifyDomain": "Specify a domain name",
+ "addMoreUrls": "Add more URLs"
+ },
+ "projectDetails": {
+ "title": "Project Details",
+ "projectName": "Project Name",
+ "description": "Description",
+ "brandLogos": "Brand Logos",
+ "logoSystem": "Logo System",
+ "logoSystemDesc": "Upload your brand's logo system to maintain consistent branding across your project",
+ "primaryLogo": "Primary Logo",
+ "primaryLogoDesc": "Horizontal version for headers",
+ "secondaryLogo": "Secondary Logo",
+ "secondaryLogoDesc": "Vertical/stacked version",
+ "favicon": "Favicon",
+ "faviconDesc": "Icon for browser tabs",
+ "loadingFailed": "loading failed",
+ "knowledgeBase": "Knowledge Base",
+ "newFile": "New File",
+ "edit": "Edit",
+ "preview": "Preview",
+ "newKnowledgeFile": "New Knowledge File",
+ "fileName": "File Name"
+ },
+ "companyProfile": {
+ "title": "Company Detail",
+ "legalCompanyName": "Legal Company Name",
+ "website": "web_site",
+ "organizationNumber": "Organization Number",
+ "additionalInfo": "Additional Company Information",
+ "contactInfo": "Contact Information",
+ "contactEmail": "Contact Email",
+ "phoneNumber": "Phone Number",
+ "supportUrl": "Support URL"
+ },
+ "styling": {
+ "colorPalette": "Color Palette",
+ "accentColor": "Accent Color",
+ "textColor": "Text Color",
+ "pageBackground": "Page Background",
+ "containerBackground": "Container Background",
+ "linkFooterColor": "Link footer color",
+ "linkSocialColor": "Link social color",
+ "typography": "Typography",
+ "headingFont": "Heading Font",
+ "bodyFont": "Body Font",
+ "preview": "Preview:",
+ "previewText": "The quick brown fox jumps over the lazy dog",
+ "typographyGuidelines": "Typography Guidelines:",
+ "webSafeFonts": "Use web-safe fonts for better compatibility",
+ "fallbackFonts": "Always include fallback fonts for better performance"
+ },
+ "sitemap": {
+ "title": "Sitemap",
+ "addLink": "Add link"
+ },
+ "footerSettings": {
+ "title": "Footer Settings",
+ "additionalContent": "Additional Content",
+ "copyrightText": "Copyright Text"
+ },
+ "aiSettings": {
+ "title": "AI Settings",
+ "defaultInstructions": "Default AI Instructions",
+ "emailGenerationInstructions": "Instructions for Email Generation",
+ "instructionsDescription": "These instructions will be used as default guidelines when generating new emails. You can override these instructions for individual emails as needed."
+ },
+ "common": {
+ "daysAgo": "days ago"
+ }
+ },
+ "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.json
index 28e39553..cb7778f2 100644
--- a/core/frontend/src/i18n/lang/zh.json
+++ b/core/frontend/src/i18n/lang/zh.json
@@ -1,960 +1,1080 @@
{
- "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",
- "settings": "设置",
- "clear": "清空"
- },
- "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": "退出",
- "service": "服务"
- }
- },
- "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": {
- "joinGroup": "加入分组",
- "selectGroupHint": "请在右侧选择一个分组",
- "trends": {
- "title": "订阅趋势",
- "subscriber": "订阅者"
- },
- "search": {
- "emailPlaceholder": "请输入邮箱地址搜索"
- },
- "columns": {
- "email": "邮箱",
- "name": "分组名称",
- "createdAt": "创建时间"
- },
- "status": {
- "subscribed": "订阅",
- "unsubscribed": "取消订阅"
- },
- "actions": {
- "changeGroup": "更改分组"
- },
- "delete": {
- "title": "删除订阅者",
- "confirm": "确定要删除订阅者 {email} 吗?"
- },
- "select": {
- "prefix": "分组:"
- },
- "edit": {
- "title": "更改分组",
- "email": "邮箱",
- "group": "分组",
- "status": "状态",
- "attributes": "属性",
- "statusOptions": {
- "subscribe": "订阅",
- "unsubscribe": "退订"
- },
- "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": "创建时间",
- "type": "类型"
- },
- "type": {
- "doubleOptin": "双重确认",
- "singleOptin": "单次确认"
- },
- "export": {
- "title": "导出分组",
- "confirm": "导出 {count} 个分组?"
- },
- "form": {
- "name": "分组名称",
- "file": "文件",
- "nameRequired": "请输入分组名称"
- },
- "add": {
- "title": "添加分组"
- },
- "rename": {
- "title": "重命名分组"
- },
- "delete": {
- "title": "删除分组",
- "confirm": "确定要删除分组 {name} 吗?"
- },
- "fileUpload": {
- "hint": "文件类型:csv,不超过5 MB",
- "emptyHint": "文件传空时,会自动创建一个空分组"
- },
- "loading": {
- "createGroup": "正在创建分组,请稍候...",
- "updateGroup": "正在更新分组,请稍候...",
- "deleteGroup": "正在删除分组,请稍候...",
- "exportGroup": "正在导出,请稍候...",
- "saveSettings": "正在保存,请稍候..."
- }
- },
- "settings": {
- "title": "设置",
- "tabs": {
- "subscribeForm": "订阅表单",
- "subscribeSettings": "订阅设置"
- },
- "subscribeForm": {
- "separateSubscriptionPage": {
- "title": "分离订阅页面",
- "description": "简单复制并与用户分享此URL - 订阅表单已准备就绪。"
- },
- "embeddableForm": {
- "title": "可嵌入表单",
- "description": "轻松将此订阅表单嵌入到您的网站页面中。"
- }
- },
- "subscribeSettings": {
- "listType": {
- "label": "列表类型",
- "placeholder": "请选择列表类型",
- "options": {
- "doubleOptin": "两次确认",
- "singleOptin": "单次确认"
- }
- },
- "confirmEmail": {
- "subject": "二次确认邮件主题",
- "redirectLink": "二次确认的跳转链接",
- "redirectDescription": "在下方输入自定义链接,将用户重定向到\"双重确认\"订阅的确认页面",
- "emailContent": "二次确认邮件",
- "emailTip1": "如果您自定义确认邮件,请不要忘记包含确认链接",
- "emailTip2": "在您的消息中的某个位置"
- },
- "welcomeEmail": {
- "subject": "感谢邮件订阅主题",
- "redirectLink": "感谢订阅的跳转链接",
- "redirectDescription": "请在下方输入链接,在用户成功订阅后将其引导到自定义确认页面",
- "emailContent": "感谢邮件订阅邮件",
- "sendThroughTip": "消息通过",
- "mailboxTip": "默认发送域的邮箱发送",
- "enabledDescription": "启用后,当用户通过订阅表单或API订阅时,将向用户发送感谢邮件。手动添加的用户不会触发此功能。",
- "templateVariablesTip": "您可以在感谢邮件的主题和消息中使用收集的信息,这些是模板变量。"
- },
- "alreadySubscribed": {
- "redirectLink": "订阅已存在的跳转链接"
- }
- }
- }
- },
- "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": "正在测试,请稍候..."
- }
- }
+ "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",
+ "settings": "设置",
+ "clear": "清空"
+ },
+ "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": "退出",
+ "service": "服务"
+ }
+ },
+ "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": "正在删除模板,请稍候..."
+ }
+ }
+ },
+ "template": {
+ "ai": {
+ "title": "AI Template",
+ "welcomeMessage": "您可以说:创建一份欢迎用户加入{domain}的欢迎邮件",
+ "brandName": "BillionMail",
+ "buttons": {
+ "regenerate": "Regenerate",
+ "info": "Info",
+ "view": "View",
+ "edit": "Edit",
+ "copy": "Copy",
+ "copied": "Copied"
+ },
+ "tips": {
+ "saveShortcut": "[Ctrl + s] to save your change"
+ },
+ "loading": {
+ "message": "Loading... Please wait."
+ }
+ }
+ },
+ "contacts": {
+ "subscribers": {
+ "joinGroup": "加入分组",
+ "selectGroupHint": "请在右侧选择一个分组",
+ "trends": {
+ "title": "订阅趋势",
+ "subscriber": "订阅者"
+ },
+ "search": {
+ "emailPlaceholder": "请输入邮箱地址搜索"
+ },
+ "columns": {
+ "email": "邮箱",
+ "name": "分组名称",
+ "createdAt": "创建时间"
+ },
+ "status": {
+ "subscribed": "订阅",
+ "unsubscribed": "取消订阅"
+ },
+ "actions": {
+ "changeGroup": "更改分组"
+ },
+ "delete": {
+ "title": "删除订阅者",
+ "confirm": "确定要删除订阅者 {email} 吗?"
+ },
+ "select": {
+ "prefix": "分组:"
+ },
+ "edit": {
+ "title": "更改分组",
+ "email": "邮箱",
+ "group": "分组",
+ "status": "状态",
+ "attributes": "属性",
+ "statusOptions": {
+ "subscribe": "订阅",
+ "unsubscribe": "退订"
+ },
+ "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": "创建时间",
+ "type": "类型"
+ },
+ "type": {
+ "doubleOptin": "双重确认",
+ "singleOptin": "单次确认"
+ },
+ "export": {
+ "title": "导出分组",
+ "confirm": "导出 {count} 个分组?"
+ },
+ "form": {
+ "name": "分组名称",
+ "file": "文件",
+ "nameRequired": "请输入分组名称"
+ },
+ "add": {
+ "title": "添加分组"
+ },
+ "rename": {
+ "title": "重命名分组"
+ },
+ "delete": {
+ "title": "删除分组",
+ "confirm": "确定要删除分组 {name} 吗?"
+ },
+ "fileUpload": {
+ "hint": "文件类型:csv,不超过5 MB",
+ "emptyHint": "文件传空时,会自动创建一个空分组"
+ },
+ "loading": {
+ "createGroup": "正在创建分组,请稍候...",
+ "updateGroup": "正在更新分组,请稍候...",
+ "deleteGroup": "正在删除分组,请稍候...",
+ "exportGroup": "正在导出,请稍候...",
+ "saveSettings": "正在保存,请稍候..."
+ }
+ },
+ "settings": {
+ "title": "设置",
+ "tabs": {
+ "subscribeForm": "订阅表单",
+ "subscribeSettings": "订阅设置"
+ },
+ "subscribeForm": {
+ "separateSubscriptionPage": {
+ "title": "分离订阅页面",
+ "description": "简单复制并与用户分享此URL - 订阅表单已准备就绪。"
+ },
+ "embeddableForm": {
+ "title": "可嵌入表单",
+ "description": "轻松将此订阅表单嵌入到您的网站页面中。"
+ }
+ },
+ "subscribeSettings": {
+ "listType": {
+ "label": "列表类型",
+ "placeholder": "请选择列表类型",
+ "options": {
+ "doubleOptin": "两次确认",
+ "singleOptin": "单次确认"
+ }
+ },
+ "confirmEmail": {
+ "subject": "二次确认邮件主题",
+ "redirectLink": "二次确认的跳转链接",
+ "redirectDescription": "在下方输入自定义链接,将用户重定向到\"双重确认\"订阅的确认页面",
+ "emailContent": "二次确认邮件",
+ "emailTip1": "如果您自定义确认邮件,请不要忘记包含确认链接",
+ "emailTip2": "在您的消息中的某个位置"
+ },
+ "welcomeEmail": {
+ "subject": "感谢邮件订阅主题",
+ "redirectLink": "感谢订阅的跳转链接",
+ "redirectDescription": "请在下方输入链接,在用户成功订阅后将其引导到自定义确认页面",
+ "emailContent": "感谢邮件订阅邮件",
+ "sendThroughTip": "消息通过",
+ "mailboxTip": "默认发送域的邮箱发送",
+ "enabledDescription": "启用后,当用户通过订阅表单或API订阅时,将向用户发送感谢邮件。手动添加的用户不会触发此功能。",
+ "templateVariablesTip": "您可以在感谢邮件的主题和消息中使用收集的信息,这些是模板变量。"
+ },
+ "alreadySubscribed": {
+ "redirectLink": "订阅已存在的跳转链接"
+ }
+ }
+ }
+ },
+ "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 的站点"
+ }
+ },
+ "edit": {
+ "pageTitle": "域名 / 编辑域名",
+ "save": "保存",
+ "tabs": {
+ "domainConfiguration": "域名配置",
+ "projectDetails": "项目详情",
+ "companyProfile": "公司资料",
+ "styling": "样式设置",
+ "sitemap": "站点地图",
+ "footerSettings": "页脚设置",
+ "aiSettings": "AI设置"
+ },
+ "domainConfiguration": {
+ "title": "邮件域名配置",
+ "domain": "域名",
+ "domainQuota": "域名配额",
+ "mailboxCount": "邮箱数量",
+ "catchAll": "全部接收",
+ "autoCreateBrand": "自动创建品牌信息",
+ "aiIntegrationWarning": "要使用此功能,您需要先集成AI模型。",
+ "integrateImmediately": "立即集成",
+ "aiDescription": "AI驱动的信息导入会自动分析并从邮件域名创建品牌信息。创建后,您可以根据需要进行修改。",
+ "features": {
+ "extractBrand": "提取品牌和颜色",
+ "analyzeStructure": "分析内容结构",
+ "importContent": "导入图片和内容",
+ "customLogo": "使用自定义徽标(可选)"
+ },
+ "specifyDomain": "指定域名",
+ "addMoreUrls": "添加更多URL"
+ },
+ "projectDetails": {
+ "title": "项目详情",
+ "projectName": "项目名称",
+ "description": "描述",
+ "brandLogos": "品牌徽标",
+ "logoSystem": "徽标系统",
+ "logoSystemDesc": "上传您品牌的徽标系统,以在整个项目中保持一致的品牌形象",
+ "primaryLogo": "主要徽标",
+ "primaryLogoDesc": "用于页眉的水平版本",
+ "secondaryLogo": "次要徽标",
+ "secondaryLogoDesc": "垂直/堆叠版本",
+ "favicon": "网站图标",
+ "faviconDesc": "浏览器标签页图标",
+ "loadingFailed": "加载失败",
+ "knowledgeBase": "知识库",
+ "newFile": "新建文件",
+ "edit": "编辑",
+ "preview": "预览",
+ "newKnowledgeFile": "新建知识文件",
+ "fileName": "文件名"
+ },
+ "companyProfile": {
+ "title": "公司详情",
+ "legalCompanyName": "法定公司名称",
+ "website": "网站",
+ "organizationNumber": "组织编号",
+ "additionalInfo": "附加公司信息",
+ "contactInfo": "联系信息",
+ "contactEmail": "联系邮箱",
+ "phoneNumber": "电话号码",
+ "supportUrl": "支持URL"
+ },
+ "styling": {
+ "colorPalette": "调色板",
+ "accentColor": "强调色",
+ "textColor": "文本颜色",
+ "pageBackground": "页面背景",
+ "containerBackground": "容器背景",
+ "linkFooterColor": "页脚链接颜色",
+ "linkSocialColor": "社交链接颜色",
+ "typography": "字体排版",
+ "headingFont": "标题字体",
+ "bodyFont": "正文字体",
+ "preview": "预览:",
+ "previewText": "快速的棕色狐狸跳过懒惰的狗",
+ "typographyGuidelines": "字体排版指南:",
+ "webSafeFonts": "使用网络安全字体以获得更好的兼容性",
+ "fallbackFonts": "始终包含备用字体以获得更好的性能"
+ },
+ "sitemap": {
+ "title": "站点地图",
+ "addLink": "添加链接"
+ },
+ "footerSettings": {
+ "title": "页脚设置",
+ "additionalContent": "附加内容",
+ "copyrightText": "版权文本"
+ },
+ "aiSettings": {
+ "title": "AI设置",
+ "defaultInstructions": "默认AI指令",
+ "emailGenerationInstructions": "邮件生成指令",
+ "instructionsDescription": "这些指令将用作生成新邮件时的默认指南。您可以根据需要为单个邮件覆盖这些指令。"
+ },
+ "common": {
+ "daysAgo": "天前"
+ }
+ },
+ "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/router/modules/market.ts b/core/frontend/src/router/modules/market.ts
index bd023beb..002364ed 100644
--- a/core/frontend/src/router/modules/market.ts
+++ b/core/frontend/src/router/modules/market.ts
@@ -28,7 +28,7 @@ const route: RouteRecordRaw = {
{
path: 'template',
name: 'MarketTemplate',
- meta: { title: 'Template', titleKey: 'layout.menu.template' },
+ meta: { title: 'Template', hidden: true, titleKey: 'layout.menu.template' },
component: () => import('@/views/market/template/index.vue'),
},
],
diff --git a/core/frontend/src/router/modules/template.ts b/core/frontend/src/router/modules/template.ts
index fffc5b98..f32cd16e 100644
--- a/core/frontend/src/router/modules/template.ts
+++ b/core/frontend/src/router/modules/template.ts
@@ -1,6 +1,5 @@
import type { RouteRecordRaw } from 'vue-router'
import { Layout } from '@/router/constant'
-import { isDev } from '@/utils'
export default {
path: '/template',
@@ -10,7 +9,6 @@ export default {
title: 'template',
key: 'template',
titleKey: 'layout.menu.template',
- // hidden: !isDev,
},
children: [
{
diff --git a/core/frontend/src/views/domain/components/DomainForm.vue b/core/frontend/src/views/domain/components/DomainForm.vue
index dd39904c..63e83a8e 100644
--- a/core/frontend/src/views/domain/components/DomainForm.vue
+++ b/core/frontend/src/views/domain/components/DomainForm.vue
@@ -18,12 +18,18 @@
</n-popover>
</div>
</template>
- <n-input v-model:value="form.domain" :disabled="isEdit"
- :placeholder="t('domain.form.domainPlaceholder')" @update:value="syncToUrls">
+ <n-input
+ v-model:value="form.domain"
+ :disabled="isEdit"
+ :placeholder="t('domain.form.domainPlaceholder')"
+ @update:value="syncToUrls">
</n-input>
</n-form-item>
<n-form-item v-if="false" label="A记录">
- <n-input v-model:value="form.a_record" :disabled="isEdit" placeholder="请输入A记录,例如:mail.aapanel.com">
+ <n-input
+ v-model:value="form.a_record"
+ :disabled="isEdit"
+ placeholder="请输入A记录,例如:mail.aapanel.com">
</n-input>
</n-form-item>
<n-form-item :label="t('domain.form.quota')">
@@ -34,18 +40,28 @@
</div>
</n-form-item>
<n-form-item :label="t('domain.form.mailboxCount')">
- <n-input-number v-model:value="form.mailboxes" class="flex-1" :min="0" :show-button="false">
+ <n-input-number
+ v-model:value="form.mailboxes"
+ class="flex-1"
+ :min="0"
+ :show-button="false">
</n-input-number>
</n-form-item>
<n-form-item :label="t('domain.form.globalCatch')">
- <n-input v-model:value="form.email" :placeholder="t('domain.form.globalCatchPlaceholder')">
+ <n-input
+ v-model:value="form.email"
+ :placeholder="t('domain.form.globalCatchPlaceholder')">
</n-input>
</n-form-item>
<n-form-item label="Automatically create brand information">
<n-switch v-model:value="initAi"></n-switch>
</n-form-item>
- <n-alert v-if="!aiConfigurationStatus" style="margin: 0 0 15px 0" type="warning" :show-icon="false">
+ <n-alert
+ v-if="!aiConfigurationStatus"
+ style="margin: 0 0 15px 0"
+ type="warning"
+ :show-icon="false">
<div class="w-100% flex justify-between items-center">
<span class="mr-5">To use this feature, you need to integrate an AI model first.</span>
<n-button type="primary">Integrate immediately</n-button>
@@ -65,9 +81,11 @@
<div class="w-100% flex flex-col gap-2.5">
<!-- <n-input v-for="(item, index) in urls" :key="index" v-model:value="urls[index]" placeholder="">
</n-input> -->
- <div v-for="(_, index) in urls" :key="index" class="flex justify-start items-center gap-2.5">
- <n-input v-model:value="urls[index]" placeholder="">
- </n-input>
+ <div
+ v-for="(_, index) in urls"
+ :key="index"
+ class="flex justify-start items-center gap-2.5">
+ <n-input v-model:value="urls[index]" placeholder=""> </n-input>
<div v-if="index != 0" class="close" @click="removeUrl(index)">
<i class="i-material-symbols:close-rounded text-5"></i>
</div>
@@ -88,148 +106,156 @@
</template>
<script lang="ts" setup>
- import { FormRules } from 'naive-ui'
- import { getByteUnit, getNumber } from '@/utils'
- import { useModal } from '@/hooks/modal/useModal'
- import { createDomain, initAiConfiguration, updateDomain, checkAiConfiguration } from '@/api/modules/domain'
- import type { MailDomain } from '../interface'
-
- const { t } = useI18n()
- const isEdit = ref(false)
- const title = computed(() => {
- return isEdit.value ? t('domain.form.editTitle') : t('domain.form.addTitle')
- })
- const aiConfigurationStatus = ref(false)
-
- const formRef = useTemplateRef('formRef')
- const initAi = ref(false)
- const urls = ref([''])
- const form = reactive({
- domain: '',
- a_record: '',
- quota: 5,
- quota_unit: 'GB',
- mailboxes: 50,
- email: '',
- })
-
- const unitOptions = [
- { label: 'GB', value: 'GB' },
- { label: 'MB', value: 'MB' },
- ]
-
- const rules: FormRules = {
- domain: {
- trigger: ['blur', 'input'],
- validator: () => {
- if (form.domain.trim() === '') {
- return new Error(t('domain.form.validation.domainRequired'))
- }
- return true
- },
+import { FormRules } from 'naive-ui'
+import { getByteUnit, getNumber } from '@/utils'
+import { useModal } from '@/hooks/modal/useModal'
+import {
+ createDomain,
+ initAiConfiguration,
+ updateDomain,
+ checkAiConfiguration,
+} from '@/api/modules/domain'
+import type { MailDomain } from '../interface'
+
+const { t } = useI18n()
+
+const isEdit = ref(false)
+
+const title = computed(() => {
+ return isEdit.value ? t('domain.form.editTitle') : t('domain.form.addTitle')
+})
+
+const aiConfigurationStatus = ref(false)
+
+const formRef = useTemplateRef('formRef')
+const initAi = ref(false)
+const urls = ref([''])
+const form = reactive({
+ domain: '',
+ a_record: '',
+ quota: 5,
+ quota_unit: 'GB',
+ mailboxes: 50,
+ email: '',
+})
+
+const unitOptions = [
+ { label: 'GB', value: 'GB' },
+ { label: 'MB', value: 'MB' },
+]
+
+const rules: FormRules = {
+ domain: {
+ trigger: ['blur', 'input'],
+ validator: () => {
+ if (form.domain.trim() === '') {
+ return new Error(t('domain.form.validation.domainRequired'))
+ }
+ return true
},
- }
+ },
+}
- /**
- * @description Calculate the byte number based on the domain quota and unit
- * @param quota
- * @param quota_unit
- */
- const getQuotaByte = (quota: number, quota_unit: string) => {
- switch (quota_unit) {
- case 'GB':
- return quota * 1024 * 1024 * 1024
- case 'MB':
- return quota * 1024 * 1024
- default:
- return quota
- }
+/**
+ * @description Calculate the byte number based on the domain quota and unit
+ * @param quota
+ * @param quota_unit
+ */
+const getQuotaByte = (quota: number, quota_unit: string) => {
+ switch (quota_unit) {
+ case 'GB':
+ return quota * 1024 * 1024 * 1024
+ case 'MB':
+ return quota * 1024 * 1024
+ default:
+ return quota
}
+}
- /**
- * @description Sync domain to urls
- */
- const syncToUrls = (domainVal: string) => {
- urls.value[0] = domainVal
- }
+/**
+ * @description Sync domain to urls
+ */
+const syncToUrls = (domainVal: string) => {
+ urls.value[0] = domainVal
+}
- /**
- * @description Remove url
- */
- const removeUrl = (index: number) => {
- urls.value.splice(index, 1)
- }
+/**
+ * @description Remove url
+ */
+const removeUrl = (index: number) => {
+ urls.value.splice(index, 1)
+}
- const [Modal, modalApi] = useModal({
- onChangeState: async isOpen => {
- if (isOpen) {
- const state = modalApi.getState<{ isEdit: boolean; row: MailDomain | null }>()
- isEdit.value = state.isEdit
- const res = await checkAiConfiguration() as Record<string, any>
- aiConfigurationStatus.value = res.is_configured
- if (state.row) {
- const { row } = state
- form.domain = row.domain
- form.a_record = row.a_record
- const quota = getByteUnit(row.quota)
- form.quota = getNumber(quota.split(' ')[0])
- form.quota_unit = quota.split(' ')[1]
- form.mailboxes = row.mailboxes
- form.email = row.email
- }
- } else {
- form.domain = ''
- form.a_record = ''
- form.quota = 5
- form.quota_unit = 'GB'
- form.mailboxes = 50
- form.email = ''
- urls.value = ['']
+const [Modal, modalApi] = useModal({
+ onChangeState: async isOpen => {
+ if (isOpen) {
+ const state = modalApi.getState<{ isEdit: boolean; row: MailDomain | null }>()
+ isEdit.value = state.isEdit
+ const res = (await checkAiConfiguration()) as Record<string, any>
+ aiConfigurationStatus.value = res.is_configured
+ if (state.row) {
+ const { row } = state
+ form.domain = row.domain
+ form.a_record = row.a_record
+ const quota = getByteUnit(row.quota)
+ form.quota = getNumber(quota.split(' ')[0])
+ form.quota_unit = quota.split(' ')[1]
+ form.mailboxes = row.mailboxes
+ form.email = row.email
}
- },
- onConfirm: async () => {
- await formRef.value?.validate()
- if (isEdit.value) {
- await updateDomain({
- domain: form.domain,
- quota: getQuotaByte(form.quota, form.quota_unit),
- mailboxes: form.mailboxes,
- email: form.email,
- urls: urls.value
- })
- } else {
- await createDomain({
+ } else {
+ form.domain = ''
+ form.a_record = ''
+ form.quota = 5
+ form.quota_unit = 'GB'
+ form.mailboxes = 50
+ form.email = ''
+ urls.value = ['']
+ }
+ },
+ onConfirm: async () => {
+ await formRef.value?.validate()
+ if (isEdit.value) {
+ await updateDomain({
+ domain: form.domain,
+ quota: getQuotaByte(form.quota, form.quota_unit),
+ mailboxes: form.mailboxes,
+ email: form.email,
+ urls: urls.value,
+ })
+ } else {
+ await createDomain({
+ domain: form.domain,
+ quota: getQuotaByte(form.quota, form.quota_unit),
+ mailboxes: form.mailboxes,
+ email: form.email,
+ urls: urls.value,
+ })
+ // Init Ai configuration (via. src\api\modules\domain.ts)
+ if (initAi.value) {
+ await initAiConfiguration({
domain: form.domain,
- quota: getQuotaByte(form.quota, form.quota_unit),
- mailboxes: form.mailboxes,
- email: form.email,
- urls: urls.value
+ urls: urls.value,
})
- // Init Ai configuration (via. src\api\modules\domain.ts)
- if (initAi.value) {
- await initAiConfiguration({
- domain: form.domain,
- urls: urls.value,
- })
- }
}
- const state = modalApi.getState<{ refresh: Function }>()
- state.refresh()
- },
- })
+ }
+ const state = modalApi.getState<{ refresh: Function }>()
+ state.refresh()
+ },
+})
- /**
- * @description Add url to urls
- */
- function addUrl() {
- urls.value.push('')
- }
+/**
+ * @description Add url to urls
+ */
+function addUrl() {
+ urls.value.push('')
+}
</script>
<style lang="scss" scoped>
- @use "@/views/domain/pages/editDomain/components/mixin.scss";
+@use '@/views/domain/pages/editDomain/components/mixin.scss';
- .close {
- @include mixin.operation-close
- }
+.close {
+ @include mixin.operation-close;
+}
</style>
diff --git a/core/frontend/src/views/domain/pages/editDomain/components/DomainConfiguration.vue b/core/frontend/src/views/domain/pages/editDomain/components/DomainConfiguration.vue
index ffeea9f5..04d3544b 100644
--- a/core/frontend/src/views/domain/pages/editDomain/components/DomainConfiguration.vue
+++ b/core/frontend/src/views/domain/pages/editDomain/components/DomainConfiguration.vue
@@ -8,7 +8,7 @@
<div class="back-tool">
<i class="i-cuida:mail-outline text-7"></i>
</div>
- <span class="tit-content"> Mail Domain Configuration </span>
+ <span class="tit-content">{{ $t('domain.edit.domainConfiguration.title') }}</span>
</div>
</div>
</n-card>
@@ -16,52 +16,73 @@
<!-- form data -->
<n-form>
<n-form-item>
- <template #label><span class="form-label">Domain</span></template>
+ <template #label
+ ><span class="form-label">{{
+ $t('domain.edit.domainConfiguration.domain')
+ }}</span></template
+ >
<n-input v-model:value="domainTit" @input="syncToUrl"></n-input>
</n-form-item>
<n-form-item label="">
- <template #label><span class="form-label">Domain Quota</span></template>
+ <template #label
+ ><span class="form-label">{{
+ $t('domain.edit.domainConfiguration.domainQuota')
+ }}</span></template
+ >
<div class="flex justify-between gap-5 items-center w-100%">
<n-input v-model:value="quota"></n-input>
<n-select v-model:value="unit" :options="uinitOptions" class="w-20"></n-select>
</div>
</n-form-item>
<n-form-item>
- <template #label><span class="form-label">MailBox Count</span></template>
+ <template #label
+ ><span class="form-label">{{
+ $t('domain.edit.domainConfiguration.mailboxCount')
+ }}</span></template
+ >
<n-input-number v-model:value="mailboxes" :show-button="false"></n-input-number>
</n-form-item>
<n-form-item>
- <template #label><span class="form-label">Catch all</span></template>
+ <template #label
+ ><span class="form-label">{{
+ $t('domain.edit.domainConfiguration.catchAll')
+ }}</span></template
+ >
<n-input v-model:value="catch_email"></n-input>
</n-form-item>
</n-form>
</n-card>
<n-card class="mt-5">
- <n-form-item label="Automatically create brand information">
+ <n-form-item :label="$t('domain.edit.domainConfiguration.autoCreateBrand')">
<n-switch v-model:value="configurationStatus"></n-switch>
</n-form-item>
<n-alert v-if="!configurationStatus" type="warning" class="mb-15px" :show-icon="false">
<div class="w-100% flex justify-between items-center">
- <span class="mr-5">To use this feature, you need to integrate an AI model first.</span>
- <n-button type="primary">Integrate immediately</n-button>
+ <span class="mr-5">{{
+ $t('domain.edit.domainConfiguration.aiIntegrationWarning')
+ }}</span>
+ <n-button type="primary">{{
+ $t('domain.edit.domainConfiguration.integrateImmediately')
+ }}</n-button>
</div>
</n-alert>
<div class="text-[#777]">
- AI-driven information import automatically analyzes and creates brand information from
- email domains. After creation, you can modify it at your discretion.
+ {{ $t('domain.edit.domainConfiguration.aiDescription') }}
</div>
<bt-tips style="margin-bottom: 15px">
- <li>Extract brand and color</li>
- <li>Analyze content structure</li>
- <li>Import images and content</li>
- <li>Use a custom logo (optional)</li>
+ <li>{{ $t('domain.edit.domainConfiguration.features.extractBrand') }}</li>
+ <li>{{ $t('domain.edit.domainConfiguration.features.analyzeStructure') }}</li>
+ <li>{{ $t('domain.edit.domainConfiguration.features.importContent') }}</li>
+ <li>{{ $t('domain.edit.domainConfiguration.features.customLogo') }}</li>
</bt-tips>
- <n-form-item label="Specify a domain name">
+ <n-form-item :label="$t('domain.edit.domainConfiguration.specifyDomain')">
<div class="w-100% flex flex-col gap-2.5">
- <div v-for="(_, index) in urls" :key="index" class="flex justify-start items-center gap-2.5">
- <n-input v-model:value="urls[index]" placeholder="">
- </n-input>
+ <div
+ v-for="(_, index) in urls"
+ :key="index"
+ class="flex justify-start items-center gap-2.5">
+ <n-input v-model:value="urls[index]" placeholder=""> </n-input>
<div v-if="index != 0" class="close" @click="removeUrl(index)">
<i class="i-material-symbols:close-rounded text-5"></i>
</div>
@@ -71,7 +92,7 @@
<template #icon>
<i class="i-material-symbols:add-circle-outline"></i>
</template>
- Add more URLs
+ {{ $t('domain.edit.domainConfiguration.addMoreUrls') }}
</n-button>
</div>
</n-form-item>
@@ -118,89 +139,82 @@
</template>
<script setup lang="ts">
- import { getDomainDetail, syncToUrl, removeUrl } from '../controller/domainConfiguration.controller'
- import { getEditDomainStoreData } from '../store'
- const {
- domainTit,
- quota,
- unit,
- mailboxes,
- catch_email,
- urls,
- configurationStatus
- } = getEditDomainStoreData()
- const route = useRoute()
- const domain = route.params.domain as any
- const uinitOptions = ref([
- {
- label: 'B',
- value: 'B',
- },
- {
- label: 'KB',
- value: 'KB',
- },
- {
- label: 'MB',
- value: 'MB',
- },
- {
- label: 'GB',
- value: 'GB',
- },
- {
- label: 'TB',
- value: 'TB',
- },
- ])
+import { getDomainDetail, syncToUrl, removeUrl } from '../controller/domainConfiguration.controller'
+import { getEditDomainStoreData } from '../store'
+const { domainTit, quota, unit, mailboxes, catch_email, urls, configurationStatus } =
+ getEditDomainStoreData()
+const route = useRoute()
+const domain = route.params.domain as any
+const uinitOptions = ref([
+ {
+ label: 'B',
+ value: 'B',
+ },
+ {
+ label: 'KB',
+ value: 'KB',
+ },
+ {
+ label: 'MB',
+ value: 'MB',
+ },
+ {
+ label: 'GB',
+ value: 'GB',
+ },
+ {
+ label: 'TB',
+ value: 'TB',
+ },
+])
- getDomainDetail(domain)
+getDomainDetail(domain)
- /**
- * @description Add url to urls
- */
- function addUrl() {
- urls.value.push('')
- }
+/**
+ * @description Add url to urls
+ */
+function addUrl() {
+ urls.value.push('')
+}
</script>
<style scoped lang="scss">
- @use '@/styles/index' as base;
- @use './mixin.scss' as mixin;
+@use '@/styles/index' as base;
+@use './mixin.scss' as mixin;
- .content-wrapper {
- @include mixin.content-wrapper;
+.content-wrapper {
+ @include mixin.content-wrapper;
- // title
- .page-tit {
- @include mixin.page-tit;
- }
+ // title
+ .page-tit {
+ @include mixin.page-tit;
+ }
- .form-label {
- @include mixin.form-label;
- }
+ .form-label {
+ @include mixin.form-label;
+ }
- // Switch settings
- .switch-settings {
- @mixin settings-label {
- font-size: 14px;
- font-weight: bold;
- }
+ // Switch settings
+ .switch-settings {
+ @mixin settings-label {
+ font-size: 14px;
+ font-weight: bold;
+ }
- .switch-item {
- @include base.row-flex;
- justify-content: space-between;
- margin-bottom: 15px;
+ .switch-item {
+ @include base.row-flex;
+ justify-content: space-between;
+ margin-bottom: 15px;
- .label {
- color: var(--color-text-2);
- @include settings-label();
- }
+ .label {
+ color: var(--color-text-2);
+ @include settings-label();
}
}
+ }
- .close {
- @include mixin.operation-close
- }
+ .close {
+ @include mixin.operation-close;
}
+}
</style>
diff --git a/core/frontend/src/views/domain/pages/editDomain/components/FooterSettings.vue b/core/frontend/src/views/domain/pages/editDomain/components/FooterSettings.vue
index 614237f3..18f99b2a 100644
--- a/core/frontend/src/views/domain/pages/editDomain/components/FooterSettings.vue
+++ b/core/frontend/src/views/domain/pages/editDomain/components/FooterSettings.vue
@@ -36,7 +36,7 @@
import { getFootersettingsInfo } from '../controller/footerSettings.controller'
import { getEditDomainStoreData } from '../store'
-const { copyright_text, disclaimer } = getEditDomainStoreData()
+const { copyright_text } = getEditDomainStoreData()
const route = useRoute()
const domain = route.params.domain as string
getFootersettingsInfo(domain)
diff --git a/core/frontend/src/views/domain/pages/editDomain/components/ProjectDetails.vue b/core/frontend/src/views/domain/pages/editDomain/components/ProjectDetails.vue
index 20d8a351..793a692d 100644
--- a/core/frontend/src/views/domain/pages/editDomain/components/ProjectDetails.vue
+++ b/core/frontend/src/views/domain/pages/editDomain/components/ProjectDetails.vue
@@ -6,18 +6,26 @@
<div class="back-tool">
<i class="i-ri:apps-fill text-6"></i>
</div>
- <span class="tit-content"> Project Details </span>
+ <span class="tit-content">{{ $t('domain.edit.projectDetails.title') }}</span>
</div>
</div>
</n-card>
<n-card class="mb-5">
<n-form>
<n-form-item>
- <template #label><span class="form-label">Project Name</span></template>
+ <template #label
+ ><span class="form-label">{{
+ $t('domain.edit.projectDetails.projectName')
+ }}</span></template
+ >
<n-input v-model:value="project_name"></n-input>
</n-form-item>
<n-form-item>
- <template #label><span class="form-label">Description</span></template>
+ <template #label
+ ><span class="form-label">{{
+ $t('domain.edit.projectDetails.description')
+ }}</span></template
+ >
<n-input v-model:value="description" type="textarea" :rows="7"></n-input>
</n-form-item>
</n-form>
@@ -29,25 +37,25 @@
<div class="back-tool">
<i class="i-ri:earth-fill text-6"></i>
</div>
- <span class="tit-content"> Brand Logos </span>
+ <span class="tit-content">{{ $t('domain.edit.projectDetails.brandLogos') }}</span>
</div>
</div>
<div class="sub-tit">
- <span class="tit">Logo System</span>
- <span
- >Upload your brand's logo system to maintain consistent branding across your project</span
- >
+ <span class="tit">{{ $t('domain.edit.projectDetails.logoSystem') }}</span>
+ <span>{{ $t('domain.edit.projectDetails.logoSystemDesc') }}</span>
</div>
<div class="logo-operation">
<div class="operation-item">
- <div class="operation-tit">Primary Logo</div>
- <div class="operation-sub-tit">Horizontal version for headers</div>
+ <div class="operation-tit">{{ $t('domain.edit.projectDetails.primaryLogo') }}</div>
+ <div class="operation-sub-tit">
+ {{ $t('domain.edit.projectDetails.primaryLogoDesc') }}
+ </div>
<div class="logo-area" @click="choosePrimary">
<div v-if="!primary_logo" class="upload-logo-placeholder">
<i class="i-carbon:cloud-upload text-8"></i>
- <span>Primary Logo</span>
+ <span>{{ $t('domain.edit.projectDetails.primaryLogo') }}</span>
</div>
<n-image
v-else
@@ -59,7 +67,7 @@
<template #error>
<div class="w-100% h-100% flex justify-center items-center flex-col gap-1.25">
<i class="i-mingcute:pic-line text-15"></i>
- <span>loading failed</span>
+ <span>{{ $t('domain.edit.projectDetails.loadingFailed') }}</span>
</div>
</template>
</n-image>
@@ -71,12 +79,14 @@
</div>
</div>
<div class="operation-item">
- <div class="operation-tit">Secondary Logo</div>
- <div class="operation-sub-tit">Vertical/stacked version</div>
+ <div class="operation-tit">{{ $t('domain.edit.projectDetails.secondaryLogo') }}</div>
+ <div class="operation-sub-tit">
+ {{ $t('domain.edit.projectDetails.secondaryLogoDesc') }}
+ </div>
<div class="logo-area" @click="chooseSecondary">
<div v-if="!secondary_logo" class="upload-logo-placeholder">
<i class="i-carbon:cloud-upload text-8"></i>
- <span>Primary Logo</span>
+ <span>{{ $t('domain.edit.projectDetails.primaryLogo') }}</span>
</div>
<n-image
v-else
@@ -88,7 +98,7 @@
<template #error>
<div class="w-100% h-100% flex justify-center items-center flex-col gap-1.25">
<i class="i-mingcute:pic-line text-15"></i>
- <span>loading failed</span>
+ <span>{{ $t('domain.edit.projectDetails.loadingFailed') }}</span>
</div>
</template>
</n-image>
@@ -100,12 +110,12 @@
</div>
</div>
<div class="operation-item">
- <div class="operation-tit">Favicon</div>
- <div class="operation-sub-tit">Icon for browser tabs</div>
+ <div class="operation-tit">{{ $t('domain.edit.projectDetails.favicon') }}</div>
+ <div class="operation-sub-tit">{{ $t('domain.edit.projectDetails.faviconDesc') }}</div>
<div class="logo-area" @click="chooseFavicon">
<div v-if="!favicon" class="upload-logo-placeholder">
<i class="i-carbon:cloud-upload text-8"></i>
- <span>Primary Logo</span>
+ <span>{{ $t('domain.edit.projectDetails.primaryLogo') }}</span>
</div>
<n-image
v-else
@@ -117,7 +127,7 @@
<template #error>
<div class="w-100% h-100% flex justify-center items-center flex-col gap-1.25">
<i class="i-mingcute:pic-line text-15"></i>
- <span>loading failed</span>
+ <span>{{ $t('domain.edit.projectDetails.loadingFailed') }}</span>
</div>
</template>
</n-image>
@@ -151,11 +161,13 @@
<div class="back-tool">
<i class="i-ri:earth-fill text-6"></i>
</div>
- <span class="tit-content"> Knowledge Base </span>
+ <span class="tit-content">{{ $t('domain.edit.projectDetails.knowledgeBase') }}</span>
</div>
<div class="right-tit">
- <n-button @click="knowledgeModalShow = true">New File</n-button>
+ <n-button @click="knowledgeModalShow = true">{{
+ $t('domain.edit.projectDetails.newFile')
+ }}</n-button>
</div>
</div>
@@ -168,16 +180,18 @@
<div class="top-info">
<div class="info-left">
<span class="info-tit">{{ item.title }}</span>
- <span class="info-sub-tit">11 days ago</span>
+ <span class="info-sub-tit">11 {{ $t('domain.edit.common.daysAgo') }}</span>
</div>
<div class="info-right" @click="handleDelete(item)">
<i class="i-material-symbols:close-rounded text-5"></i>
</div>
</div>
<div class="operation">
- <n-button type="primary" ghost @click="openEditKnowledge(item)">Edit</n-button>
+ <n-button type="primary" ghost @click="openEditKnowledge(item)">{{
+ $t('domain.edit.projectDetails.edit')
+ }}</n-button>
<n-button type="primary" ghost @click="previewKnowledgeBaseContent(item)">
- Preview
+ {{ $t('domain.edit.projectDetails.preview') }}
</n-button>
</div>
</div>
@@ -192,11 +206,11 @@
draggable
:close-on-esc="false"
:mask-closable="false"
- title="New Knowledge File"
+ :title="$t('domain.edit.projectDetails.newKnowledgeFile')"
class="w-150"
:on-after-leave="closeKnowledgeModal">
<n-form>
- <n-form-item label="File Name">
+ <n-form-item :label="$t('domain.edit.projectDetails.fileName')">
<n-input v-model:value="knowledgeTitle"></n-input>
</n-form-item>
<n-form-item label="Content">
diff --git a/core/frontend/src/views/domain/pages/editDomain/index.vue b/core/frontend/src/views/domain/pages/editDomain/index.vue
index de0407f5..ee2eb5a1 100644
--- a/core/frontend/src/views/domain/pages/editDomain/index.vue
+++ b/core/frontend/src/views/domain/pages/editDomain/index.vue
@@ -2,7 +2,7 @@
<div class="wrapper">
<!-- Page tit -->
<div class="page-tit">
- <span class="tit-content"> Domain / Edit domain </span>
+ <span class="tit-content">{{ $t('domain.edit.pageTitle') }}</span>
</div>
<!-- Content tabs -->
@@ -12,7 +12,7 @@
:key="index"
:class="['tab-item', { active: activeTab == item }]"
@click="activeTab = item">
- <span>{{ item }}</span>
+ <span>{{ getTabLabel(item) }}</span>
</div>
</div>
<div class="dynamic-content">
@@ -26,7 +26,7 @@
<template #icon>
<i class="i-mingcute:save-2-line text-5"></i>
</template>
- Save
+ {{ $t('domain.edit.save') }}
</n-button>
</div>
</div>
@@ -34,7 +34,7 @@
<script setup lang="ts">
import { onBeforeRouteLeave } from 'vue-router'
-import { updateDomain,resetAllApiStatus } from './controller/domainConfiguration.controller'
+import { updateDomain, resetAllApiStatus } from './controller/domainConfiguration.controller'
import { updateProjectDetail } from './controller/projectDetail.controller'
import { updateCompanyProfile } from './controller/companyProfile.controller'
import { updateStylingInfo } from './controller/styling.controller'
@@ -54,6 +54,8 @@ const Sitemap = defineAsyncComponent(() => import('./components/Sitemap.vue'))
const FooterSettings = defineAsyncComponent(() => import('./components/FooterSettings.vue'))
// const AISettings = defineAsyncComponent(() => import('./components/AISettings.vue'))
+const { t } = useI18n()
+
const menuList = ref([
'Domain Configuration',
'Project Details',
@@ -63,7 +65,9 @@ const menuList = ref([
'Footer Settings',
// 'AI Settings',
])
+
const activeTab = ref('Domain Configuration')
+
const contentMap = new Map([
['Domain Configuration', DomainConfiguration],
['Project Details', ProjectDetails],
@@ -73,9 +77,26 @@ const contentMap = new Map([
['Footer Settings', FooterSettings],
// ['AI Settings', AISettings],
])
+
const route = useRoute()
const domain = route.params.domain as string
+/**
+ * @description Get tab label with i18n
+ */
+function getTabLabel(tabKey: string): string {
+ const keyMap: Record<string, string> = {
+ 'Domain Configuration': 'domain.edit.tabs.domainConfiguration',
+ 'Project Details': 'domain.edit.tabs.projectDetails',
+ 'Company Profile': 'domain.edit.tabs.companyProfile',
+ Styling: 'domain.edit.tabs.styling',
+ Sitemap: 'domain.edit.tabs.sitemap',
+ 'Footer Settings': 'domain.edit.tabs.footerSettings',
+ 'AI Settings': 'domain.edit.tabs.aiSettings',
+ }
+ return t(keyMap[tabKey] || tabKey)
+}
+
/**
* @description Switch for handle save
*/
@@ -110,7 +131,7 @@ function switchHanldeSave() {
/**
* Reset all api status when router leave
*/
- onBeforeRouteLeave(resetAllApiStatus)
+onBeforeRouteLeave(resetAllApiStatus)
</script>
<style scoped lang="scss">
diff --git a/core/frontend/src/views/template/pages/AITemplate/components/MarkdownRender.vue b/core/frontend/src/views/template/pages/AITemplate/components/MarkdownRender.vue
index 5d683a3c..1c3e869f 100644
--- a/core/frontend/src/views/template/pages/AITemplate/components/MarkdownRender.vue
+++ b/core/frontend/src/views/template/pages/AITemplate/components/MarkdownRender.vue
@@ -7,11 +7,13 @@
<div class="tools">
<div class="tool-item" @click="copyContent">
<i class="i-material-symbols:chrome-restore-rounded text-5"></i>
- <span>{{ copied ? 'Copied' : 'Copy' }}</span>
+ <span>{{
+ copied ? $t('template.ai.buttons.copied') : $t('template.ai.buttons.copy')
+ }}</span>
</div>
<div class="tool-item" @click="viewCodeRender">
<i class="i-mingcute:eye-2-fill text-5"></i>
- <span>View</span>
+ <span>{{ $t('template.ai.buttons.view') }}</span>
</div>
</div>
</div>
diff --git a/core/frontend/src/views/template/pages/AITemplate/controller/index.ts b/core/frontend/src/views/template/pages/AITemplate/controller/index.ts
index f0cd9760..671fb8a0 100644
--- a/core/frontend/src/views/template/pages/AITemplate/controller/index.ts
+++ b/core/frontend/src/views/template/pages/AITemplate/controller/index.ts
@@ -1,9 +1,12 @@
+import i18n from '@/i18n'
import { instance } from '@/api'
import { ChatInfo, TemplateStore } from '../dto'
+const { t } = i18n.global
+
export const instanceOptions = {
fetchOptions: {
- loading: 'Loading... Please wait.',
+ loading: t('template.ai.loading.message'),
successMessage: true,
},
}
diff --git a/core/frontend/src/views/template/pages/AITemplate/index.vue b/core/frontend/src/views/template/pages/AITemplate/index.vue
index 0efcdf6a..2699e272 100644
--- a/core/frontend/src/views/template/pages/AITemplate/index.vue
+++ b/core/frontend/src/views/template/pages/AITemplate/index.vue
@@ -1,8 +1,7 @@
<template>
<div class="wrapper">
<div class="page-tit">
-
- <span class="tit-content"> AI Template </span>
+ <span class="tit-content">{{ $t('template.ai.title') }}</span>
</div>
<div class="ai-container">
@@ -11,8 +10,13 @@
<n-card>
<div class="flex justify-start items-center gap-15px">
<!-- <span>Choose Model</span> -->
- <n-select v-model:value="currentModelTitle" class="flex-1" :options="modelList"
- label-field="title" value-field="title" @update:value="changeModel">
+ <n-select
+ v-model:value="currentModelTitle"
+ class="flex-1"
+ :options="modelList"
+ label-field="title"
+ value-field="title"
+ @update:value="changeModel">
</n-select>
</div>
</n-card>
@@ -25,7 +29,7 @@
<div class="answer-container">
<div class="ask-content">
<div class="text">
- 您可以说:创建一份欢迎用户加入{{ chatInfo.domain }}的欢迎邮件
+ {{ $t('template.ai.welcomeMessage', { domain: chatInfo.domain }) }}
</div>
</div>
</div>
@@ -40,26 +44,31 @@
{{ item[0].split('_+_')[0] }}
</div>
</div>
- <!-- <n-spin description="Loading please wait..." :show="generateShow"> -->
+ <!-- <n-spin :description="$t('template.ai.loading.description')" :show="generateShow"> -->
<div class="answer-content">
<div class="pic">
- <span
- class="text-4 text-[var(--color-primary-hover-1)]">BillionMail</span>
+ <span class="text-4 text-[var(--color-primary-hover-1)]">{{
+ $t('template.ai.brandName')
+ }}</span>
</div>
<div class="text">
- <MarkdownRender v-for="(_item, _index) in item[1]" :key="_index"
- :content="_item" :chat-record-key="item[0]" class="mb-4"
+ <MarkdownRender
+ v-for="(_item, _index) in item[1]"
+ :key="_index"
+ :content="_item"
+ :chat-record-key="item[0]"
+ class="mb-4"
@code-render="handleCodeRender">
</MarkdownRender>
</div>
<div class="answer-tool" @click="handleRegenerate(item[0].toString())">
<div class="tool-item">
<i class="i-ri:refresh-line text-5"></i>
- <span>Regenerate</span>
+ <span>{{ $t('template.ai.buttons.regenerate') }}</span>
</div>
<div class="tool-item">
<i class="i-ri:information-2-fill text-5"></i>
- <span>Info</span>
+ <span>{{ $t('template.ai.buttons.info') }}</span>
</div>
</div>
</div>
@@ -72,20 +81,30 @@
</div>
<div class="question">
<n-card style="height: 100%">
- <n-input v-model:value="questionContent" type="textarea" class="question-input"
+ <n-input
+ v-model:value="questionContent"
+ type="textarea"
+ class="question-input"
@keydown.enter="sendChat(store)"></n-input>
<div class="question-tools">
- <n-select v-model:value="currentModelTitle" class="flex-1" :options="modelList"
- label-field="title" value-field="title" @update:value="changeModel">
+ <n-select
+ v-model:value="currentModelTitle"
+ class="flex-1"
+ :options="modelList"
+ label-field="title"
+ value-field="title"
+ @update:value="changeModel">
</n-select>
<div class="send-btn">
<!-- <i
class="i-icon-park-twotone:new-picture text-8 text-[var(--color-primary-1)] hover-text-[var(--color-primary-hover-1)]"></i> -->
- <i v-if="!isChat"
+ <i
+ v-if="!isChat"
class="i-icon-park-twotone:arrow-circle-up text-8 text-[var(--color-primary-1)] hover-text-[var(--color-primary-hover-1)]"
@click="sendChat(store)"></i>
- <i v-else
+ <i
+ v-else
class="i-svg-spinners:pulse-2 text-8 text-[var(--color-primary-1)] hover-text-[var(--color-primary-hover-1)]"
@click="stopChat(store)"></i>
</div>
@@ -98,26 +117,31 @@
<div style="height: calc(100vh - 177px)">
<div class="h-10 flex justify-start items-center gap-2.5">
<n-button-group size="small">
- <n-button :type="previewStatus == 'view' ? 'primary' : 'default'"
+ <n-button
+ :type="previewStatus == 'view' ? 'primary' : 'default'"
@click="previewStatus = 'view'">
<template #icon>
<i class="i-mingcute:eye-2-fill text-5"></i>
</template>
- View
+ {{ $t('template.ai.buttons.view') }}
</n-button>
- <n-button :type="previewStatus == 'edit' ? 'primary' : 'default'"
+ <n-button
+ :type="previewStatus == 'edit' ? 'primary' : 'default'"
@click="previewStatus = 'edit'">
<template #icon>
<i class="i-tdesign:code text-5"></i>
</template>
- Edit
+ {{ $t('template.ai.buttons.edit') }}
</n-button>
</n-button-group>
- <span v-if="previewStatus == 'edit'">[Ctrl + s] to save your change</span>
+ <span v-if="previewStatus == 'edit'">{{ $t('template.ai.tips.saveShortcut') }}</span>
</div>
<n-scrollbar style="height: calc(100% - 40px)">
<div v-if="previewStatus == 'view'" v-html="previewCode"></div>
- <BtEditor v-else :value="previewCode" style="height: calc(100vh - 217px)"
+ <BtEditor
+ v-else
+ :value="previewCode"
+ style="height: calc(100vh - 217px)"
@save="saveCodeChange(store)">
</BtEditor>
</n-scrollbar>
@@ -129,234 +153,233 @@
</template>
<script setup lang="ts">
- import {
- initialTemplateInfo,
- sendChat,
- removeHtmlCodeBlockMarkers,
- getHtmlTemplateContent,
- saveCodeChange,
- stopChat,
- } from './controller'
- import MarkdownRender from './components/MarkdownRender.vue'
- import { useTemplateStore } from './store'
- import { TemplateStore } from './dto'
- import BtEditor from '@/components/base/bt-editor/index.vue'
- const store = useTemplateStore()
- provide<TemplateStore>('modelStore', store)
- const {
- chatId,
- modelList,
- currentModelTitle,
- previewCode,
- questionContent,
- chatRecord,
- currentChatRecordKey,
- currentModel,
- isChat,
- chatScrollRef,
- scrollWrapperRef,
- scrollable,
- chatInfo
- } = store
- const route = useRoute()
-
- const previewStatus = ref('view')
-
- chatId.value = route.params.chatId as string
-
- /**
- * @description Handle model select
- */
- function changeModel(_: string, options: any) {
- currentModel.value = options
+import {
+ initialTemplateInfo,
+ sendChat,
+ removeHtmlCodeBlockMarkers,
+ getHtmlTemplateContent,
+ saveCodeChange,
+ stopChat,
+} from './controller'
+import MarkdownRender from './components/MarkdownRender.vue'
+import { useTemplateStore } from './store'
+import { TemplateStore } from './dto'
+import BtEditor from '@/components/base/bt-editor/index.vue'
+const store = useTemplateStore()
+provide<TemplateStore>('modelStore', store)
+const {
+ chatId,
+ modelList,
+ currentModelTitle,
+ previewCode,
+ questionContent,
+ chatRecord,
+ currentChatRecordKey,
+ currentModel,
+ isChat,
+ chatScrollRef,
+ scrollWrapperRef,
+ scrollable,
+ chatInfo,
+} = store
+const route = useRoute()
+
+const previewStatus = ref('view')
+
+chatId.value = route.params.chatId as string
+
+/**
+ * @description Handle model select
+ */
+function changeModel(_: string, options: any) {
+ currentModel.value = options
+}
+
+/**
+ * @description Get html template code content
+ */
+getHtmlTemplateContent(store)
+
+/**
+ * @description Initial chatInfo and modelList
+ */
+initialTemplateInfo(store)
+
+/**
+ * @description Render page code
+ */
+function handleCodeRender(data: { code: string; key: string }) {
+ if (data.key == currentChatRecordKey.value) {
+ // console.log(data.key, currentChatRecordKey.value)
+ previewCode.value = removeHtmlCodeBlockMarkers(data.code)
}
-
- /**
- * @description Get html template code content
- */
- getHtmlTemplateContent(store)
-
- /**
- * @description Initial chatInfo and modelList
- */
- initialTemplateInfo(store)
-
- /**
- * @description Render page code
- */
- function handleCodeRender(data: { code: string; key: string }) {
- if (data.key == currentChatRecordKey.value) {
- // console.log(data.key, currentChatRecordKey.value)
- previewCode.value = removeHtmlCodeBlockMarkers(data.code)
- }
+}
+
+/**
+ * @description Regenerate
+ */
+function handleRegenerate(key: string) {
+ questionContent.value = key.split('_+_')[0]
+ sendChat(store)
+}
+
+/**
+ * @description Listen scroll wrapper for height-change
+ */
+function scrollWrapperHeightChange(timer?: any, index = 0) {
+ let timeoutTimer = timer || null
+ let startIndex = index
+ if (startIndex >= 6) {
+ return
}
-
- /**
- * @description Regenerate
- */
- function handleRegenerate(key: string) {
- questionContent.value = key.split('_+_')[0]
- sendChat(store)
+ if (timeoutTimer) {
+ clearTimeout(timer)
+ timeoutTimer = null
}
-
- /**
- * @description Listen scroll wrapper for height-change
- */
- function scrollWrapperHeightChange(timer?: any, index = 0) {
- let timeoutTimer = timer || null
- let startIndex = index
- if (startIndex >= 6) {
- return
- }
- if (timeoutTimer) {
- clearTimeout(timer)
- timeoutTimer = null
- }
- if (scrollWrapperRef.value.offsetHeight) {
- chatScrollRef.value.scrollTo({ left: 0, top: scrollWrapperRef.value.offsetHeight })
- startIndex++
- return
- } else {
- startIndex++
- timeoutTimer = setTimeout(() => {
- scrollWrapperHeightChange(timeoutTimer, startIndex)
- }, 100)
- }
+ if (scrollWrapperRef.value.offsetHeight) {
+ chatScrollRef.value.scrollTo({ left: 0, top: scrollWrapperRef.value.offsetHeight })
+ startIndex++
+ return
+ } else {
+ startIndex++
+ timeoutTimer = setTimeout(() => {
+ scrollWrapperHeightChange(timeoutTimer, startIndex)
+ }, 100)
}
+}
- function handleScroll(event: WheelEvent) {
- if (event.deltaY < 0) {
- scrollable.value = false
- }
+function handleScroll(event: WheelEvent) {
+ if (event.deltaY < 0) {
+ scrollable.value = false
}
+}
- onMounted(() => {
- scrollWrapperHeightChange()
- })
+onMounted(() => {
+ scrollWrapperHeightChange()
+})
</script>
<style scoped lang="scss">
- @use '@/styles/index' as base;
- @use '../../mixin.scss';
+@use '@/styles/index' as base;
+@use '../../mixin.scss';
- .wrapper {
- @mixin content-card {
- border-radius: 5px;
- padding: 20px;
- }
+.wrapper {
+ @mixin content-card {
+ border-radius: 5px;
+ padding: 20px;
+ }
- @include mixin.wrapper;
+ @include mixin.wrapper;
- .page-tit {
- @include mixin.page-tit;
- }
+ .page-tit {
+ @include mixin.page-tit;
+ }
+
+ .ai-container {
+ display: grid;
+ grid-template-columns: 2fr 5fr;
+ gap: 15px;
- .ai-container {
+ .chat-area {
display: grid;
- grid-template-columns: 2fr 5fr;
+ grid-template-rows: 76px 1fr 230px;
gap: 15px;
- .chat-area {
- display: grid;
- grid-template-rows: 76px 1fr 230px;
- gap: 15px;
+ .answer {
+ width: 100%;
+ height: calc(100vh - 472px);
+
+ .answer-container {
+ padding: 30px 10px;
+
+ .ask-content,
+ .answer-content {
+ @include content-card();
+ background: var(--color-bg-3);
+ display: grid;
+ grid-template-rows: 30px 1fr;
+ gap: 10px;
+ margin-bottom: 20px;
+
+ .pic {
+ @include base.row-flex;
+ align-items: center;
+ }
- .answer {
- width: 100%;
- height: calc(100vh - 472px);
-
- .answer-container {
- padding: 30px 10px;
-
- .ask-content,
- .answer-content {
- @include content-card();
- background: var(--color-bg-3);
- display: grid;
- grid-template-rows: 30px 1fr;
- gap: 10px;
- margin-bottom: 20px;
-
- .pic {
- @include base.row-flex;
- align-items: center;
+ @mixin item-tool {
+ @include base.row-flex-start;
+ cursor: pointer;
+ gap: 5px;
+ padding: 5px 10px;
+ align-items: center;
+ font-size: 12px;
+ border-radius: 3px;
+ transition: 0.1s all ease-in-out;
+
+ &:hover {
+ background: var(--color-primary-1);
+ color: #fff;
}
- @mixin item-tool {
- @include base.row-flex-start;
- cursor: pointer;
- gap: 5px;
- padding: 5px 10px;
- align-items: center;
- font-size: 12px;
- border-radius: 3px;
- transition: 0.1s all ease-in-out;
-
- &:hover {
- background: var(--color-primary-1);
- color: #fff;
- }
-
- &:active {
- background: var(--color-primary-3);
- }
+ &:active {
+ background: var(--color-primary-3);
}
+ }
- .text {
- font-size: 14px;
- }
+ .text {
+ font-size: 14px;
+ }
- .answer-tool {
- @include base.row-flex-end;
- border-top: 1px solid var(--color-border-1);
- height: 30px;
- padding-top: 20px;
+ .answer-tool {
+ @include base.row-flex-end;
+ border-top: 1px solid var(--color-border-1);
+ height: 30px;
+ padding-top: 20px;
- .tool-item {
- @include item-tool();
- }
+ .tool-item {
+ @include item-tool();
}
}
+ }
- .answer-content {
- background: var(--color-bg-2);
- }
+ .answer-content {
+ background: var(--color-bg-2);
}
}
+ }
- .question {
- position: relative;
+ .question {
+ position: relative;
- .question-input {
- height: 100%;
- font-size: 14px;
- }
+ .question-input {
+ height: 100%;
+ font-size: 14px;
+ }
- .question-tools {
- position: absolute;
- padding: 5px 30px;
- @include base.row-flex;
- gap: 200px;
- bottom: 22px;
- left: 0;
- width: 100%;
+ .question-tools {
+ position: absolute;
+ padding: 5px 30px;
+ @include base.row-flex;
+ gap: 200px;
+ bottom: 22px;
+ left: 0;
+ width: 100%;
- justify-content: space-between;
+ justify-content: space-between;
- .send-btn {
- @include base.row-flex-start;
- gap: 10px;
+ .send-btn {
+ @include base.row-flex-start;
+ gap: 10px;
- i {
- cursor: pointer;
- }
+ i {
+ cursor: pointer;
}
}
-
}
}
+ }
- /* .view-area {
+ /* .view-area {
background: linear-gradient(-45deg, rgba(238, 152, 82, 0.3),rgba(35, 166, 213,.3), rgba(231, 60, 60, 0.3), rgba(35, 213, 171,.3));
background-size: 400% 400%;
animation: gradient 15s ease infinite;
@@ -375,6 +398,6 @@
}
}
} */
- }
}
+}
</style>
diff --git a/core/frontend/types/components.d.ts b/core/frontend/types/components.d.ts
index 938cc66b..32bf4ef3 100644
--- a/core/frontend/types/components.d.ts
+++ b/core/frontend/types/components.d.ts
@@ -16,6 +16,7 @@ declare module 'vue' {
BtFileUpload: typeof import('./../src/components/base/bt-file-upload/index.vue')['default']
BtForm: typeof import('./../src/components/ui/bt-form/index.vue')['default']
BtHelp: typeof import('./../src/components/base/bt-help/index.vue')['default']
+ BtLogs: typeof import('./../src/components/base/bt-logs/index.vue')['default']
BtModal: typeof import('./../src/components/ui/bt-modal/index.vue')['default']
BtPreview: typeof import('./../src/components/base/bt-preview/index.vue')['default']
BtRouteTabs: typeof import('./../src/components/base/bt-route-tabs/index.vue')['default']