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 ...@@ -46,7 +46,7 @@ module Emails
@domain = domain @domain = domain
@project = domain.project @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( mail(
to: recipient.notification_email_for(@project.group), to: recipient.notification_email_for(@project.group),
subject: subject(subject_text) subject: subject(subject_text)
......
...@@ -886,7 +886,7 @@ msgstr "" ...@@ -886,7 +886,7 @@ msgstr ""
msgid "A user with write access to the source branch selected this option" msgid "A user with write access to the source branch selected this option"
msgstr "" 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 "" msgstr ""
msgid "API Help" msgid "API Help"
......
...@@ -104,7 +104,7 @@ describe Emails::PagesDomains do ...@@ -104,7 +104,7 @@ describe Emails::PagesDomains do
end end
describe '#pages_domain_auto_ssl_failed_email' do 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) } 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