mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: update translation & delete a strange button (#178)
This commit is contained in:
1 parent
0676cc0a27
commit
689c4cba6d
8 files changed
+52
-14
No files matched your search
@@ -14,6 +14,7 @@ Invalid judge_extra_files config.: 无效的 judge_extra_files 配置。
|
||||
Invalid user_extra_files config.: 无效的 user_extra_files 配置。
|
||||
Max testcases per problem: 单题最多测试点数量
|
||||
Problem data not found.: 没有找到测试数据。
|
||||
Re-Run testcase if time-limit-exceeded (max per submission): 每个提交最多重测 TLE 测试点的次数
|
||||
Read {0}, expect {1}.: 读取到 {0},应为 {1}。
|
||||
Retry delay sec: 重试间隔(秒)
|
||||
Runner parallelism: 评测机运行进程数
|
||||
@@ -21,6 +22,7 @@ Sandbox Error: 沙箱错误
|
||||
Sandbox Host: 沙箱地址
|
||||
Standard answer longer than user output.: 标准输出比选手输出长。
|
||||
Stdout/Stderr size: 标准输出/错误流输出大小限制
|
||||
Strict Memory Mode: 严格内存限制
|
||||
Temp directory: 临时目录
|
||||
Testdata cache directory: 测试数据缓存目录
|
||||
Testdata configuration incorrect.: 题目配置错误。
|
||||
|
||||
@@ -66,7 +66,9 @@ All Submissions: 所有递交
|
||||
All Training Plans: 所有训练计划
|
||||
All: 全部
|
||||
Allow builtin-login: 启用内置登录
|
||||
Allow using gravatar:email qq:id github:name format.: 允许使用 gravatar:email,qq:id,github:name 格式。
|
||||
Allow users send messages: 允许用户使用私信
|
||||
Allow using gravatar:email qq:id github:name url:link format.: 允许使用 gravatar:email,qq:id,github:name,url:link 格式。
|
||||
Allowed langs: 域内允许使用的提交语言
|
||||
Always granted all privileges: 总是拥有所有权限
|
||||
An error has occurred.: 发生了一个错误。
|
||||
An example of dataset: 测试数据集的一个例子
|
||||
@@ -320,10 +322,10 @@ Extension (days): 最长延期 (日)
|
||||
Extension Score Penalty: 延期递交扣分规则
|
||||
Failed to join the domain. You are already a member.: 加入域失败,您已是该域的成员。
|
||||
Feedback: 反馈
|
||||
Field {0} or {1} validation failed.: 字段 {0} 或 {1} 验证失败。
|
||||
Field {0} or {1} validation failed. ({2}): 字段 {0} 或 {1} 验证失败。 ({2})
|
||||
Field {0} validation failed.: 字段 {0} 验证失败。
|
||||
Field {0} or {1} validation failed.: 字段 {0} 或 {1} 验证失败。
|
||||
Field {0} validation failed. ({2}): 字段 {0} 验证失败。 ({2})
|
||||
Field {0} validation failed.: 字段 {0} 验证失败。
|
||||
Filter: 过滤
|
||||
Footer: 页脚
|
||||
Forgot Password and/or Username: 忘记密码和/或用户名
|
||||
@@ -353,6 +355,7 @@ home_files: 我的文件
|
||||
home_messages: 站内消息
|
||||
home_preference: 偏好设置
|
||||
home_security: 安全设置
|
||||
Homepage Config: 主页设置
|
||||
homepage: 首页
|
||||
Homework Introduction: 作业介绍
|
||||
Homework scoreboard is not visible.: 目前无法查看作业成绩表。
|
||||
@@ -452,6 +455,12 @@ Manage: 管理
|
||||
Manager: 管理
|
||||
Mark Green: 标绿
|
||||
Mark Yellow: 标黄
|
||||
Max files for user: 单用户最大文件数量
|
||||
Max files per problem: 单题最大文件数量
|
||||
Max files size per problem: 单题最大总文件大小
|
||||
Max pretest count per minute: 每分钟自测数量限制
|
||||
Max submission count per minute: 每分钟提交数量限制
|
||||
Max total file size for user: 单用户最大总文件大小
|
||||
Memory Cost: 内存占用
|
||||
Memory Info: 内存信息
|
||||
Memory: 内存
|
||||
@@ -687,6 +696,7 @@ setting_session: Session 设置
|
||||
setting_smtp: SMTP 设置
|
||||
setting_usage: 使用偏好
|
||||
Settings: 设置
|
||||
Share problem with domain (* for any): 允许引用该域题目的域(* 表示所有域均允许)
|
||||
Share: 分享
|
||||
She: 她
|
||||
Show all tags: 显示所有标签
|
||||
@@ -821,6 +831,7 @@ Users: 用户
|
||||
Using your {0} universal account: 使用您的 {0} 通用账户
|
||||
Valid for registered users who are not members of the domain: 对域外注册用户有效
|
||||
Valid for visitors: 对未登录的游客有效
|
||||
Verify register email: 注册需邮件验证
|
||||
Version: 版本
|
||||
View contest scoreboard: 查看比赛成绩表
|
||||
View Contest: 查看比赛
|
||||
|
||||
@@ -123,7 +123,7 @@ PreferenceSetting(
|
||||
|
||||
AccountSetting(
|
||||
Setting('setting_info', 'avatar', '', 'text', 'Avatar',
|
||||
'Allow using gravatar:email qq:id github:name format.'),
|
||||
'Allow using gravatar:email qq:id github:name url:link format.'),
|
||||
Setting('setting_info', 'qq', null, 'text', 'QQ'),
|
||||
Setting('setting_info', 'gender', builtin.USER_GENDER_OTHER, builtin.USER_GENDER_RANGE, 'Gender'),
|
||||
Setting('setting_info', 'bio', null, 'markdown', 'Bio'),
|
||||
|
||||
@@ -40,6 +40,7 @@ __langname: 简体中文
|
||||
"Split by ', '.": 由“, ”或“,”分隔。
|
||||
"What's file?": 什么是文件?
|
||||
(All Problems): (所有题目)
|
||||
(leave blank if none): (若不需要则留空)
|
||||
(None): (无)
|
||||
(Not changed): 未更改
|
||||
Aborted: 已放弃
|
||||
@@ -97,6 +98,7 @@ By clicking the button, you will become a member of the domain {0}.: 点击按
|
||||
By Contest: 由比赛
|
||||
By Problem: 由题目
|
||||
By signing up a {0} universal account, you can submit code and join discussions in all online judging services provided by us.: 注册一个 {0} 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
|
||||
By Status: 由状态
|
||||
By Username / UID: 由用户名或 UID
|
||||
Calendar View: 日历视图
|
||||
Calendar: 日历
|
||||
@@ -167,6 +169,7 @@ Create Discussion in {0}: 在 {0} 下创建讨论
|
||||
Create Discussion: 创建讨论
|
||||
Create discussions: 创建讨论
|
||||
Create Domain: 创建域
|
||||
Create File: 创建文件
|
||||
Create homework: 创建作业
|
||||
Create Homework: 创建作业
|
||||
Create Link: 创建链接
|
||||
@@ -315,6 +318,7 @@ Filename: 文件名
|
||||
Files: 文件
|
||||
Filter: 过滤
|
||||
Footer: 页脚
|
||||
Footnote: 脚注
|
||||
Forgot Password and/or Username: 忘记密码和/或用户名
|
||||
Forgot password or username?: 忘记密码或者用户名?
|
||||
Formula blocks: 公式区块
|
||||
@@ -329,6 +333,7 @@ Help: 帮助
|
||||
Hidden: 隐藏
|
||||
Hide all tags: 隐藏所有标签
|
||||
Hide categorical tags: 隐藏分类标签
|
||||
Hide tags: 隐藏标签
|
||||
Highlight discussions: 高亮讨论
|
||||
Highlight: 高亮
|
||||
Hint: 提示
|
||||
@@ -358,6 +363,7 @@ Host: 主持人
|
||||
hour(s): 小时
|
||||
If enabled, source code will be emailed to you after the submission is accepted.: 如果启用,在您通过题目后,源代码会以 Email 的形式发送给您。
|
||||
If left blank, the built-in template of the corresponding language will be used.: 若留空,则将使用对应语言的内置代码模板。
|
||||
Images With Size: 指定大小的图片
|
||||
Images: 图片
|
||||
Import from: 导入自
|
||||
Import problem from syzoj.: 从运行 syzoj 系统的 OJ 导入题目。
|
||||
@@ -464,6 +470,7 @@ New Password: 新密码
|
||||
New Training Plan: 新训练计划
|
||||
New: 创建
|
||||
No additional file at current: 当前没有附加文件
|
||||
No additional file at current.: 暂无附加文件。
|
||||
No comments so far...: 目前还没有评论...
|
||||
no discussion yet...: 目前没有讨论…
|
||||
No Permission to Attend Contest: 您没有权限参加比赛
|
||||
@@ -528,6 +535,7 @@ perm_training: 训练
|
||||
Permission: 权限
|
||||
Permissions: 权限
|
||||
Pick a problem randomly based on current filter: 根据当前过滤条件随机选择一道题
|
||||
Pin: 置顶
|
||||
Plan: 计划
|
||||
Please attend contest to see the problems.: 请参加比赛来查看题目。
|
||||
Please claim the assignment to see the problems.: 认领作业后才可以查看作业内容。
|
||||
@@ -660,6 +668,7 @@ Send Message: 发送站内信息
|
||||
Send Password Reset Email: 发送密码重置邮件
|
||||
Send Verification Email: 发送验证邮件
|
||||
Send: 发送
|
||||
Seperated with ',': 用 ',' 分隔
|
||||
Service Status: 服务状态
|
||||
Set Role: 设置角色
|
||||
Set Roles for Selected User: 设置所选用户的角色
|
||||
@@ -806,6 +815,7 @@ Using your {0} universal account: 使用您的 {0} 通用账户
|
||||
Valid for registered users who are not members of the domain: 对域外注册用户有效
|
||||
Valid for visitors: 对未登录的游客有效
|
||||
Version: 版本
|
||||
Videos: 视频
|
||||
View contest scoreboard: 查看比赛成绩表
|
||||
View Contest: 查看比赛
|
||||
View contests: 查看比赛
|
||||
|
||||
@@ -5,6 +5,22 @@
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="medium-9 columns">
|
||||
<div class="section">
|
||||
<div class="section__header" style="align: center">
|
||||
<h1 class="section__title">{{ tdoc.title }}</h1>
|
||||
</div>
|
||||
<div class="section__body">
|
||||
<span class="bp3-tag bp3-large bp3-minimal problem__tag-item">{{ _('Status') }}: {{ _(model.contest.statusText(tdoc)) }}</span>
|
||||
<span class="bp3-tag bp3-large bp3-minimal problem__tag-item bp3-icon-standard bp3-icon-book">{{ _(model.contest.RULES[tdoc.rule].TEXT) }}</span>
|
||||
<span class="bp3-tag bp3-large bp3-minimal problem__tag-item">{{ _('Start at') }}: {{ contest.render_time(tdoc.beginAt) }}</span>
|
||||
<span class="bp3-tag bp3-large bp3-minimal problem__tag-item">{{ _('End at') }}: {{ contest.render_time(tdoc.endAt) }}</span>
|
||||
<span class="bp3-tag bp3-large bp3-minimal problem__tag-item">{{ _('Host') }}: {{ user.render_inline(udict[tdoc.owner], badge=false) }}</span>
|
||||
<span class="bp3-tag bp3-large bp3-minimal problem__tag-item">{{ _('Partic.') }}: {{ tdoc['attend']|default(0) }}</span>
|
||||
{% if attended %}
|
||||
<span class="bp3-tag bp3-large bp3-minimal problem__tag-item bp3-icon-standard bp3-icon-tick">{{ _('Attended') }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="section__body typo">
|
||||
{{ tdoc['content']|markdown|safe }}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
}) }}
|
||||
{{ form.form_text({
|
||||
columns:3,
|
||||
label:'Invitation code',
|
||||
label:'Invitation Code',
|
||||
name:'code',
|
||||
placeholder:_('(leave blank if none)'),
|
||||
value:tdoc._code|default(''),
|
||||
|
||||
@@ -96,20 +96,20 @@
|
||||
</div>
|
||||
<div class="section__body typo">
|
||||
<dl class="large horizontal">
|
||||
<dt>{{ _('Status') }}</dt><dd>{{ _(model.contest.statusText(tdoc)) }}</dd>
|
||||
<dt>{{ _('Status') }}</dt>
|
||||
<dd>
|
||||
{{ _(model.contest.statusText(tdoc)) }}
|
||||
{% if attended %}
|
||||
({{ _('Attended') }})
|
||||
{% endif %}
|
||||
</dd>
|
||||
<dt>{{ _('Rule') }}</dt><dd>{{ model.contest.RULES[tdoc.rule].TEXT }}</dd>
|
||||
<dt>{{ _('Problem') }}</dt><dd>{{ tdoc.pids.length }}</dd>
|
||||
<dt>{{ _('Start at') }}</dt><dd>{{ contest.render_time(tdoc.beginAt) }}</dd>
|
||||
<dt>{{ _('End at') }}</dt><dd>{{ contest.render_time(tdoc.endAt) }}</dd>
|
||||
<dt>{{ _('Duration') }}</dt><dd>{{ contest.render_duration(tdoc) }} {{ _('hour(s)') }}</dd>
|
||||
<dt>{{ _('Host') }}</dt><dd>{{ user.render_inline(owner_udoc, badge=false) }}</dd>
|
||||
<dt>{{ _('Partic.') }}</dt>
|
||||
<dd>
|
||||
{{ tdoc['attend']|default(0) }}
|
||||
{% if attended %}
|
||||
({{ _('Attended') }})
|
||||
{% endif %}
|
||||
</dd>
|
||||
<dt>{{ _('Partic.') }}</dt><dd>{{ tdoc['attend']|default(0) }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
@@ -51,7 +51,6 @@
|
||||
<a href="/d/bzoj/p/{{rdoc.pid}}/file/{{loop.index}}.in?type=testdata&rid={{ rdoc._id }}">input</a>
|
||||
<a href="/d/bzoj/p/{{rdoc.pid}}/file/{{loop.index}}.out?type=testdata&rid={{ rdoc._id }}">output</a>
|
||||
{% endif %}{{ formatJudgeTexts([rcdoc.message]) if rcdoc.message else '' }}</span>
|
||||
<a class="tool-button" href="{{ url('wiki_help', anchor='status') }}"><span class="icon icon-help"></span></a>
|
||||
</td>
|
||||
<td class="col--time">{% if rcdoc['status'] == STATUS.STATUS_TIME_LIMIT_EXCEEDED or rcdoc['status'] == STATUS.STATUS_MEMORY_LIMIT_EXCEEDED or rcdoc['status'] == STATUS.STATUS_OUTPUT_LIMIT_EXCEEDED %}≥{% endif %}{{ rcdoc.time|round|int }}ms</td>
|
||||
<td class="col--memory">{% if rcdoc['status'] == STATUS.STATUS_TIME_LIMIT_EXCEEDED or rcdoc['status'] == STATUS.STATUS_MEMORY_LIMIT_EXCEEDED or rcdoc['status'] == STATUS.STATUS_OUTPUT_LIMIT_EXCEEDED %}≥{% endif %}{{ size(rcdoc.memory, 1024) }}</td>
|
||||
|
||||
Reference in new issue
Block a user