diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-06-09 16:08:39 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-06-15 15:47:04 +0300 |
commit | 49bef99c5fe2a5d856e060ca71264e7bc8d3c08d (patch) | |
tree | 93156a2e863b161bd179e9e9219384072e1154fa /app/views/shared/_new_commit_form.html.haml | |
parent | b5a14e7404fc794a1959db1e4983ca7421c42791 (diff) |
Add a bunch of missing translations
Diffstat (limited to 'app/views/shared/_new_commit_form.html.haml')
-rw-r--r-- | app/views/shared/_new_commit_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_new_commit_form.html.haml b/app/views/shared/_new_commit_form.html.haml index 25a56f84ec5..5cb73c5178d 100644 --- a/app/views/shared/_new_commit_form.html.haml +++ b/app/views/shared/_new_commit_form.html.haml @@ -5,7 +5,7 @@ - else - if can?(current_user, :push_code, @project) .form-group.branch - = label_tag 'branch_name', 'Target branch', class: 'control-label' + = label_tag 'branch_name', _('Target Branch'), class: 'control-label' .col-sm-10 = text_field_tag 'branch_name', @branch_name || tree_edit_branch, required: true, class: "form-control js-branch-name ref-name" @@ -14,7 +14,7 @@ - nonce = SecureRandom.hex = label_tag "create_merge_request-#{nonce}" do = check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request', id: "create_merge_request-#{nonce}" - Start a <strong>new merge request</strong> with these changes + #{ _('Start a <strong>new merge request</strong> with these changes').html_safe } - else = hidden_field_tag 'branch_name', @branch_name || tree_edit_branch = hidden_field_tag 'create_merge_request', 1 |