diff --git a/conf/lang/en-us.ini b/conf/lang/en-us.ini index e22781f8..7cb0bda9 100644 --- a/conf/lang/en-us.ini +++ b/conf/lang/en-us.ini @@ -352,6 +352,17 @@ ft_last_editor = Last editor: ft_create_time = Create time: ft_update_time = Update time: +[project] +prj_space_list = Project Space List +prj_space_list_of = List of Project Space %s +search_title = Show Items of Project Space "%s" +author = Author +no_project = No Project +prj_amount = Project Count +creator = Creator +create_time = Create time +no_project_space = No Project Space + [page] first = first last = last diff --git a/conf/lang/zh-cn.ini b/conf/lang/zh-cn.ini index e1e43802..17a20698 100644 --- a/conf/lang/zh-cn.ini +++ b/conf/lang/zh-cn.ini @@ -352,6 +352,17 @@ ft_last_editor = 最后编辑: ft_create_time = 创建时间: ft_update_time = 更新时间: +[project] +prj_space_list = 项目空间列表 +prj_space_list_of = 项目空间%s的项目列表 +search_title = 显示项目空间为"%s"的项目 +authro = 作者 +no_project = 暂无项目 +prj_amount = 项目数量 +creator = 创建人 +create_time = 创建时间 +no_project_space = 没有项目空间 + [page] first = 首页 last = 末页 diff --git a/views/items/index.tpl b/views/items/index.tpl index 865ff2fd..60e8674c 100644 --- a/views/items/index.tpl +++ b/views/items/index.tpl @@ -5,7 +5,7 @@ - 项目空间列表 - Powered by MinDoc + {{i18n .Lang "project.prj_space_list"}} - Powered by MinDoc @@ -22,7 +22,7 @@ {{template "widgets/header.tpl" .}}
- 项目空间列表 + {{i18n .Lang "project.prj_space_list"}}
diff --git a/views/items/list.tpl b/views/items/list.tpl index b0bf2b4d..2d293ad7 100644 --- a/views/items/list.tpl +++ b/views/items/list.tpl @@ -5,7 +5,7 @@ - 项目空间{{.Model.ItemName}}的项目列表 - Powered by MinDoc + {{i18n .Lang "project.prj_space_list_of" .Model.ItemName}} - Powered by MinDoc @@ -19,7 +19,7 @@ {{template "widgets/header.tpl" .}}
- 显示项目空间为"{{.Model.ItemName}}"的项目 + {{i18n .Lang "project.search_title" .Model.ItemName}}
@@ -36,7 +36,7 @@
- 作者 + {{i18n .Lang "project.author"}} - {{if eq $item.RealName "" }}{{$item.CreateName}}{{else}}{{$item.RealName}}{{end}} @@ -46,7 +46,7 @@ {{else}}
- 暂无项目 + {{i18n .Lang "project.no_project"}}
{{end}}