Commit 869bae47 authored by Vladimir Shushlin's avatar Vladimir Shushlin Committed by Vladimir Shushlin

Fix subject grammar

parent 47fa6b5d
......@@ -46,7 +46,7 @@ module Emails
@domain = domain
@project = domain.project
subject_text = _("ACTION REQUIRED: Something went wrong while obtaining Let's Encrypt certificate for GitLab Pages domain '%{domain}'") % { domain: domain.domain }
subject_text = _("ACTION REQUIRED: Something went wrong while obtaining the Let's Encrypt certificate for GitLab Pages domain '%{domain}'") % { domain: domain.domain }
mail(
to: recipient.notification_email_for(@project.group),
subject: subject(subject_text)
......
......@@ -886,7 +886,7 @@ msgstr ""
msgid "A user with write access to the source branch selected this option"
msgstr ""
msgid "ACTION REQUIRED: Something went wrong while obtaining Let's Encrypt certificate for GitLab Pages domain '%{domain}'"
msgid "ACTION REQUIRED: Something went wrong while obtaining the Let's Encrypt certificate for GitLab Pages domain '%{domain}'"
msgstr ""
msgid "API Help"
......
......@@ -104,7 +104,7 @@ describe Emails::PagesDomains do
end
describe '#pages_domain_auto_ssl_failed_email' do
let(:email_subject) { "#{project.path} | ACTION REQUIRED: Something went wrong while obtaining Let's Encrypt certificate for GitLab Pages domain '#{domain.domain}'" }
let(:email_subject) { "#{project.path} | ACTION REQUIRED: Something went wrong while obtaining the Let's Encrypt certificate for GitLab Pages domain '#{domain.domain}'" }
subject { Notify.pages_domain_auto_ssl_failed_email(domain, user) }
......
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