Files
FastGPT/packages/web/i18n/en/user.json
Archer c75f154728 Password security policy (#4765)
* Psw (#4748)

* feat: 添加重置密码功能及相关接口

- 在用户模型中新增 passwordUpdateTime 字段以记录密码更新时间。
- 更新用户模式以支持密码更新时间的存储。
- 新增重置密码的模态框组件,允许用户重置密码。
- 实现重置密码的 API 接口,支持根据用户 ID 更新密码。
- 更新相关国际化文件,添加重置密码的提示信息。

* 更新国际化文件,添加重置密码相关提示信息,并优化重置密码模态框的实现。修复部分代码逻辑,确保用户体验流畅。

* 更新国际化文件,添加重置密码相关提示信息,优化重置密码模态框的实现,修复部分代码逻辑,确保用户体验流畅。新增获取用户密码更新时间的API接口,并调整相关逻辑以支持密码重置功能。

* update

* fix

* fix

* Added environment variables NEXT_PUBLIC_PASSWORD_UPDATETIME to support password update time configuration, update related logic to implement password mandatory update function, and optimize the implementation of reset password modal box to improve user experience.

* update index

* 更新用户密码重置功能,调整相关API接口,优化重置密码模态框的实现,确保用户体验流畅。修复部分代码逻辑,更新国际化提示信息。

* 删除获取用户密码更新时间的API接口,并在布局组件中移除不必要的重置密码模态框。优化代码结构,提升可维护性。

* update

* perf: reset expired password code

* perf: layout child components

* doc

* remove invalid env

* perf: update password code

---------

Co-authored-by: dreamer6680 <1468683855@qq.com>
2025-05-08 12:11:08 +08:00

118 lines
6.1 KiB
JSON

{
"bill.balance": "Balance",
"bill.buy_plan": "Purchase Plan",
"bill.contact_customer_service": "Contact Support",
"bill.conversion": "Conversion",
"bill.convert_error": "Conversion Failed",
"bill.convert_success": "Conversion Successful",
"bill.current_token_price": "Current Token Price",
"bill.not_need_invoice": "Balance payment, invoice not available",
"bill.price": "Price",
"bill.renew_plan": "Renew Plan",
"bill.standard_valid_tip": "Plan Usage Rules: Higher-level plans will be used first. Unused plans will be activated later.",
"bill.token_expire_1year": "Tokens are valid for one year",
"bill.tokens": "Tokens",
"bill.use_balance": "Use Balance",
"bill.use_balance_hint": "Due to system upgrade, the 'Auto-renewal from balance' mode is canceled, and the balance recharge option is closed. Your balance can be used to purchase tokens.",
"bill.valid_time": "Effective Time",
"bill.you_can_convert": "You can convert",
"bill.yuan": "Yuan",
"delete.admin_failed": "Failed to Delete Admin",
"delete.admin_success": "Admin Deleted Successfully",
"delete.failed": "Delete failed",
"delete.success": "Delete successfully",
"has_chosen": "Selected",
"login.Dingtalk": "DingTalk Login",
"login.error": "Login Error",
"login.password_condition": "Password can be up to 60 characters",
"login.success": "Login Successful",
"manage_team": "Manage team",
"name": "Name",
"new_password": "New Password",
"notification.remind_owner_bind": "Please remind the creator to bind a notification account",
"operations": "Actions",
"owner": "owner",
"password.code_required": "Verification Code Required",
"password.code_send_error": "Failed to Send Verification Code",
"password.code_sended": "Verification Code Sent",
"password.confirm": "Confirm Password",
"password.email_phone_error": "Invalid Email/Phone Number Format",
"password.email_phone_void": "Email/Phone Number Cannot Be Empty",
"password.not_match": "Passwords Do Not Match",
"password.password_condition": "Password must be between 4 and 20 characters",
"password.password_required": "Password Cannot Be Empty",
"password.retrieve": "Retrieve Password",
"password.retrieved": "Password Retrieved",
"password.retrieved_account": "Retrieve {{account}} Account",
"password.to_login": "Go to Login",
"password.verification_code": "Verification Code",
"permission.Add": "Add Permissions",
"permission.Manage": "Admin",
"permission.Manage tip": "Team admin with full permissions",
"permission.Read": "Read Only",
"permission.Read desc": "Members can only read related resources, cannot create new resources",
"permission.Write": "Write",
"permission.Write tip": "In addition to read access, can create new resources",
"permission.only_collaborators": "Collaborators Only",
"permission.team_read": "Team Read Access",
"permission.team_write": "Team Write Access",
"permission_add_tip": "After adding, you can check the permissions for them.",
"permission_des.manage": "Can create resources, invite, and delete members",
"permission_des.read": "Members can only read related resources and cannot create new resources.",
"permission_des.write": "In addition to readable resources, you can also create new resources",
"permissions": "Permissions",
"personal_information": "Me",
"personalization": "Personalization",
"promotion_records": "Promotion",
"register.confirm": "Confirm Registration",
"register.register_account": "Register {{account}} Account",
"register.success": "Registration Successful",
"register.to_login": "Already have an account? Go to Login",
"search_group_org_user": "Search member/group/org name",
"search_user": "Search Username",
"sso_auth_failed": "SSO authentication failed",
"synchronization.button": "Sync Now",
"synchronization.placeholder": "Enter Sync Tag",
"synchronization.title": "Enter the sync tag link and click the sync button to synchronize",
"team.Add manager": "Add Admin",
"team.Confirm Invite": "Confirm invitation",
"team.Create Team": "Create new team",
"team.Invite Member Failed Tip": "An exception occurred when inviting members",
"team.Invite Member Result Tip": "Invitation result prompt",
"team.Invite Member Success Tip": "Invite members to complete\n\nSuccess: {{success}} people\n\nInvalid username: {{inValid}}\n\nAlready in team: {{inTeam}}",
"team.Set Name": "Give the team a name",
"team.Team Name": "Team name",
"team.Update Team": "Update team information",
"team.add_collaborator": "Add Collaborator",
"team.add_permission": "Add permissions",
"team.add_writer": "Add writable members",
"team.avatar_and_name": "avatar",
"team.belong_to_group": "Member group",
"team.group.avatar": "Group avatar",
"team.group.create": "Create group",
"team.group.create_failed": "Failed to create group",
"team.group.default_group": "Default group",
"team.group.delete_confirm": "Confirm to delete group?",
"team.group.edit": "Edit group",
"team.group.edit_info": "Edit information",
"team.group.group": "group",
"team.group.keep_admin": "Keep administrator rights",
"team.group.manage_member": "Managing members",
"team.group.manage_tip": "Can manage members, create groups, manage all groups, assign permissions to groups and members",
"team.group.members": "member",
"team.group.name": "Group name",
"team.group.permission.write": "Workbench/knowledge base creation",
"team.group.permission_tip": "Members with individually configured permissions will follow the individual permission configuration and will no longer be affected by group permissions.\n\nIf a member is in multiple permission groups, the member's permissions are combined.",
"team.group.role.admin": "administrator",
"team.group.role.member": "member",
"team.group.role.owner": "owner",
"team.group.set_as_admin": "Set as administrator",
"team.group.toast.can_not_delete_owner": "Owner cannot be deleted, please transfer first",
"team.group.transfer_owner": "transfer owner",
"team.manage_collaborators": "Manage Collaborators",
"team.no_collaborators": "No Collaborators",
"team.org.org": "Organization",
"team.write_role_member": "Write Permission",
"team.collaborator.added": "Added"
}