Commit 5fa60b8c authored by Martin Wortschack's avatar Martin Wortschack Committed by Olena Horal-Koretska

Externalize i18n strings from blob/show.html.haml

parent fcb5d0dd
......@@ -14,8 +14,8 @@
- if can_modify_blob?(@blob)
= render 'projects/blob/remove'
- title = "Replace #{@blob.name}"
= render 'projects/blob/upload', title: title, placeholder: title, button_title: 'Replace file', form_path: project_update_blob_path(@project, @id), method: :put
- 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 partial: 'pipeline_tour_success' if show_suggest_pipeline_creation_celebration?
= render 'shared/web_ide_path'
......@@ -29196,6 +29196,9 @@ msgstr ""
msgid "Replace"
msgstr ""
msgid "Replace %{blob_name}"
msgstr ""
msgid "Replace %{name}"
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