Commit 7b03016f authored by Mark Florian's avatar Mark Florian

Merge branch...

Merge branch '22691-externelize-i18n-strings-from-./app/views/shared/_delete_label_modal.html.haml' into 'master'

Externalize i18n strings from ./app/views/shared/_delete_label_modal.html.haml

See merge request gitlab-org/gitlab!32138
parents 6bd15453 c56f2ca7
...@@ -2,20 +2,19 @@ ...@@ -2,20 +2,19 @@
.modal-dialog .modal-dialog
.modal-content .modal-content
.modal-header .modal-header
%h3.page-title Delete label: #{label.name} ? %h3.page-title= _('Delete label: %{label_name} ?') % { label_name: label.name }
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } × %span{ "aria-hidden": true } ×
.modal-body .modal-body
%p %p
%strong= label.name = _('<strong>%{label_name}</strong> <span>will be permanently deleted from %{subject_name}. This cannot be undone.</span>').html_safe % { label_name: label.name, subject_name: label.subject_name }
%span will be permanently deleted from #{label.subject_name}. This cannot be undone.
.modal-footer .modal-footer
%a{ href: '#', data: { dismiss: 'modal' }, class: 'btn btn-default' } Cancel %a{ href: '#', data: { dismiss: 'modal' }, class: 'btn btn-default' }= _('Cancel')
= link_to 'Delete label', = link_to _('Delete label'),
label.destroy_path, label.destroy_path,
title: 'Delete', title: _('Delete'),
method: :delete, method: :delete,
class: 'btn btn-remove' class: 'btn btn-remove'
---
title: Externalize i18n strings from ./app/views/shared/_delete_label_modal.html.haml
merge_request: 32138
author: Gilang Gumilar
type: changed
...@@ -829,6 +829,9 @@ msgstr "" ...@@ -829,6 +829,9 @@ msgstr ""
msgid "<strong>%{group_name}</strong> group members" msgid "<strong>%{group_name}</strong> group members"
msgstr "" msgstr ""
msgid "<strong>%{label_name}</strong> <span>will be permanently deleted from %{subject_name}. This cannot be undone.</span>"
msgstr ""
msgid "<strong>Deletes</strong> source branch" msgid "<strong>Deletes</strong> source branch"
msgstr "" msgstr ""
...@@ -6926,6 +6929,12 @@ msgstr "" ...@@ -6926,6 +6929,12 @@ msgstr ""
msgid "Delete domain" msgid "Delete domain"
msgstr "" msgstr ""
msgid "Delete label"
msgstr ""
msgid "Delete label: %{label_name} ?"
msgstr ""
msgid "Delete license" msgid "Delete license"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment