diff --git a/app/views/repository_check_mailer/notify.html.haml b/app/views/repository_check_mailer/notify.html.haml index 67b292c308fa48e70d44899c5e9b022c154ad977..2493d00983cc445cc13c5155652565a6bc77228a 100644 --- a/app/views/repository_check_mailer/notify.html.haml +++ b/app/views/repository_check_mailer/notify.html.haml @@ -2,10 +2,10 @@ #{@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 } -# EE-specific start - if Gitlab::CurrentSettings.email_additional_text.present? diff --git a/app/views/repository_check_mailer/notify.text.haml b/app/views/repository_check_mailer/notify.text.haml index fdb6bf77fbb2f894c59367939515cdb8ceb65a36..fbb261fa8149b5e2c5db495e215fb18a17d991db 100644 --- a/app/views/repository_check_mailer/notify.text.haml +++ b/app/views/repository_check_mailer/notify.text.haml @@ -1,9 +1,8 @@ #{@message}. \ -View details: #{admin_projects_url(last_repository_check_failed: 1)} +#{_("View details")}: #{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 } -# EE-specific start - if Gitlab::CurrentSettings.email_additional_text.present? diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 0ea8789d6cbfc5b9435051434d264fa0aa5b3903..53cec17206a4a89d2e779b4bd114b3380dff3025 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -6124,6 +6124,9 @@ msgstr "" msgid "SecurityDashboard|Pipeline %{pipelineLink} triggered" msgstr "" +msgid "See the affected projects in the GitLab admin panel" +msgstr "" + msgid "Select" msgstr "" @@ -7461,6 +7464,9 @@ msgstr "" msgid "Verified" msgstr "" +msgid "View details" +msgstr "" + msgid "View epics list" msgstr "" @@ -7725,6 +7731,9 @@ msgstr "" msgid "You are on a secondary, read-only Geo node. If you want to make changes, you must visit this page on the %{primary_node}." 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 ""