From 5a4d8c7f20b8bae2358ebff138229ecd3018215c Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 18 Jan 2022 17:49:53 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- options/locale/locale_zh-CN.ini | 1 + templates/base/head_navbar_fluid.tmpl | 2 +- templates/base/head_navbar_home.tmpl | 2 +- templates/base/head_navbar_pro.tmpl | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 874e4446b..01cae4e2c 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -2707,6 +2707,7 @@ error.unit_not_allowed=您没有权限访问此项目单元 head.community=启智社区 head.project=项目 head.openi=启智项目 +head.openi.repo = 启智项目 head.dataset=数据集 foot.council=理事会 foot.technical_committee=技术委员会 diff --git a/templates/base/head_navbar_fluid.tmpl b/templates/base/head_navbar_fluid.tmpl index f364518cc..7cc844b76 100644 --- a/templates/base/head_navbar_fluid.tmpl +++ b/templates/base/head_navbar_fluid.tmpl @@ -42,7 +42,7 @@ {{if .IsOperator}} {{.i18n.Tr "explore.data_analysis"}} {{end}} - {{.i18n.Tr "custom.head.openi"}} + {{.i18n.Tr "custom.head.openi.repo"}} {{else if .IsLandingPageHome}} diff --git a/templates/base/head_navbar_home.tmpl b/templates/base/head_navbar_home.tmpl index 539b8bc21..7e073adb6 100644 --- a/templates/base/head_navbar_home.tmpl +++ b/templates/base/head_navbar_home.tmpl @@ -34,7 +34,7 @@ {{if .IsOperator}} {{.i18n.Tr "explore.data_analysis"}} {{end}} - {{.i18n.Tr "custom.head.openi"}} + {{.i18n.Tr "custom.head.openi.repo"}} {{else if .IsLandingPageHome}} diff --git a/templates/base/head_navbar_pro.tmpl b/templates/base/head_navbar_pro.tmpl index 45b1e7925..584ab9d5f 100644 --- a/templates/base/head_navbar_pro.tmpl +++ b/templates/base/head_navbar_pro.tmpl @@ -44,7 +44,7 @@ {{if .IsOperator}} {{.i18n.Tr "explore.data_analysis"}} {{end}} - {{.i18n.Tr "custom.head.openi"}} + {{.i18n.Tr "custom.head.openi.repo"}} {{else if .IsLandingPageHome}} From f1581cc35d4bf7b158afa29703dfb2ab8cfce23f Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 18 Jan 2022 17:56:51 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- options/locale/locale_en-US.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 26fb35ed5..a22fd885c 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -259,6 +259,7 @@ organizations = Organizations images = Cloudbrain Mirror search = Search code = Code +data_analysis=Digital Bulletin Board (test) repo_no_results = No matching repositories found. dataset_no_results = No matching datasets found. user_no_results = No matching users found. From 8bc922b8ccfc659bda5191618cafc262597550ae Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 20 Jan 2022 16:03:33 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- options/locale/locale_en-US.ini | 1 + public/home/home.js | 2 +- templates/base/head_navbar.tmpl | 2 +- templates/base/head_navbar_fluid.tmpl | 2 +- templates/base/head_navbar_home.tmpl | 2 +- templates/base/head_navbar_pro.tmpl | 2 +- templates/home.tmpl | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index a22fd885c..c5fd0291f 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -258,6 +258,7 @@ users = Users organizations = Organizations images = Cloudbrain Mirror search = Search +search_pro=Search projects code = Code data_analysis=Digital Bulletin Board (test) repo_no_results = No matching repositories found. diff --git a/public/home/home.js b/public/home/home.js index e3b0387d4..d7eb5ab04 100644 --- a/public/home/home.js +++ b/public/home/home.js @@ -288,7 +288,7 @@ var repoAndOrgEN={ "1":"Repository", "2":"Member ", "3":"Team", - "11":"Repositorys", + "11":"Repositories", "22":"Members ", "31":"Teams", "4":" hour ago", diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index d8d9d50f2..39caa252a 100755 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -73,7 +73,7 @@ {{if .IsOperator}} {{.i18n.Tr "explore.data_analysis"}} {{end}} - {{.i18n.Tr "custom.head.openi"}} + {{.i18n.Tr "custom.head.openi.repo"}} {{else if .IsLandingPageExplore}} diff --git a/templates/base/head_navbar_fluid.tmpl b/templates/base/head_navbar_fluid.tmpl index 7cc844b76..6628a263d 100644 --- a/templates/base/head_navbar_fluid.tmpl +++ b/templates/base/head_navbar_fluid.tmpl @@ -71,7 +71,7 @@ {{if .IsOperator}} {{.i18n.Tr "explore.data_analysis"}} {{end}} - {{.i18n.Tr "custom.head.openi"}} + {{.i18n.Tr "custom.head.openi.repo"}} {{else if .IsLandingPageExplore}} diff --git a/templates/base/head_navbar_home.tmpl b/templates/base/head_navbar_home.tmpl index 7e073adb6..a74ddffaf 100644 --- a/templates/base/head_navbar_home.tmpl +++ b/templates/base/head_navbar_home.tmpl @@ -64,7 +64,7 @@ {{if .IsOperator}} {{.i18n.Tr "explore.data_analysis"}} {{end}} - {{.i18n.Tr "custom.head.openi"}} + {{.i18n.Tr "custom.head.openi.repo"}} {{else if .IsLandingPageExplore}} diff --git a/templates/base/head_navbar_pro.tmpl b/templates/base/head_navbar_pro.tmpl index 584ab9d5f..a17c49733 100644 --- a/templates/base/head_navbar_pro.tmpl +++ b/templates/base/head_navbar_pro.tmpl @@ -74,7 +74,7 @@ {{if .IsOperator}} {{.i18n.Tr "explore.data_analysis"}} {{end}} - {{.i18n.Tr "custom.head.openi"}} + {{.i18n.Tr "custom.head.openi.repo"}} {{else if .IsLandingPageExplore}} diff --git a/templates/home.tmpl b/templates/home.tmpl index 2737afd54..19c0b1262 100755 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -38,7 +38,7 @@

{{.page_recommend_org}}

-

{{.page_recommend_org_desc}}{{.page_recommend_org_commit}}

+

{{.page_recommend_org_desc}} {{.page_recommend_org_commit}}

{{.page_recommend_org_more}}
From 2b9ff0498d0fbe0fd779c52bc9314fbf54398e8b Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 20 Jan 2022 16:32:21 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- options/locale/locale_en-US.ini | 2 +- templates/home.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index c5fd0291f..a292685cc 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -225,7 +225,7 @@ page_small_title=OpenI AI Development Cooperation Platform page_description=The one-stop collaborative development environment for AI field provides AI development pipeline integrating code development, data management, model debugging, reasoning and evaluation page_use=Use Now page_only_dynamic=Only show the dynamics of open source projects -page_recommend_org=Recommended Organization +page_recommend_org=Recommended Organizations page_recommend_org_desc=These excellent organizations are using the OpenI AI Collaboration Platform for collaborative development of projects. To show your organization here, page_recommend_org_commit=Click here to submit. page_recommend_org_more=More Organizations diff --git a/templates/home.tmpl b/templates/home.tmpl index 19c0b1262..5496aa9e1 100755 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -39,7 +39,7 @@

{{.page_recommend_org}}

{{.page_recommend_org_desc}} {{.page_recommend_org_commit}}

- {{.page_recommend_org_more}} +  {{.page_recommend_org_more}}
From 517ba35fd505618e8b2b35cdae13a53e399fae47 Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 20 Jan 2022 16:35:23 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- templates/home.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/home.tmpl b/templates/home.tmpl index 5496aa9e1..f43639a14 100755 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -39,7 +39,7 @@

{{.page_recommend_org}}

{{.page_recommend_org_desc}} {{.page_recommend_org_commit}}

-  {{.page_recommend_org_more}} + {{.page_recommend_org_more}}
@@ -57,7 +57,7 @@

{{.page_recommend_repo}}

-

{{.page_recommend_repo_desc}}{{.page_recommend_repo_commit}}{{.page_recommend_repo_go}} {{.page_recommend_repo_more}}

+

{{.page_recommend_repo_desc}} {{.page_recommend_repo_commit}}{{.page_recommend_repo_go}} {{.page_recommend_repo_more}}