diff options
author | Fatih Acet <acetfatih@gmail.com> | 2018-11-20 23:32:23 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-11-20 23:32:23 +0000 |
commit | ec4fa1f5bd4f18b5dce88b03f1fedcb05e50d4cc (patch) | |
tree | 81477ff76503e0a8d9e14bf0a4673084e2d73384 | |
parent | 233af8f1731734aaad7e5055af39f26c16608649 (diff) | |
parent | 338b8695929423c4b832b33e58d51ea1156ff811 (diff) | |
download | gitlab-ce-ec4fa1f5bd4f18b5dce88b03f1fedcb05e50d4cc.tar.gz |
Merge branch 'gt-externalize-app-views-repository_check_mailer' into 'master'
Externalize strings from `/app/views/repository_check_mailer`
See merge request gitlab-org/gitlab-ce!23211
-rw-r--r-- | app/views/repository_check_mailer/notify.html.haml | 4 | ||||
-rw-r--r-- | app/views/repository_check_mailer/notify.text.haml | 5 | ||||
-rw-r--r-- | locale/gitlab.pot | 9 |
3 files changed, 13 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 } diff --git a/locale/gitlab.pot b/locale/gitlab.pot index 52e15b846b7..3d9a9bf48e6 100644 --- a/locale/gitlab.pot +++ b/locale/gitlab.pot @@ -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 "" |