summaryrefslogtreecommitdiff
path: root/app/views/projects/commits
diff options
context:
space:
mode:
authorLarry Li <larryli@qq.com>2016-03-28 12:39:17 +0800
committerLarry Li <larryli@qq.com>2016-03-28 12:39:17 +0800
commit44d920605c4d857d4e494e818042a0251e9ee203 (patch)
treed672721562140801486f6a0641e1eee32088a918 /app/views/projects/commits
parentb0a44cb0c867b2eec84ba8bb4ac303d829848195 (diff)
downloadgitlab-ce-8.6.0.zh1.tar.gz
完成 8.6 分支初步翻译v8.6.0.zh1
Signed-off-by: Larry Li <larryli@qq.com>
Diffstat (limited to 'app/views/projects/commits')
-rw-r--r--app/views/projects/commits/_commit_list.html.haml4
-rw-r--r--app/views/projects/commits/_head.html.haml10
2 files changed, 7 insertions, 7 deletions
diff --git a/app/views/projects/commits/_commit_list.html.haml b/app/views/projects/commits/_commit_list.html.haml
index bac9e244d36..8755b1cf359 100644
--- a/app/views/projects/commits/_commit_list.html.haml
+++ b/app/views/projects/commits/_commit_list.html.haml
@@ -3,12 +3,12 @@
%div.panel.panel-default
.panel-heading
- Commits (#{@commits.count})
+ 提交 (#{@commits.count})
- if hidden > 0
%ul.well-list
- commits.each do |commit|
= render "projects/commits/inline_commit", commit: commit, project: @project
%li.warning-row.unstyled
- #{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.
+ #{number_with_delimiter(hidden)} 次更多提交因为性能问题而隐藏。
- else
%ul.well-list= render commits, project: @project
diff --git a/app/views/projects/commits/_head.html.haml b/app/views/projects/commits/_head.html.haml
index 7a5b0d993db..eced034283c 100644
--- a/app/views/projects/commits/_head.html.haml
+++ b/app/views/projects/commits/_head.html.haml
@@ -1,23 +1,23 @@
%ul.nav-links
= nav_link(controller: [:commit, :commits]) do
= link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do
- Commits
+ 提交
%span.badge= number_with_delimiter(@repository.commit_count)
= nav_link(controller: %w(network)) do
= link_to namespace_project_network_path(@project.namespace, @project, current_ref) do
- Network
+ 网络
= nav_link(controller: :compare) do
= link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: current_ref) do
- Compare
+ 比较
= nav_link(html_options: {class: branches_tab_class}) do
= link_to namespace_project_branches_path(@project.namespace, @project) do
- Branches
+ 分支
%span.badge.js-totalbranch-count= @repository.branch_count
= nav_link(controller: [:tags, :releases]) do
= link_to namespace_project_tags_path(@project.namespace, @project) do
- Tags
+ 标签
%span.badge.js-totaltags-count= @repository.tag_count