summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-06-15 13:34:36 +0200
committerBob Van Landuyt <bob@gitlab.com>2017-06-15 14:47:05 +0200
commit459998276560dc6b77c11768cbd2d22bae7426a2 (patch)
treeb9d471c514a885c5a6591796063060914290e1de /app
parent1924e5005d64bb333550b20ddb33b94e7e9d8f00 (diff)
downloadgitlab-ce-459998276560dc6b77c11768cbd2d22bae7426a2.tar.gz
Remove HTML from translation key
Diffstat (limited to 'app')
-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