diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index a52f02b79..2f5669b92 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -823,6 +823,7 @@ illustrate.only = Only Datasets In illustrate.zip = Zip Format illustrate.fisrt_end = Can Initiate Cloudbrain Tasks modify_dataset = Modify Dataset +modify_dataset_description = Modify Dataset Description [repo] owner = Owner repo_name = Repository Name diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index e1595e36d..07237fd3a 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -828,6 +828,7 @@ illustrate.only = 只有 illustrate.zip = zip格式 illustrate.fisrt_end = 的数据集才能发起云脑任务 modify_dataset = 修改数据集 +modify_dataset_description = 修改数据集文件描述 [repo] owner=拥有者 diff --git a/templates/explore/dataset_left.tmpl b/templates/explore/dataset_left.tmpl index 98cedc840..44d01cf3a 100644 --- a/templates/explore/dataset_left.tmpl +++ b/templates/explore/dataset_left.tmpl @@ -6,7 +6,7 @@ @@ -27,7 +27,7 @@
{{range $category := categories}} {{$Cate := $.i18n.Tr (printf "dataset.category.%s" $category)}} - {{$Cate}} + {{$Cate}} {{end}}
@@ -44,7 +44,7 @@
{{range $task := tasks}} {{$Task := $.i18n.Tr (printf "dataset.task.%s" $task)}} - {{$Task}} + {{$Task}} {{end}}
@@ -59,7 +59,7 @@
{{range $license := licenses}} - {{$license}} + {{$license}} {{end}}
diff --git a/templates/repo/attachment/edit.tmpl b/templates/repo/attachment/edit.tmpl index 611447548..b8734c86b 100644 --- a/templates/repo/attachment/edit.tmpl +++ b/templates/repo/attachment/edit.tmpl @@ -14,20 +14,20 @@

- 修改数据集文件描述 + {{$.i18n.Tr "dataset.modify_dataset_description"}}

{{.CsrfTokenHtml}} - + {{.Attachment.Type | AttachmentResourceType}} - + {{.Attachment.Name}} - + diff --git a/templates/repo/datasets/index.tmpl b/templates/repo/datasets/index.tmpl index 972b4c25c..fdbda8aa7 100755 --- a/templates/repo/datasets/index.tmpl +++ b/templates/repo/datasets/index.tmpl @@ -228,7 +228,6 @@
{{$x:=.IsPrivate | AttachmentStatus}} - {{$.i18n.Tr "home.show_private"}} {{$.i18n.Tr "org.settings.visibility.public"}}
@@ -265,9 +264,6 @@ {{if .CanDel}} {{$.i18n.Tr "dataset.set_public"}} {{$.i18n.Tr "dataset.set_private"}} - {{else}} - {{$.i18n.Tr "dataset.set_public"}} - {{$.i18n.Tr "dataset.set_private"}} {{end}}