summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-05-21 12:36:16 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-05-21 14:03:46 -0700
commitadd9defa05179865ee5460fd4bbd67cac9e23f53 (patch)
treed676a8deb8b84fe473a945222ccb01d6183b983e /app/views
parent0c5c5a7ffa97b2b85d22ee2802f3787c53aab834 (diff)
downloadgitlab-ce-add9defa05179865ee5460fd4bbd67cac9e23f53.tar.gz
Fix sentence for i18n44895-explicit-merge-conflict
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/merge_requests/conflicts/_submit_form.html.haml10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/views/projects/merge_requests/conflicts/_submit_form.html.haml b/app/views/projects/merge_requests/conflicts/_submit_form.html.haml
index ebcb37ab5b2..b86a87a1fc6 100644
--- a/app/views/projects/merge_requests/conflicts/_submit_form.html.haml
+++ b/app/views/projects/merge_requests/conflicts/_submit_form.html.haml
@@ -1,15 +1,13 @@
+- branch_name = link_to @merge_request.source_branch, project_tree_path(@merge_request.project, @merge_request.source_branch), class: "ref-name"
+- translation =_('You can resolve the merge conflict using either the Interactive mode, by choosing %{use_ours} or %{use_theirs} buttons, or by editing the files directly. Commit these changes into %{branch_name}') % { use_ours: '<code>Use Ours</code>', use_theirs: '<code>Use Theirs</code>', branch_name: branch_name }
+
%hr
.form-horizontal.resolve-conflicts-form
.form-group
.col-md-4
%h4= _('Resolve conflicts on source branch')
.resolve-info
- #{ _('You can resolve the merge conflict using either the Interactive mode, by choosing') }
- %code Use ours
- #{ _('or') }
- %code Use theirs
- #{ _('buttons, or by editing the files directly. Commit these changes into') }
- #{link_to @merge_request.source_branch, project_tree_path(@merge_request.project, @merge_request.source_branch), class: "ref-name"}.
+ = translation.html_safe
.col-md-8
%label.label-light{ "for" => "commit-message" }
#{ _('Commit message') }