Browse Source

first fix bug

pull/165/head
zhoupzh 3 years ago
parent
commit
942deff260
3 changed files with 10 additions and 6 deletions
  1. +5
    -2
      options/locale/locale_en-US.ini
  2. +3
    -2
      options/locale/locale_zh-CN.ini
  3. +2
    -2
      templates/repo/create.tmpl

+ 5
- 2
options/locale/locale_en-US.ini View File

@@ -1,4 +1,5 @@
home = Home
index = Home
dashboard = Dashboard
explore = Explore
datasets = Datasets
@@ -702,6 +703,7 @@ delete= delete
owner = Owner
repo_name = Repository Name
repo_name_helper = Good repository names use short, memorable and unique keywords.
repo_owner_helper = Some organizations may not show up in the dropdown due to a maximum repository count limit.
repo_size = Repository Size
template = Template
template_select = Select a template.
@@ -1817,6 +1819,7 @@ org_full_name_holder = Organization Full Name
org_name_helper = Organization names should be short and memorable.
create_org = Create Organization
repo_updated = Updated
home = Home
people = People
teams = Teams
lower_members = members
@@ -2482,9 +2485,9 @@ error.unit_not_allowed = You are not allowed to access this repository section.

[custom]
head.community = Community
head.project = Project
head.project = Repositories
head.openi = OpenI
head.dataset = Dataset
head.dataset = Datasets
foot.council = Council
foot.technical_committee = Technical Committee
foot.join = Join OpenI


+ 3
- 2
options/locale/locale_zh-CN.ini View File

@@ -1,5 +1,5 @@
home=个人中心
index=首页
index=个人中心
dashboard=个人中心
explore=探索
datasets=数据集
@@ -704,6 +704,7 @@ delete=删除
owner=拥有者
repo_name=项目名称
repo_name_helper=好的存储库名称使用简短、深刻和独特的关键字。
repo_owner_helper = 由于最大存储库数量限制,某些组织名称可能不会显示在下拉列表中。
repo_size=项目大小
template=模板
template_select=选择模板
@@ -2483,7 +2484,7 @@ error.unit_not_allowed=您没有权限访问此项目单元

[custom]
head.community=启智社区
head.project=所有项目
head.project=项目
head.openi=启智项目
head.dataset=数据集
foot.council=理事会


+ 2
- 2
templates/repo/create.tmpl View File

@@ -31,13 +31,13 @@
{{end}}
</div>
</div>
<span class="help">Some organizations may not show up in the dropdown due to a maximum repository count limit</span>
<span class="help">{{.i18n.Tr "repo.repo_owner_helper"}}</span>
</div>

<div class="inline required field {{if .Err_RepoName}}error{{end}}">
<label for="repo_name">{{.i18n.Tr "repo.repo_name"}}</label>
<input id="repo_name" name="repo_name" value="{{.repo_name}}" autofocus required>
<span class="help">{{.i18n.Tr "repo.repo_name_helper"}}</span>
<span class="help"></span>
</div>
<div class="inline field">
<label>{{.i18n.Tr "repo.visibility"}}</label>


Loading…
Cancel
Save