core&ui: add webauthn support (#484)

Co-authored-by: panda <panda_dtdyy@outlook.com>
Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
pandaandundefined authored and GitHub committed 2023-01-23 17:49:40 +08:00
1 parent 3d3a5480e3
commit d069fe127b
29 files changed
+621 -195

No files matched your search

+19 -1
View File
@@ -26,6 +26,7 @@ __langname: 简体中文
'Copy failed :(': '复制失败 :('
'Current dataset: {0}': '当前测试数据: {0}'
'Discussion: Terms Of Service': 讨论区服务条款
'Failed to get credential: {0}': '获取认证数据失败: {0}'
'File upload failed: {0}': 文件上传失败:{0}
'Format: category 1, category 2, ..., category n': 格式:分类1, 分类2, ..., 分类n
'Hello, {0}! You can click following link to active your new email of your {1} account:': 您好,{0}!您可以点击以下链接来激活您 {1} 账户的新电子邮件地址:
@@ -35,6 +36,7 @@ __langname: 简体中文
'No': 否
'Note: Problem title may not be hidden.': 注意:题目标题可能不会被隐藏。
'Packages have new version: {0}': '以下组件有新版本: {0}'
'Please use your two factor authentication app to scan the qrcode below:': '请使用你的两步验证APP扫描此二维码:'
'Role {1} already exists in domain {0}.': '域 {0} 中已存在角色 {1}。'
'Solved {0} problems, RP: {1} (No. {2})': '解决了 {0} 道题目,RP: {1} (No. {2})'
'The value `{1}` of {0} already exists.': '{0} 的值 `{1}` 已经存在。'
@@ -47,6 +49,7 @@ __langname: 简体中文
(leave blank if none): (若不需要则留空)
(None): (无)
(Not changed): 未更改
6-Digit Code: 6位代码
Aborted: 已放弃
About {0}: 关于 {0}
About Markdown: 关于 Markdown
@@ -63,6 +66,7 @@ According to the contest rules, you cannot view your submission details at curre
Account Settings: 账户设置
Action: 动作
Active Sessions: 活动会话
Add Authenticator: 添加认证器
Add File: 添加文件
Add module: 添加模块
Add new data: 添加新数据
@@ -95,6 +99,8 @@ Attend Contest: 参加比赛
Attend contests: 参加比赛
Attended: 已参加
Attendee Manage: 参赛者管理
Authenticator: 认证器
Authenticators: 认证器
author: 作者
Auto hide problems during the contest: 在比赛过程中自动隐藏题目
Auto Read Tasks: 自动识别任务
@@ -133,6 +139,7 @@ Check In: 签到
Checker: 比较器
CheckerType: 比较器类型
Chinese: 中文
Choose Authenticator Type: 选择认证器类型
Choose the background image in your profile page.: 选择您资料页面的背景图片。
Claim homework: 认领作业
Claim Homework: 认领作业
@@ -344,6 +351,7 @@ Export as {0}: 导出为 {0}
Extension (days): 最长延期 (日)
Extension Score Penalty: 延期递交扣分规则
Extra Files Config: 额外文件设置
Failed to fetch registration data.: 获取注册数据失败。
Failed to join the domain. You are already a member.: 加入域失败,您已是该域的成员。
Failed to parse subtask.: 无法解析子任务信息。
Failed to parse testcase.: 无法解析测试点信息。
@@ -511,6 +519,7 @@ Month: 月
Monthly Popular: 月度最受欢迎
More: 更多
Most Upvoted Solutions: 最被赞同的题解
Multi Platform Authenticator: 跨平台认证器
My Domains: 我的域
My Files: 我的文件
My Profile: 我的资料
@@ -605,6 +614,7 @@ PingFang SC: 苹方简体
Plan: 计划
Please attend contest to see the problems.: 请参加比赛来查看题目。
Please claim the assignment to see the problems.: 认领作业后才可以查看作业内容。
Please follow the instructions on your device to complete the verification.: 请按照您设备上的指示完成验证。
Please select at least one file to perform this operation.: 请选择至少一个文件来执行此操作。
Please select at least one role to perform this operation.: 请选择至少一个角色来进行操作。
Please select at least one user to perform this operation.: 请选择至少一个用户来进行操作。
@@ -862,8 +872,10 @@ training_create: 创建训练
training_edit: 编辑训练
training_main: 训练
Training: 训练
Transports: 支持类型
Tried: 尝试
Two Factor Authentication: 两步验证码
Two Factor Authentication Code: 两步验证码
Two Factor Authentication: 两步验证
Type: 类型
UI Language: 用户界面语言
Uncompleted: 未完成
@@ -891,8 +903,11 @@ Upvote: 好评
Usage exceeded.: 用量超限。
Use admin specificed: 由管理员指定
Use algorithm calculated: 使用算法计算
Use Authenticator: 使用认证器
Use average of above: 使用上面的平均值
Use Password: 使用密码
Use Subtasks Mode: 使用子任务模式
Use TFA Code: 使用两步验证码
User {0} already exists.: 用户 {0} 已存在。
User {0} not found.: 用户 {0} 不存在。
User can join this domain by visiting the following URL: 用户可以访问此链接来加入此域
@@ -983,5 +998,8 @@ You're not logged in.: 您没有登录。
You've already attended this contest.: 您已经参加本次比赛。
You've already claimed this homework.: 您已认领过该作业。
You've already voted.: 您已经投过票。
Your account has two factor authentication enabled. Please choose an authenticator to verify.: 您的账户已启用双因素认证。请选择一个验证器来验证。
Your browser does not support WebAuthn or you are not in secure context.: 您的浏览器不支持WebAuthn或是您不在安全环境中。
Your Device: 你的设备
Your permission: 您的权限
Your role: 您的角色