diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-11-20 23:32:23 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-11-20 23:32:23 +0000 |
commit | 338b8695929423c4b832b33e58d51ea1156ff811 (patch) | |
tree | 81477ff76503e0a8d9e14bf0a4673084e2d73384 /app/views/repository_check_mailer | |
parent | 233af8f1731734aaad7e5055af39f26c16608649 (diff) | |
download | gitlab-ce-338b8695929423c4b832b33e58d51ea1156ff811.tar.gz |
Externalize strings from `/app/views/repository_check_mailer`
Diffstat (limited to 'app/views/repository_check_mailer')
-rw-r--r-- | app/views/repository_check_mailer/notify.html.haml | 4 | ||||
-rw-r--r-- | app/views/repository_check_mailer/notify.text.haml | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/app/views/repository_check_mailer/notify.html.haml b/app/views/repository_check_mailer/notify.html.haml index 94e5a5d9709..d5327a2b4cc 100644 --- a/app/views/repository_check_mailer/notify.html.haml +++ b/app/views/repository_check_mailer/notify.html.haml @@ -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 } diff --git a/app/views/repository_check_mailer/notify.text.haml b/app/views/repository_check_mailer/notify.text.haml index 0902c50d052..6b64b337b0e 100644 --- a/app/views/repository_check_mailer/notify.text.haml +++ b/app/views/repository_check_mailer/notify.text.haml @@ -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 } |