diff --git a/packages/ui-default/locales/en.yaml b/packages/ui-default/locales/en.yaml index f5cb64e69..9b4e5b6b8 100644 --- a/packages/ui-default/locales/en.yaml +++ b/packages/ui-default/locales/en.yaml @@ -19,6 +19,7 @@ perm_problem_solution: Problem Solutions perm_problem: Problems perm_record: Records perm_training: Trainings +preferredPrefix_hint: This is used for re-organizing problem IDs. For example, if the ID of the problem in the problemset are P1001, P1002, P1003, and you set "T" in this option, those problem will be imported with ID T1001, T1002 and T1003. problem_create: Problem Create problem_edit: Problem Edit problem_import: Import Problem diff --git a/packages/ui-default/locales/zh.yaml b/packages/ui-default/locales/zh.yaml index 9d6477add..666a1151b 100644 --- a/packages/ui-default/locales/zh.yaml +++ b/packages/ui-default/locales/zh.yaml @@ -482,6 +482,7 @@ Last Update At: 最后活动时间 LaTeX Expressions: LaTeX 表达式 Learn More: 了解更多 Leave blank to use numeric pid.: 留空来使用数字题号。 +Leave empty for default: 留空以使用默认 Ledo: 乐多 Light: 亮色 Limit user to finish contest within N hours: 限制用户在N小时内完成比赛 @@ -635,6 +636,7 @@ Please select at least one role to perform this operation.: 请选择至少一 Please select at least one user to perform this operation.: 请选择至少一个用户来进行操作。 Please wait until contest host unfreeze the scoreboard.: 请等待比赛主办方解除封榜。 Preference Settings: 偏好设置 +preferredPrefix_hint: 此选项用于重排题号。例如,若题目包中所给的题号分别是 P1001, P1002, P1003,而此选项填写了 T,则导入后三道题的题号分别为 T1001, T1002 和 T1003。 Preparing Upload...: 准备上传... Pretest Data: 自测数据 Pretest Your Code: 使用自定义数据测试 diff --git a/packages/ui-default/templates/problem_import.html b/packages/ui-default/templates/problem_import.html index 12a331122..7de1a035d 100644 --- a/packages/ui-default/templates/problem_import.html +++ b/packages/ui-default/templates/problem_import.html @@ -5,12 +5,34 @@
{{ _('With this feature, you can import problems that you can view from a site to here. Their title, content, tags and categories will be imported.') }}
+{{ _('preferredPrefix_hint') }}