From f7ada1132460da5ecabaf6c65e1947ed76e088e6 Mon Sep 17 00:00:00 2001 From: wangjr Date: Wed, 16 Feb 2022 15:19:14 +0800 Subject: [PATCH] =?UTF-8?q?fix-1456=20=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- options/locale/locale_en-US.ini | 3 +++ options/locale/locale_zh-CN.ini | 3 +++ templates/org/select_pro.tmpl | 25 +++++++++++++------------ 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index b3ede3b060..148f07deee 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2078,6 +2078,9 @@ custom_select_courses = Customize selected courses recommend_remain_pro = Remain save_fail_tips = The upper limit is exceeded select_again = Select more than 9, please select again! +custom_select_projects = Customize selected projects +customize = Customize +selected_project=Selected Projects form.name_reserved = The organization name '%s' is reserved. form.name_pattern_not_allowed = The pattern '%s' is not allowed in an organization name. diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 86e88184c6..b527ef0051 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -2088,6 +2088,9 @@ custom_select_courses = 自定义精选课程 recommend_remain_pro = 还能推荐 save_fail_tips = 最多可选9个,保存失败 select_again = 选择超过9个,请重新选择! +custom_select_projects = 自定义精选项目 +customize = 自定义 +selected_project=精选项目 form.name_reserved=组织名称 '%s' 是被保留的。 form.name_pattern_not_allowed=组织名称中不允许使用 "%s"。 diff --git a/templates/org/select_pro.tmpl b/templates/org/select_pro.tmpl index 70b2a9bb31..5105fa40e7 100755 --- a/templates/org/select_pro.tmpl +++ b/templates/org/select_pro.tmpl @@ -70,11 +70,11 @@
{{if .tags}} - 精选项目 + {{.i18n.Tr "org.selected_project"}} {{if .IsOrganizationOwner}} - {{svg "octicon-gear" 16}}自定义 + {{svg "octicon-gear" 16}}{{.i18n.Tr "org.customize"}} {{end}} {{end}} @@ -137,10 +137,10 @@