diff --git a/web/app/controllers/problem.php b/web/app/controllers/problem.php index 36e3696..bf95e1f 100644 --- a/web/app/controllers/problem.php +++ b/web/app/controllers/problem.php @@ -307,7 +307,25 @@ if (UOJContest::cur()) { = UOJLocale::get('problems::memory limit') ?>: = $memory_limit ? "$memory_limit MB" : "N/A" ?> -
submission_requirement
, so it cannot be submitted temporarily.',
+ 'the problem was used in the following contest' => 'The problem was used in the following contest',
];
diff --git a/web/app/locale/problems/zh-cn.php b/web/app/locale/problems/zh-cn.php
index 17606c2..ff53f9a 100644
--- a/web/app/locale/problems/zh-cn.php
+++ b/web/app/locale/problems/zh-cn.php
@@ -63,5 +63,6 @@ return [
'test data' => '测试数据',
'attachments download' => '附件下载',
'resources' => '相关资源',
- 'cannot submit' => '当前题目未配置 submission_requirement
,暂时无法提交。'
+ 'cannot submit' => '当前题目未配置 submission_requirement
,暂时无法提交。',
+ 'the problem was used in the following contest' => '该题目被以下比赛使用',
];