Commit 89151c72 authored by Takuya Noguchi's avatar Takuya Noguchi

Externalize i18n strings from snippets/_header.html.haml

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent 91a9fbf8
...@@ -5,10 +5,7 @@ ...@@ -5,10 +5,7 @@
= visibility_level_label(@snippet.visibility_level) = visibility_level_label(@snippet.visibility_level)
= visibility_level_icon(@snippet.visibility_level) = visibility_level_icon(@snippet.visibility_level)
%span.creator %span.creator
Authored = s_('Snippets|Authored %{time_ago} by %{author}').html_safe % { time_ago: time_ago_with_tooltip(@snippet.created_at, placement: 'bottom', html_class: 'snippet_updated_ago'), author: link_to_member(@project, @snippet.author, size: 24, author_class: "author item-title", avatar_class: "d-none d-sm-inline") + user_status(@snippet.author) }
= time_ago_with_tooltip(@snippet.created_at, placement: 'bottom', html_class: 'snippet_updated_ago')
by #{link_to_member(@project, @snippet.author, size: 24, author_class: "author item-title", avatar_class: "d-none d-sm-inline")}
= user_status(@snippet.author)
.detail-page-header-actions .detail-page-header-actions
- if @snippet.project_id? - if @snippet.project_id?
......
---
title: Externalize i18n strings from snippets/_header HAML
merge_request: 41235
author: Takuya Noguchi
type: other
...@@ -22933,6 +22933,9 @@ msgstr "" ...@@ -22933,6 +22933,9 @@ msgstr ""
msgid "Snippets|Add another file %{num}/%{total}" msgid "Snippets|Add another file %{num}/%{total}"
msgstr "" msgstr ""
msgid "Snippets|Authored %{time_ago} by %{author}"
msgstr ""
msgid "Snippets|Delete file" msgid "Snippets|Delete file"
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