diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-11-08 14:37:09 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2017-11-10 01:12:08 +0300 |
commit | 0946b638d4231a35c036fe2389daea7a23927740 (patch) | |
tree | 56cf8342dd5290e322ccc9b23644912ec0f47d13 /app | |
parent | ff769b426099fa46018d49ed70a23dd23480d122 (diff) |
Merge branch 'jivl-add-missing-strings-tag-page' into 'master'
Added missing strings to prepare the tags page for internationalization
See merge request gitlab-org/gitlab-ce!15256
(cherry picked from commit 3c369ba16e5c5a7d8a9f6187e08cb504c1ad91a6)
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/tags/new.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/tags/new.html.haml b/app/views/projects/tags/new.html.haml index 3e99e0e8234..031efa903c5 100644 --- a/app/views/projects/tags/new.html.haml +++ b/app/views/projects/tags/new.html.haml @@ -33,7 +33,7 @@ = s_('TagsPage|Optionally, add a message to the tag.') %hr .form-group - = label_tag :release_description, 'Release notes', class: 'control-label' + = label_tag :release_description, s_('TagsPage|Release notes'), class: 'control-label' .col-sm-10 = render layout: 'projects/md_preview', locals: { url: preview_markdown_path(@project), referenced_users: true } do = render 'projects/zen', attr: :release_description, classes: 'note-textarea', placeholder: s_('TagsPage|Write your release notes or drag files here...'), current_text: @release_description @@ -41,6 +41,6 @@ .help-block = s_('TagsPage|Optionally, add release notes to the tag. They will be stored in the GitLab database and displayed on the tags page.') .form-actions - = button_tag 'Create tag', class: 'btn btn-create', tabindex: 3 - = link_to 'Cancel', project_tags_path(@project), class: 'btn btn-cancel' + = button_tag s_('TagsPage|Create tag'), class: 'btn btn-create', tabindex: 3 + = link_to s_('TagsPage|Cancel'), project_tags_path(@project), class: 'btn btn-cancel' %script#availableRefs{ type: "application/json" }= @project.repository.ref_names.to_json.html_safe |