You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/ui-default/locales/zh.yaml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -223,6 +223,7 @@ Copy Selected: 复制选中
223
223
Copy WeChat Account: 复制微信号
224
224
Copy: 复制
225
225
Copyright Complaint: 版权申诉
226
+
Correction: 补题
226
227
CPU Info: CPU信息
227
228
Create a contest: 创建一个比赛
228
229
Create a Discussion: 创建一个讨论
@@ -914,6 +915,7 @@ Testdata: 测试数据
914
915
Text: 文本
915
916
The 'default' role applies to ALL REGISTERED USER.: default 角色作用于<b>所有已注册用户</b>
916
917
The contest is a flexible time contest. You need to complete the contest within a specified time after you attended.: 本场比赛采用灵活时间模式,你需要在参加后的指定时间内完成比赛。
918
+
The contest is ended. New submissions will be treated as correction submissions and will not be counted in the contest.: 比赛已经结束。新提交将被视为补题提交,不计入比赛成绩。
917
919
The group to join when user joining the domain.: 加入域时自动加入的小组。
918
920
The homework's deadline is due but in extension. You can still submit for this problem but your score will be penalized.: 作业已超过截止时间,但仍在延期时间内。您递交题目将无法获得全部分数。
919
921
The invitation code to enter to successfully join the domain. You can only use letters and numbers in the code and it should not be longer than 64 characters.: 加入此域的邀请码。您只能使用字母和数字,并且不能长于 64 个字符。
Copy file name to clipboardExpand all lines: packages/ui-default/templates/partials/problem_description.html
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,16 @@
14
14
<p>{{ _('No submission language available for this problem.') }}</p>
15
15
</blockquote>
16
16
{% endif %}
17
-
{% if tdoc and tdoc.docType == model.document.TYPE_CONTEST and model.contest.isDone(tdoc) %}
17
+
{% if tdoc and tdoc.docType == model.document.TYPE_CONTEST %}
18
+
{% if mode == 'view' %}
18
19
<blockquoteclass="note">
19
20
<p>{{ _('You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.') }}</p>
20
21
</blockquote>
22
+
{% elif mode == 'correction' %}
23
+
<blockquoteclass="note">
24
+
<p>{{ _('The contest is ended. New submissions will be treated as correction submissions and will not be counted in the contest.') }}</p>
25
+
</blockquote>
26
+
{% endif %}
21
27
{% endif %}
22
28
{% if not renderredContent %}
23
29
{% set preferredLang = handler.request.query.lang or handler.user.viewLang or handler.session.viewLang %}
0 commit comments