ui: update translation

This commit is contained in:
undefined committed 2022-12-23 00:07:40 +08:00
1 parent 32b1b7b766
commit be30945487
8 files changed
+35 -35

No files matched your search

+1 -2
View File
@@ -294,8 +294,7 @@ Evaluated difficulty: 평가된 난이도
expand: 확장
Expire: 만료
Export All Code: 모든 코드 내보내기
Export as CSV: CSV로 내보내기
Export as HTML: HTML로 내보내기
Export as {0}: '{0}로 내보내기'
Extension (days): 추가 (날짜)
Extension Score Penalty: 추가 패널티
Failed to join the domain. You are already a member.: 그룹 참여 실패. 이미 참여함.
+1 -2
View File
@@ -324,8 +324,7 @@ Evaluated difficulty: 估计的难度
expand: 展开
Expire: 过期
Export All Code: 导出所有代码
Export as CSV: 导出为 CSV
Export as HTML: 导出为 HTML
Export as {0}: 导出为 {0}
Extension (days): 最长延期 (日)
Extension Score Penalty: 延期递交扣分规则
Failed to join the domain. You are already a member.: 加入域失败,您已是该域的成员。
+1 -2
View File
@@ -299,8 +299,7 @@ Evaluated difficulty: 평가된 난이도
expand: 확장
Expire: 만료
Export All Code: 모든 코드 내보내기
Export as CSV: CSV로 내보내기
Export as HTML: HTML로 내보내기
Export as {0}: '{0}로 내보내기'
Extension (days): 추가 (날짜)
Extension Score Penalty: 추가 패널티
Failed to join the domain. You are already a member.: 그룹 참여 실패. 이미 참여함.
+13 -10
View File
@@ -73,6 +73,7 @@ All Homeworks: 所有作业
All Languages: 所有语言
All Submissions: 所有递交
All Training Plans: 所有训练计划
All Users: 所有用户
All: 全部
Allow to maintain this contest: 允许管理此比赛
Allow user view others code after contest: 允许用户赛后查看其他人的代码
@@ -84,16 +85,16 @@ Any user is allowed to join this domain: 任意用户都可以加入此域
API: API
Argument {0} is invalid.: 非法的参数 {0} 。
Arguments: 参数
Assign: 分配给
Assign User or Group: 分配给用户或小组
Assign: 分配给
Assignment: 作业
At least 4 characters: 至少 4 个字符
Attend Contest: 参加比赛
Attend contests: 参加比赛
Attended: 已参加
author: 作者
Auto Read Tasks: 自动识别任务
Auto hide problems during the contest: 在比赛过程中自动隐藏题目
Auto Read Tasks: 自动识别任务
Basic Info: 基础信息
Be Copied: 被复制
Begin at: 开始于
@@ -136,6 +137,7 @@ Claimed: 已认领
Clear Marks: 清除标记
Click here to chat with me: 点击这里与我聊天
click to add: 点击添加
Clone: 复制
CLOSE: 关闭
Code blocks: 代码区块
Code language: 代码语言
@@ -164,16 +166,16 @@ Contact: 联系
Content copied to clipboard!: 内容已复制到剪贴板!
content: 内容
Content: 内容
Contest Maintainer: 比赛管理员
Contest scoreboard is not visible.: 当前比赛成绩表隐藏,暂不可显示。
Contest Scoreboard: 比赛成绩表
Contest Settings: 比赛设置
contest_create: 创建比赛
contest_detail_problem_submit: 递交比赛题目
contest_edit: 编辑比赛
contest_main: 比赛
contest_scoreboard: 比赛成绩表
Contest: 比赛
Contest Maintainer: 比赛管理员
Contest Settings: 比赛设置
Continue: 继续
Contributed Problems: 贡献的题目
Contributions: 贡献
@@ -335,8 +337,7 @@ Exit: 退出
expand: 展开
Expire: 过期
Export All Code: 导出所有代码
Export as CSV: 导出为 CSV
Export as HTML: 导出为 HTML
Export as {0}: 导出为 {0}
Extension (days): 最长延期 (日)
Extension Score Penalty: 延期递交扣分规则
Extra Files Config: 额外文件设置
@@ -459,7 +460,7 @@ LaTeX Expressions: LaTeX 表达式
Learn More: 了解更多
Leave blank to use numeric pid.: 留空来使用数字题号。
Light: 亮色
Limit user in N hours finish contest: 限制用户在N小时内完成比赛
Limit user to finish contest within N hours: 限制用户在N小时内完成比赛
Limitations: 限制
Links: 链接
List View: 列表视图
@@ -517,7 +518,6 @@ Nav Logo Dark: 左上角小图标(暗)
Nav Logo Dark@2x: 左上角图标(暗)(大)
Nav Logo Light: 左上角图标(亮)
Nav Logo Light@2x: 左上角图标(亮)(大)
Need Invitation Code: 需要邀请码
Network error: 网络错误
Never expire: 从不过期
New dataset: 新测试数据
@@ -592,8 +592,8 @@ perm_problem_solution: 题解
perm_problem: 题库
perm_record: 记录
perm_training: 训练
Permission: 权限
Permission Control: 权限控制
Permission: 权限
Permissions: 权限
Pick a problem randomly based on current filter: 根据当前过滤条件随机选择一道题
Pin: 置顶
@@ -658,6 +658,7 @@ QQ Visibility: QQ 可见性
Quit Scratchpad: 退出在线编程模式
Quote: 引用
Rank: 排名
Ranked Users: 排名用户
ranking: 排名
Read data of own problems: 读取自己题目的数据
Read data of problem: 读取题目数据
@@ -697,6 +698,7 @@ Reply problem solutions: 回复题解
reply: 回复
Reply: 回复
Report: 举报
Require Invitation Code: 需要邀请码
required: 必填
Reset Password or Find Username: 重置密码或找回用户名
Reset Password: 重置密码
@@ -780,6 +782,7 @@ Sort by: 排序
Source type: 来源类型
Star Topic: 收藏讨论
Star: 收藏
Starred Users: 关注用户
Start at: 开始于
Statistics: 统计
Status is hidden: 状态已隐藏
@@ -927,8 +930,8 @@ View problem solutions: 查看题解
View Problem: 查看题目
View problems: 查看题目
View this domain: 查看此域
View Training: 查看训练计划
View training plans: 查看训练计划
View Training: 查看训练计划
View: 查看
Visible to registered users: 对注册用户可见
Visit: 查看
@@ -23,12 +23,12 @@ const page = new NamedPage(['contest_edit', 'contest_create', 'homework_create',
const endAt = moment(`${beginAtDate} ${beginAtTime}`).add(+duration, 'hours').toDate();
if (endAt) $('[name="endAt"]').val(moment(endAt).format('YYYY-MM-DD HH:mm'));
});
$('[name="authorize"]').removeAttr('disabled').on('change', () => {
const authorized = $('[name="authorize"]').val();
$('.authorize-settings input').attr('disabled', 'disabled');
$('.authorize-settings').hide();
$(`.authorize--${authorized} input`).removeAttr('disabled');
$(`.authorize--${authorized}`).show();
$('[name="permission"]').removeAttr('disabled').on('change', () => {
const type = $('[name="permission"]').val();
$('[data-perm] input').attr('disabled', 'disabled');
$('[data-perm]').hide();
$(`[data-perm="${type}"] input`).removeAttr('disabled');
$(`[data-perm="${type}"]`).show();
}).trigger('change');
if (pagename.endsWith('edit')) {
let confirmed = false;
@@ -30,8 +30,8 @@ const page = new NamedPage('contest_scoreboard', () => {
$('.data-table tbody tr').hide();
read().forEach((uid) => $(`.star.user--${uid}`).closest('tr').show());
} else {
$('.data-table tbody tr').hide();
$('.rank--unrank').closest('tr').show();
$('.data-table tbody tr').show();
$('.rank--unrank').closest('tr').hide();
}
});
});
@@ -93,18 +93,18 @@
<div class="row">
{{ form.form_select({
columns:3,
label:'Authorize Control',
name:'authorize',
label:'Permission Control',
name:'permission',
options:{
'public': _('Public'),
'invite': _('Need Invitation Code'),
'invite': _('Require Invitation Code'),
'assign': _('Assign User or Group')
},
value: ("public" if not tdoc._code else "invite") if not tdoc.assign else "assign",
disabled:true,
row:false
}) }}
<div style="display: none" class="authorize-settings authorize--assign">
<div style="display: none" data-perm="assign">
{{ form.form_text({
columns:9,
label:'Assign',
@@ -115,7 +115,7 @@
row:false
}) }}
</div>
<div style="display: none" class="authorize-settings authorize--invite">
<div style="display: none" data-perm="invite">
{{ form.form_text({
columns:6,
label:'Invitation Code',
@@ -127,9 +127,9 @@
}) }}
{{ form.form_checkbox({
columns:3,
label:'Allow join by unrank',
label:'Allow unranked attendance',
name:'uninvite',
placeholder:_('Allow user join by unrank user without invite code'),
placeholder:_("Allow user who doesn't have a invitation code join unranked"),
value:tdoc.uninvite|default(true),
row:false
}) }}
@@ -185,7 +185,7 @@
name:'contestDuration',
placeholder:_('(leave blank if none)'),
value:tdoc.duration|default(''),
help_text:_('Limit user in N hours finish contest'),
help_text:_('Limit user to finish contest within N hours'),
disabled:true,
row:false
}) }}
@@ -16,7 +16,7 @@
<div class="section__header">
{%- for ext in ['HTML','CSV','Ghost'] -%}
<a class="button" target="_blank" href="{{ url(type + '_scoreboard_download', tid=tdoc.docId, ext=ext.toLowerCase()) }}">
<span class="icon icon-download"></span> {{ _('Export as '+ext) }}
<span class="icon icon-download"></span> {{ _('Export as {0}').format(ext) }}
</a>
{%- endfor -%}
{% if model.contest.isDone(tdoc) and tdoc.lockAt and handler.user.own(tdoc) and not tdoc.unlocked %}
@@ -30,8 +30,8 @@
<div class="section__tools">
<select class="select filter" name="list">
<option value="all">{{ _('All Users') }}</option>
<option value="star">{{ _('Stared Users') }}</option>
<option value="unrank">{{ _('Unrank Users') }}</option>
<option value="star">{{ _('Starred Users') }}</option>
<option value="rank">{{ _('Ranked Users') }}</option>
</select>
</div>
</div>