feat: improve handleCameraError() and camera call logic (#2809)

add i18n for face recognition
This commit is contained in:
HGZ-20
2024-03-16 22:52:57 +08:00
committed by GitHub
parent fd0bcd9a17
commit 04f0458b5c
49 changed files with 429 additions and 27 deletions

View File

@ -181,6 +181,7 @@
"Adapter - Tooltip": "策略存储的表名",
"Adapters": "Casbin适配器",
"Add": "添加",
"Add Face Id": "添加人脸",
"Add custom item": "添加自定义项",
"Admin": "管理工具",
"Affiliation URL": "工作单位URL",
@ -234,6 +235,7 @@
"Enabled": "已开启",
"Enabled successfully": "启用成功",
"Enforcers": "Casbin执行器",
"FaceIdData": "人脸数据",
"Failed to add": "添加失败",
"Failed to connect to server": "连接服务器失败",
"Failed to delete": "删除失败",
@ -460,6 +462,9 @@
"Continue with": "使用以下账号继续",
"Email": "Email",
"Email or phone": "Email或手机号",
"Face ID": "Face ID",
"Face Recognition": "人脸识别",
"Face recognition failed": "人脸识别失败",
"Failed to obtain MetaMask authorization": "获取MetaMask授权失败",
"Failed to obtain Web3-Onboard authorization": "获取 Web3-Onboard 授权失败",
"Forgot password?": "忘记密码?",
@ -469,9 +474,12 @@
"Logging out...": "正在退出登录...",
"Login button": "登录按钮",
"MetaMask plugin not detected": "未检测到MetaMask插件",
"Model loading failure": "人脸识别模型加载失败",
"No account?": "没有账号?",
"Or sign in with another account": "或者,登录其他账号",
"Phone": "手机号",
"Please ensure sufficient lighting and align your face in the center of the recognition box": "请保证环境光线充足,并将人脸置于识别框中心位置",
"Please ensure that you have a camera device for facial recognition": "请检查是否有可用的摄像头设备以进行人脸识别",
"Please input your Email or Phone!": "请输入您的Email或手机号!",
"Please input your Email!": "请输入您的Email!",
"Please input your LDAP username!": "请输入您的LDAP用户名!",
@ -479,6 +487,8 @@
"Please input your code!": "请输入您的验证码!",
"Please input your organization name!": "请输入组织的名字!",
"Please input your password!": "请输入您的密码!",
"Please load the webpage using HTTPS, otherwise the camera cannot be accessed": "请使用HTTPS加载网页否则无法使用摄像头",
"Please provide permission to access the camera": "请打开摄像头访问权限",
"Please select an organization": "请选择一个组织",
"Please select an organization to sign in": "请选择要登录的组织",
"Please type an organization to sign in": "请输入要登录的组织",
@ -488,6 +498,7 @@
"Sign in with {type}": "{type}登录",
"Signing in...": "正在登录...",
"Successfully logged in with WebAuthn credentials": "成功使用WebAuthn证书登录",
"The camera is currently in use by another webpage": "摄像头被占用,无法使用",
"The input is not valid Email or phone number!": "您输入的电子邮箱格式或手机号有误!",
"The input is not valid Email!": "您输入的电子邮箱格式有误!",
"The input is not valid phone number!": "您输入的手机号有误!",
@ -1069,6 +1080,8 @@
"Email cannot be empty": "邮箱不能为空",
"Email/phone reset successfully": "邮箱或手机号重置成功",
"Empty input!": "输入为空!",
"Face ID": "Face ID",
"Face ids": "Face ids",
"Gender": "性别",
"Gender - Tooltip": "性别 - Tooltip",
"Homepage": "个人主页",