feat: Update Auth Control

This commit is contained in:
web@ppanel
2025-01-13 21:07:27 +07:00
parent dd23279e3e
commit c59742a4f3
143 changed files with 4195 additions and 1512 deletions
@@ -0,0 +1,20 @@
{
"emailSuffixWhitelist": "Email Suffix Whitelist",
"emailSuffixWhitelistDescription": "When enabled, only emails with suffixes in the list can register",
"emailVerification": "Email Verification",
"emailVerificationDescription": "When enabled, users will need to verify their email",
"ipRegistrationLimit": "IP Registration Limit",
"ipRegistrationLimitDescription": "When enabled, IPs that meet the rule requirements will be restricted from registering; note that IP determination may cause issues due to CDNs or frontend proxies",
"penaltyTime": "Penalty Time (minutes)",
"penaltyTimeDescription": "Users must wait for the penalty time to expire before registering again",
"registrationLimitCount": "Registration Limit Count",
"registrationLimitCountDescription": "Enable penalty after reaching registration limit",
"saveSuccess": "Save Successful",
"stopNewUserRegistration": "Stop New User Registration",
"stopNewUserRegistrationDescription": "When enabled, no one can register",
"trialRegistration": "Trial Registration",
"trialRegistrationDescription": "Enable trial registration; modify trial package and duration first",
"whitelistSuffixes": "Whitelist Suffixes",
"whitelistSuffixesDescription": "Used for email verification during registration; one per line",
"whitelistSuffixesPlaceholder": "Enter email suffixes, one per line"
}
+29
View File
@@ -0,0 +1,29 @@
{
"emailBasicConfig": "Basic Configuration",
"emailLogs": "Email Logs",
"emailTemplate": "Email Template",
"expiration_email_template": "Expiration Notice Template",
"expiration_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables.",
"inputPlaceholder": "Enter value...",
"maintenance_email_template": "Maintenance Notice Template",
"maintenance_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables.",
"saveSuccess": "Configuration saved successfully.",
"sendFailure": "Failed to send test email, please check the configuration.",
"sendSuccess": "Test email sent successfully.",
"sendTestEmail": "Send Test Email",
"sendTestEmailDescription": "Send a test email to verify the configuration.",
"senderAddress": "Sender Address",
"senderAddressDescription": "The default email address used for sending emails.",
"smtpAccount": "SMTP Account",
"smtpAccountDescription": "The email account used for authentication.",
"smtpEncryptionMethod": "SMTP Encryption Method",
"smtpEncryptionMethodDescription": "Choose whether to enable SSL/TLS encryption.",
"smtpPassword": "SMTP Password",
"smtpPasswordDescription": "The password for the SMTP account.",
"smtpServerAddress": "SMTP Server Address",
"smtpServerAddressDescription": "Specify the server address used for sending emails.",
"smtpServerPort": "SMTP Server Port",
"smtpServerPortDescription": "Specify the port used to connect to the SMTP server.",
"verify_email_template": "Verification Email Template",
"verify_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables."
}
+10
View File
@@ -1,18 +1,28 @@
{
"Announcement Management": "Announcement Management",
"Apple": "Apple ID",
"Auth Control": "Auth Control",
"Coupon Management": "Coupon Management",
"Dashboard": "Dashboard",
"Document Management": "Document Management",
"Email": "Email",
"Facebook": "Facebook",
"Finance": "Finance",
"General": "General",
"GitHub": "GitHub",
"Google": "Google",
"Order Management": "Order Management",
"Payment Config": "Payment Config",
"Phone Number": "Phone Number",
"Server": "Server",
"Server Management": "Server Management",
"Settings": "Settings",
"Subscribe Management": "Subscribe Management",
"System Config": "System Config",
"System Tool": "System Tool",
"Telegram": "Telegram",
"Ticket Management": "Ticket Management",
"Twitter": "Twitter",
"User": "User",
"User Management": "User Management"
}
+57
View File
@@ -0,0 +1,57 @@
{
"SmsList": "SMS Log List",
"apiUrl": "API URL",
"apiUrlTip": "SMS platform API endpoint",
"areaCode": "Area Code",
"content": "Content",
"createdAt": "Send Time",
"enable": "Enable",
"enableTip": "After enabling, mobile phone registration, login, binding, and unbinding functions will be enabled",
"expireTime": "Expire Time",
"expireTimeTip": "SMS verification code validity period (seconds)",
"foreignApiUrl": "International API URL",
"foreignApiUrlTip": "International SMS service API endpoint",
"interval": "Interval",
"intervalTip": "SMS verification code sending interval for the same phone number (seconds), 0 means no limit",
"limit": "Daily Limit",
"limitTip": "Daily SMS verification code sending limit for the same phone number, 0 means no limit",
"logs": "Logs",
"password": "Password",
"passwordTip": "SMS platform password, such as Aliyun Access Key Secret",
"placeholders": {
"apiUrl": "Enter API URL, e.g. https://api.example.com",
"expireTime": "Enter expire time, default is 300",
"foreignApiUrl": "Enter international API URL",
"interval": "Enter interval time, default is 60",
"limit": "Enter daily limit, default is 20",
"password": "Enter platform password",
"region": "Enter region, e.g. cn-hangzhou",
"template": "Your verification code is {code}, valid for 5 minutes",
"templateCode": "Enter template code",
"templateParam": "Enter parameter name, default is code",
"username": "Enter platform username"
},
"platform": "SMS Platform",
"platformTip": "Please select SMS platform",
"region": "Region",
"regionTip": "SMS service region, such as cn-hangzhou for Aliyun",
"search": "Search phone number",
"sendFailed": "Send Failed",
"sendSuccess": "Send Success",
"settings": "Settings",
"status": "Status",
"telephone": "Phone Number",
"template": "SMS Template",
"templateCode": "Template Code",
"templateCodeTip": "SMS service template code",
"templateParam": "Template Parameter",
"templateParamTip": "Variable parameter name in SMS template, default is 'code'",
"templateTip": "Please fill in the SMS template, keep {code} in the middle, otherwise SMS function will not work",
"testSms": "Send Test SMS",
"testSmsContent": "This is a test message",
"testSmsPhone": "Enter phone number",
"testSmsTip": "Send a test SMS to verify your configuration",
"updateSuccess": "Update Success",
"username": "Username",
"usernameTip": "SMS platform username, such as Aliyun Access Key ID"
}
-46
View File
@@ -8,32 +8,6 @@
"currencyUnitDescription": "Used for display purposes only; changing this will affect all currency units in the system",
"saveSuccess": "Save Successful"
},
"email": {
"expiration_email_template": "Expiration Notice Template",
"expiration_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables.",
"inputPlaceholder": "Enter value...",
"maintenance_email_template": "Maintenance Notice Template",
"maintenance_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables.",
"saveSuccess": "Configuration saved successfully.",
"sendFailure": "Failed to send test email, please check the configuration.",
"sendSuccess": "Test email sent successfully.",
"sendTestEmail": "Send Test Email",
"sendTestEmailDescription": "Send a test email to verify the configuration.",
"senderAddress": "Sender Address",
"senderAddressDescription": "The default email address used for sending emails.",
"smtpAccount": "SMTP Account",
"smtpAccountDescription": "The email account used for authentication.",
"smtpEncryptionMethod": "SMTP Encryption Method",
"smtpEncryptionMethodDescription": "Choose whether to enable SSL/TLS encryption.",
"smtpPassword": "SMTP Password",
"smtpPasswordDescription": "The password for the SMTP account.",
"smtpServerAddress": "SMTP Server Address",
"smtpServerAddressDescription": "Specify the server address used for sending emails.",
"smtpServerPort": "SMTP Server Port",
"smtpServerPortDescription": "Specify the port used to connect to the SMTP server.",
"verify_email_template": "Verification Email Template",
"verify_email_templateDescription": "The {after}.variable{before} placeholders will be replaced with actual data. Ensure to keep these variables."
},
"invite": {
"commissionFirstTimeOnly": "Commission for First Purchase Only",
"commissionFirstTimeOnlyDescription": "When enabled, commission is generated only on the inviter's first payment; you can configure individual users in user management",
@@ -64,26 +38,6 @@
"startTime": "Start Time",
"timeSlot": "Time Slot"
},
"register": {
"emailSuffixWhitelist": "Email Suffix Whitelist",
"emailSuffixWhitelistDescription": "When enabled, only emails with suffixes in the list can register",
"emailVerification": "Email Verification",
"emailVerificationDescription": "When enabled, users will need to verify their email",
"ipRegistrationLimit": "IP Registration Limit",
"ipRegistrationLimitDescription": "When enabled, IPs that meet the rule requirements will be restricted from registering; note that IP determination may cause issues due to CDNs or frontend proxies",
"penaltyTime": "Penalty Time (minutes)",
"penaltyTimeDescription": "Users must wait for the penalty time to expire before registering again",
"registrationLimitCount": "Registration Limit Count",
"registrationLimitCountDescription": "Enable penalty after reaching registration limit",
"saveSuccess": "Save Successful",
"stopNewUserRegistration": "Stop New User Registration",
"stopNewUserRegistrationDescription": "When enabled, no one can register",
"trialRegistration": "Trial Registration",
"trialRegistrationDescription": "Enable trial registration; modify trial package and duration first",
"whitelistSuffixes": "Whitelist Suffixes",
"whitelistSuffixesDescription": "Used for email verification during registration; one per line",
"whitelistSuffixesPlaceholder": "Enter email suffixes, one per line"
},
"site": {
"logo": "Logo",
"logoDescription": "Used for displaying the logo in designated locations",