summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-11-08 11:37:09 +0000
committerTim Zallmann <tzallmann@gitlab.com>2017-11-08 11:37:09 +0000
commit3c369ba16e5c5a7d8a9f6187e08cb504c1ad91a6 (patch)
tree56cf8342dd5290e322ccc9b23644912ec0f47d13
parent133a2886b3d88bfdf7bb9e21e4e3d6727d516912 (diff)
parent319fd65c7cc32ea10a46d4359b71131699173df7 (diff)
downloadgitlab-ce-3c369ba16e5c5a7d8a9f6187e08cb504c1ad91a6.tar.gz
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
-rw-r--r--app/views/projects/tags/new.html.haml6
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