summaryrefslogtreecommitdiff
path: root/app/views/projects/empty.html.haml
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/empty.html.haml
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/empty.html.haml')
-rw-r--r--app/views/projects/empty.html.haml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 1ce0a9e3018..f7c7eda526a 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -9,31 +9,31 @@
.gray-content-block.second-block.center
%h3.page-title
- The repository for this project is empty
+ 此项目的版本仓库是空的
- if can?(current_user, :push_code, @project)
%p
- If you already have files you can push them using command line instructions below.
+ 如有已有文件请按照下面的命令行指令推送它们。
%p
- Otherwise you can start with
- = link_to "adding README", new_readme_path, class: 'underlined-link'
- file to this project.
+ 或者可以从
+ = link_to "增加 README", new_readme_path, class: 'underlined-link'
+ 文件开始本项目。
- if can?(current_user, :push_code, @project)
%div{ class: container_class }
.prepend-top-20
.empty_wrapper
%h3.page-title-empty
- Command line instructions
+ 命令行指令
%div.git-empty
%fieldset
- %h5 Git global setup
+ %h5 Git 全局设置
%pre.light-well
:preserve
git config --global user.name "#{h git_user_name}"
git config --global user.email "#{h git_user_email}"
%fieldset
- %h5 Create a new repository
+ %h5 创建新版本库
%pre.light-well
:preserve
git clone #{ content_tag(:span, default_url_to_repo, class: 'clone')}