summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/wikis/show.html.haml')
-rw-r--r--app/views/projects/wikis/show.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/wikis/show.html.haml b/app/views/projects/wikis/show.html.haml
index 067fb7f8f54..d684576eef1 100644
--- a/app/views/projects/wikis/show.html.haml
+++ b/app/views/projects/wikis/show.html.haml
@@ -1,4 +1,4 @@
-- page_title @page.title.capitalize, "Wiki"
+- page_title @page.title.capitalize, "维基"
= render "header_title"
= render 'nav'
@@ -8,15 +8,15 @@
%span.wiki-last-edit-by
·
- last edited by #{@page.commit.author.name} #{time_ago_with_tooltip(@page.commit.authored_date)}
+ #{@page.commit.author.name} #{time_ago_with_tooltip(@page.commit.authored_date)}最后编辑
.nav-controls
= render 'main_links'
- if @page.historical?
.warning_message
- This is an old version of this page.
- You can view the #{link_to "most recent version", namespace_project_wiki_path(@project.namespace, @project, @page)} or browse the #{link_to "history", namespace_project_wiki_history_path(@project.namespace, @project, @page)}.
+ 这是本页面的旧版本。
+ 你可以查看#{link_to "最近修改版本", namespace_project_wiki_path(@project.namespace, @project, @page)}或浏览#{link_to "历史记录", namespace_project_wiki_history_path(@project.namespace, @project, @page)}。
.wiki-holder.prepend-top-default