From 38179e898738d778eebf2a36f7564078915c6fec Mon Sep 17 00:00:00 2001 From: undefined Date: Tue, 7 Jan 2025 19:51:17 +0800 Subject: [PATCH] ui: add show source button --- packages/ui-default/locales/zh.yaml | 1 + packages/ui-default/templates/problem_files.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/ui-default/locales/zh.yaml b/packages/ui-default/locales/zh.yaml index 0605a32c0..9e030a31a 100644 --- a/packages/ui-default/locales/zh.yaml +++ b/packages/ui-default/locales/zh.yaml @@ -861,6 +861,7 @@ Sorry, there are no users in this domain.: 对不起,此域中没有用户。 Sorry: 对不起 Sort by: 排序 Source type: 来源类型 +Source: 来源 Standard mode: 标准模式 Standard Program: 标准程序 Star Topic: 收藏讨论 diff --git a/packages/ui-default/templates/problem_files.html b/packages/ui-default/templates/problem_files.html index 8aae9d814..2ff399a7a 100644 --- a/packages/ui-default/templates/problem_files.html +++ b/packages/ui-default/templates/problem_files.html @@ -11,6 +11,8 @@ {{ _('Config') }} + {% else %} + {{ _('Source') }} {% endif %}