summaryrefslogtreecommitdiff
path: root/app/views/import/gitlab/status.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/import/gitlab/status.html.haml')
-rw-r--r--app/views/import/gitlab/status.html.haml22
1 files changed, 11 insertions, 11 deletions
diff --git a/app/views/import/gitlab/status.html.haml b/app/views/import/gitlab/status.html.haml
index 911a55eb85d..7f193519ae5 100644
--- a/app/views/import/gitlab/status.html.haml
+++ b/app/views/import/gitlab/status.html.haml
@@ -1,22 +1,22 @@
-- page_title "GitLab.com import"
-- header_title "Projects", root_path
+- page_title "GitLab.com 导入"
+- header_title "项目", root_path
%h3.page-title
%i.fa.fa-heart
- Import projects from GitLab.com
+ 从 GitLab.com 导入项目
%p.light
- Select projects you want to import.
+ 选择要导入的项目。
%hr
%p
- = button_tag 'Import all projects', class: "btn btn-success js-import-all"
+ = button_tag '导入所有项目', class: "btn btn-success js-import-all"
.table-holder
%table.table.import-jobs
%thead
%tr
- %th From GitLab.com
- %th To this GitLab instance
- %th Status
+ %th 从 GitLab.com
+ %th 到此 GitLab 实例
+ %th 状态
%tbody
- @already_added_projects.each do |project|
%tr{id: "project_#{project.id}", class: "#{project_status_css_class(project.import_status)}"}
@@ -28,10 +28,10 @@
- if project.import_status == 'finished'
%span
%i.fa.fa-check
- done
+ 完成
- elsif project.import_status == 'started'
%i.fa.fa-spinner.fa-spin
- started
+ 已开始
- else
= project.human_import_status_name
@@ -42,7 +42,7 @@
%td.import-target
= repo["path_with_namespace"]
%td.import-actions.job-status
- = button_tag "Import", class: "btn js-add-to-import"
+ = button_tag "导入", class: "btn js-add-to-import"
:javascript
new ImporterStatus("#{jobs_import_gitlab_path}", "#{import_gitlab_path}");