Commit ddd4503d authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch 'mw-externalize-i18n-strings-in-blob-show' into 'master'

Externalize i18n strings from blob/show.html.haml

See merge request gitlab-org/gitlab!75733
parents b8be0000 5fa60b8c
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
- if can_modify_blob?(@blob) - if can_modify_blob?(@blob)
= render 'projects/blob/remove' = render 'projects/blob/remove'
- title = "Replace #{@blob.name}" - title = _("Replace %{blob_name}") % { blob_name: @blob.name }
= render 'projects/blob/upload', title: title, placeholder: title, button_title: 'Replace file', form_path: project_update_blob_path(@project, @id), method: :put = render 'projects/blob/upload', title: title, placeholder: title, button_title: _('Replace file'), form_path: project_update_blob_path(@project, @id), method: :put
= render partial: 'pipeline_tour_success' if show_suggest_pipeline_creation_celebration? = render partial: 'pipeline_tour_success' if show_suggest_pipeline_creation_celebration?
= render 'shared/web_ide_path' = render 'shared/web_ide_path'
...@@ -29220,6 +29220,9 @@ msgstr "" ...@@ -29220,6 +29220,9 @@ msgstr ""
msgid "Replace" msgid "Replace"
msgstr "" msgstr ""
msgid "Replace %{blob_name}"
msgstr ""
msgid "Replace %{name}" msgid "Replace %{name}"
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