refactor(frontend): 重构前端第二版

This commit is contained in:
sophie committed 2026-06-11 13:47:06 +08:00
1 parent 2631f78b00
commit 4b562cfa82
205 files changed
+15399 -12015

No files matched your search

+162
View File
@@ -0,0 +1,162 @@
{
"title": "Enterprise AI Gateway",
"login": {
"username": "Username",
"password": "Password",
"submit": "Login",
"registerLink": "Register",
"noAccount": "Don't have an account?",
"subtitle": "Welcome back! Please enter your details.",
"placeholder": {
"username": "Enter your username",
"password": "Password"
},
"failed": "Login failed",
"inputError": "Please enter username and password",
"usernameRequired": "Please enter username",
"loginRequired": "Please login first",
"requestFailed": "Login request failed",
"forgotPassword": "Forgot Password?",
"newPassword": "New Password",
"passwordResetSuccess": "Password reset successfully. Please login.",
"featuredAgents": "Featured AI Agents",
"pleaseLoginFirst": "Please login to access this agent.",
"userNotFound": "User not found",
"incorrectPassword": "Incorrect password",
"accountDisabled": "Account is disabled",
"dbConnectionFailed": "Database connection failed. Please check if the database service is running.",
"internalError": "Internal server error. Please try again later.",
"rememberMe": "Remember me for 30 days",
"forgotPasswordDesc": "Enter your email to reset your password",
"findPassword": "Find Password",
"announcements": "Announcements",
"passwordResetEmailSent": "如果账号存在,重置链接已发送到您的邮箱。",
"passwordResetRequestFailed": "请求密码重置失败",
"casdoorLogin": "Login with Casdoor",
"casdoorErrors": {
"invalidCredentials": "Incorrect username or password",
"codeExpired": "Login session expired, please sign in again",
"stateExpired": "Login session expired, please try again",
"accessDenied": "Login was cancelled or denied",
"configError": "Authentication service is unavailable. Please contact the administrator.",
"authFailed": "Authentication failed, please try again",
"passwordPolicy": "New password does not meet security requirements",
"setPasswordFailed": "Failed to change password. Please try again or contact the administrator.",
"incorrectCurrentPassword": "Current password is incorrect",
"userNotInIdp": "Your account has not been registered in the authentication system. Please contact the administrator to sync your account before changing your password."
},
"casdoorDialogTitles": {
"userNotFound": "No local account matched",
"userNotInIdp": "Account not registered in authentication system",
"accountDisabled": "Account is disabled",
"sessionExpired": "Login session expired",
"configError": "Authentication service error",
"accessDenied": "Login was not completed",
"loginFailed": "Login failed"
},
"casdoorDialogDetails": {
"contactAdmin": "If the problem persists, please contact the administrator.",
"retryLogin": "Please close this dialog and sign in again."
},
"wecomLogin": "Login with WeCom",
"wecomConnecting": "Connecting to WeCom...",
"wecomStartFailed": "Failed to start WeCom login",
"wecomInvalidState": "Invalid WeCom login state",
"wecomStateExpired": "WeCom login session expired, please try again.",
"wecomBindRequired": "Current WeCom account is not bound to a local user, please contact admin.",
"wecomAccountDisabled": "Account is disabled, please contact admin.",
"wecomLoginFailed": "WeCom login failed",
"wecomMatchAmbiguous": "Multiple local users matched this WeCom account. Please contact admin.",
"wecomMatchAttrMissing": "Required account attributes are missing in WeCom. Please contact admin.",
"wecomRetry": "Retry WeCom Login",
"wecomTechnicalInfo": "Technical info: {detail}",
"wecomBindPromptTitle": "Verify and bind your local account",
"wecomBindPromptDesc": "This is your first WeCom login for {name}. Enter one allowed field below to bind your local account.",
"wecomBindField": "Verification field",
"wecomBindValue": "Verification value",
"wecomBindValuePlaceholder": "Enter your {field}",
"wecomBindPromptHint": "The value must exactly match an existing local account. After success, this WeCom account will be bound automatically.",
"wecomBindSubmit": "Verify and sign in",
"wecomBindInputNotFound": "No local account matched the value you entered.",
"wecomBindInputAmbiguous": "The value you entered matched multiple local accounts. Please contact the administrator.",
"wecomBindSessionExpired": "This WeCom binding session expired. Please restart WeCom login.",
"wecomBindConflict": "This WeCom account is already bound to another local account.",
"wecomBindFieldNotAllowed": "The selected verification field is not allowed.",
"wecomBindValueRequired": "Please enter a verification value.",
"wecomFieldLabels": {
"employee_id": "employee ID",
"mobile": "mobile number",
"email": "email",
"match_rules": "match rules"
},
"wecomRuleJoin": {
"and": "and",
"or": "or"
},
"wecomFieldGuides": {
"employee_id": "Ask the administrator to verify the employee ID source configuration and make sure this member can return an employee ID.",
"mobile": "Ask the administrator to fill in the mobile number in the WeCom directory, or adjust the matching rules to stop requiring mobile.",
"email": "Ask the administrator to maintain the email field in the WeCom directory, or adjust the matching rules.",
"default": "Ask the administrator to verify the WeCom directory fields and the current matching rules."
},
"wecomDialogTitles": {
"matchAttrMissing": "WeCom profile is incomplete",
"matchAmbiguous": "Multiple local accounts matched",
"bindRequired": "No local account can be linked",
"bindInputRequired": "Verification is required before binding",
"bindConflict": "This WeCom account is already linked elsewhere",
"notInScope": "This member is not authorized for the app",
"stateExpired": "WeCom login expired",
"accountDisabled": "Local account is disabled",
"loginFailed": "WeCom login failed"
},
"wecomDialogSummaries": {
"matchAttrMissing": "WeCom did not return \"{field}\", so the system cannot match your local account automatically.",
"matchAmbiguous": "This WeCom account matched multiple local accounts, so the system cannot decide which one to sign in.",
"matchAmbiguousWithCount": "This WeCom account matched {count} local accounts, so the system cannot decide which one to sign in.",
"bindRequired": "WeCom authentication succeeded, but no local account matched the current rules.",
"bindInputRequired": "WeCom authentication succeeded. Please verify one local account field to complete the first binding.",
"bindConflict": "This WeCom account is already bound to another local account.",
"notInScope": "This member is outside the app visibility scope, or is not a member of this enterprise."
},
"wecomDialogDetails": {
"currentRules": "Current matching rules: {rules}",
"bindFallback": "If you already have a local account, ask the administrator to bind this WeCom account manually.",
"ambiguousAction": "Ask the administrator to clean duplicated employee ID/mobile/email data, or tighten the matching rules.",
"bindRequiredAction": "Ask the administrator to create or bind the local account first, or enable auto-create users.",
"bindInputRequiredAction": "Enter your employee ID, mobile number, or email on the next step to bind this WeCom account to your existing local account.",
"bindConflictAction": "Ask the administrator to unbind the old account before binding this WeCom account again.",
"notInScopeAction": "Ask the administrator to add this member or the member’s department into the WeCom app visibility scope.",
"retryLogin": "Start a new WeCom login and try again.",
"contactAdmin": "Please contact the administrator for assistance."
}
},
"landing": {
"hero": {
"prefix": "Hexin Precision",
"highlight": "AI Agent Application Platform",
"subtitle": "In the world of AI, we hope you enjoy your work and live happily."
},
"agent": {
"role": "AI Assistant"
}
},
"register": {
"title": "Register New Account",
"username": "Username",
"password": "Password",
"email": "Email",
"cancel": "Cancel",
"submit": "Register",
"success": "Registration submitted, please wait for approval",
"failed": "Registration failed",
"inputError": "Please enter username and password",
"requestFailed": "Request failed",
"emailRequired": "Email is required",
"fields": {
"realName": "Real Name",
"employeeId": "Employee ID",
"phone": "Phone Number"
}
}
}