summaryrefslogtreecommitdiff
path: root/app/views/projects/forks/error.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/forks/error.html.haml')
-rw-r--r--app/views/projects/forks/error.html.haml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/forks/error.html.haml b/app/views/projects/forks/error.html.haml
index 3d0ab5b85d6..d9b61ee20ba 100644
--- a/app/views/projects/forks/error.html.haml
+++ b/app/views/projects/forks/error.html.haml
@@ -1,13 +1,13 @@
-- page_title "Fork project"
+- page_title "派生项目"
- if @forked_project && !@forked_project.saved?
.alert.alert-danger.alert-block
%h4
%i.fa.fa-code-fork
- Fork Error!
+ 派生错误!
%p
- You tried to fork
+ 试图派生
= link_to_project @project
- but it failed for the following reason:
+ 出现错误,原因如下:
- if @forked_project && @forked_project.errors.any?
@@ -16,6 +16,6 @@
= @forked_project.errors.full_messages.first
%p
- = link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork", class: "btn" do
+ = link_to new_namespace_project_fork_path(@project.namespace, @project), title: "派生", class: "btn" do
%i.fa.fa-code-fork
- Try to Fork again
+ 重试派生