summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_change.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commit/_change.html.haml')
-rw-r--r--app/views/projects/commit/_change.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/commit/_change.html.haml b/app/views/projects/commit/_change.html.haml
index ae33b57524f..4e7876eb313 100644
--- a/app/views/projects/commit/_change.html.haml
+++ b/app/views/projects/commit/_change.html.haml
@@ -28,7 +28,9 @@
.checkbox
= label_tag do
= check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request', id: nil
- #{ _('Start a <strong>new merge request</strong> with these changes').html_safe }
+ - translation_variables = { new_merge_request: "<strong>#{_('new merge request')}</strong>" }
+ - translation = _('Start a %{new_merge_request} with these changes') % translation_variables
+ #{ translation.html_safe }
- else
= hidden_field_tag 'create_merge_request', 1, id: nil
.form-actions