Browse Source

Merge pull request '#1321 英文翻译问题解决。' (#1409) from zouap_user into V20220125

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1409
Reviewed-by: lewis <747342561@qq.com>
pull/1420/head
lewis 3 years ago
parent
commit
7feffe7fa9
8 changed files with 14 additions and 11 deletions
  1. +3
    -1
      options/locale/locale_en-US.ini
  2. +1
    -0
      options/locale/locale_zh-CN.ini
  3. +1
    -1
      public/home/home.js
  4. +1
    -1
      templates/base/head_navbar.tmpl
  5. +2
    -2
      templates/base/head_navbar_fluid.tmpl
  6. +2
    -2
      templates/base/head_navbar_home.tmpl
  7. +2
    -2
      templates/base/head_navbar_pro.tmpl
  8. +2
    -2
      templates/home.tmpl

+ 3
- 1
options/locale/locale_en-US.ini View File

@@ -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
@@ -258,7 +258,9 @@ 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.
dataset_no_results = No matching datasets found.
user_no_results = No matching users found.


+ 1
- 0
options/locale/locale_zh-CN.ini View File

@@ -2707,6 +2707,7 @@ error.unit_not_allowed=您没有权限访问此项目单元
head.community=启智社区
head.project=项目
head.openi=启智项目
head.openi.repo = 启智项目
head.dataset=数据集
foot.council=理事会
foot.technical_committee=技术委员会


+ 1
- 1
public/home/home.js View File

@@ -288,7 +288,7 @@ var repoAndOrgEN={
"1":"Repository",
"2":"Member ",
"3":"Team",
"11":"Repositorys",
"11":"Repositories",
"22":"Members ",
"31":"Teams",
"4":" hour ago",


+ 1
- 1
templates/base/head_navbar.tmpl View File

@@ -73,7 +73,7 @@
{{if .IsOperator}}
<a class="item" href="{{AppSubUrl}}/explore/data_analysis">{{.i18n.Tr "explore.data_analysis"}}</a>
{{end}}
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a>
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi.repo"}}</a>
</div>
</div>
{{else if .IsLandingPageExplore}}


+ 2
- 2
templates/base/head_navbar_fluid.tmpl View File

@@ -42,7 +42,7 @@
{{if .IsOperator}}
<a class="item" href="{{AppSubUrl}}/explore/data_analysis">{{.i18n.Tr "explore.data_analysis"}}</a>
{{end}}
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a>
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi.repo"}}</a>
</div>
</div>
{{else if .IsLandingPageHome}}
@@ -71,7 +71,7 @@
{{if .IsOperator}}
<a class="item" href="{{AppSubUrl}}/explore/data_analysis">{{.i18n.Tr "explore.data_analysis"}}</a>
{{end}}
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a>
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi.repo"}}</a>
</div>
</div>
{{else if .IsLandingPageExplore}}


+ 2
- 2
templates/base/head_navbar_home.tmpl View File

@@ -34,7 +34,7 @@
{{if .IsOperator}}
<a class="item" href="{{AppSubUrl}}/explore/data_analysis">{{.i18n.Tr "explore.data_analysis"}}</a>
{{end}}
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a>
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi.repo"}}</a>
</div>
</div>
{{else if .IsLandingPageHome}}
@@ -64,7 +64,7 @@
{{if .IsOperator}}
<a class="item" href="{{AppSubUrl}}/explore/data_analysis">{{.i18n.Tr "explore.data_analysis"}}</a>
{{end}}
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a>
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi.repo"}}</a>
</div>
</div>
{{else if .IsLandingPageExplore}}


+ 2
- 2
templates/base/head_navbar_pro.tmpl View File

@@ -44,7 +44,7 @@
{{if .IsOperator}}
<a class="item" href="{{AppSubUrl}}/explore/data_analysis">{{.i18n.Tr "explore.data_analysis"}}</a>
{{end}}
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a>
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi.repo"}}</a>
</div>
</div>
{{else if .IsLandingPageHome}}
@@ -74,7 +74,7 @@
{{if .IsOperator}}
<a class="item" href="{{AppSubUrl}}/explore/data_analysis">{{.i18n.Tr "explore.data_analysis"}}</a>
{{end}}
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi"}}</a>
<a class="item" href="{{AppSubUrl}}/OpenI">{{.i18n.Tr "custom.head.openi.repo"}}</a>
</div>
</div>
{{else if .IsLandingPageExplore}}


+ 2
- 2
templates/home.tmpl View File

@@ -38,7 +38,7 @@
<div class="ui stackable grid">
<div class="sixteen wide tablet four wide computer column homeorg-tit">
<h2>{{.page_recommend_org}}</h2>
<p><span class="ui text grey">{{.page_recommend_org_desc}}</span><a href="{{.RecommendURL}}">{{.page_recommend_org_commit}}</a></p>
<p><span class="ui text grey">{{.page_recommend_org_desc}}&nbsp;</span><a href="{{.RecommendURL}}">{{.page_recommend_org_commit}}</a></p>
<a href="{{AppSubUrl}}/explore/organizations" class="circular ui primary basic button">{{.page_recommend_org_more}} <i class="arrow circle right icon"></i></a>
</div>
<div class="sixteen wide tablet twelve wide computer column">
@@ -57,7 +57,7 @@
<div class="leftline02-2"></div>
<div class="ui center homepro-tit am-mb-20">
<h2>{{.page_recommend_repo}}</h2>
<p><span class="ui text grey">{{.page_recommend_repo_desc}}</span><a href="{{.RecommendURL}}">{{.page_recommend_repo_commit}}</a>{{.page_recommend_repo_go}}&nbsp;<a href="{{AppSubUrl}}/explore/">{{.page_recommend_repo_more}}</a></p>
<p><span class="ui text grey">{{.page_recommend_repo_desc}}&nbsp;</span><a href="{{.RecommendURL}}">{{.page_recommend_repo_commit}}</a>{{.page_recommend_repo_go}}&nbsp;<a href="{{AppSubUrl}}/explore/">{{.page_recommend_repo_more}}</a></p>
</div>

<div class="homepro-list">


Loading…
Cancel
Save