summaryrefslogtreecommitdiff
path: root/app/views/projects/empty.html.haml
diff options
context:
space:
mode:
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')}