Externalize strings from /app/views/repository_check_mailer

This commit is contained in:
George Tsiolis 2018-11-20 23:32:23 +00:00 committed by Fatih Acet
parent 233af8f173
commit 338b869592
3 changed files with 13 additions and 5 deletions

View file

@ -2,7 +2,7 @@
#{@message}.
%p
= link_to "See the affected projects in the GitLab admin panel", admin_projects_url(last_repository_check_failed: 1)
= link_to _("See the affected projects in the GitLab admin panel"), admin_projects_url(last_repository_check_failed: 1)
%p
You are receiving this message because you are a GitLab administrator for #{Gitlab.config.gitlab.url}.
= _("You are receiving this message because you are a GitLab administrator for %{url}.") % { url: Gitlab.config.gitlab.url }

View file

@ -1,6 +1,5 @@
#{@message}.
\
View details: #{admin_projects_url(last_repository_check_failed: 1)}
= _("View details: %{details_url}") % { details_url: admin_projects_url(last_repository_check_failed: 1) }
You are receiving this message because you are a GitLab administrator
for #{Gitlab.config.gitlab.url}.
= _("You are receiving this message because you are a GitLab administrator for %{url}.") % { url: Gitlab.config.gitlab.url }

View file

@ -5608,6 +5608,9 @@ msgstr ""
msgid "See metrics"
msgstr ""
msgid "See the affected projects in the GitLab admin panel"
msgstr ""
msgid "Select"
msgstr ""
@ -7014,6 +7017,9 @@ msgstr ""
msgid "View deployment"
msgstr ""
msgid "View details: %{details_url}"
msgstr ""
msgid "View file @ "
msgstr ""
@ -7269,6 +7275,9 @@ msgstr ""
msgid "You are on a read-only GitLab instance."
msgstr ""
msgid "You are receiving this message because you are a GitLab administrator for %{url}."
msgstr ""
msgid "You can %{linkStart}view the blob%{linkEnd} instead."
msgstr ""