summaryrefslogtreecommitdiff
path: root/app/views/projects/_readme.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_readme.html.haml')
-rw-r--r--app/views/projects/_readme.html.haml13
1 files changed, 6 insertions, 7 deletions
diff --git a/app/views/projects/_readme.html.haml b/app/views/projects/_readme.html.haml
index d1191928d4f..0ab802fa282 100644
--- a/app/views/projects/_readme.html.haml
+++ b/app/views/projects/_readme.html.haml
@@ -9,14 +9,13 @@
- else
.gray-content-block.second-block.center
%h3.page-title
- This project does not have README yet
+ 此项目还未有 README 文件
- if can?(current_user, :push_code, @project)
%p
- A
%code README
- file contains information about other files in a repository and is commonly
- distributed with computer software, forming part of its documentation.
+ 文件包含有版本仓库中其他文件的信息,
+ 也在电脑软件中作为格式化文档的一部分普遍存在。
%p
- We recommend you to
- = link_to "add README", new_readme_path, class: 'underlined-link'
- file to the repository and GitLab will render it here instead of this message.
+ 建议
+ = link_to "增加 README", new_readme_path, class: 'underlined-link'
+ 文件到版本仓库,GitLab 将会载入其内容显示在这里,以替换掉此信息。