Commit 11c5d33f authored by Stan Hu's avatar Stan Hu

Add period to expiring subscription message

parent a4ef92d2
......@@ -36,9 +36,9 @@ module Gitlab
def expired_subject
if subscribable.block_changes?
if auto_renew?
_('Something went wrong with your automatic subscription renewal')
_('Something went wrong with your automatic subscription renewal.')
else
_('Your subscription has been downgraded')
_('Your subscription has been downgraded.')
end
else
_('Your subscription expired!')
......@@ -49,9 +49,9 @@ module Gitlab
remaining_days = pluralize(subscribable.remaining_days, 'day')
if auto_renew?
_('Your subscription will automatically renew in %{remaining_days}') % { remaining_days: remaining_days }
_('Your subscription will automatically renew in %{remaining_days}.') % { remaining_days: remaining_days }
else
_('Your subscription will expire in %{remaining_days}') % { remaining_days: remaining_days }
_('Your subscription will expire in %{remaining_days}.') % { remaining_days: remaining_days }
end
end
......
......@@ -67,7 +67,7 @@ RSpec.describe Gitlab::ExpiringSubscriptionMessage do
it 'has a nice subject' do
Timecop.freeze(today) do
expect(subject).to include('Your subscription has been downgraded')
expect(subject).to include('Your subscription has been downgraded.')
end
end
......@@ -187,7 +187,7 @@ RSpec.describe Gitlab::ExpiringSubscriptionMessage do
end
it 'has a nice subject' do
expect(subject).to include('Your subscription will automatically renew in 4 days')
expect(subject).to include('Your subscription will automatically renew in 4 days.')
end
it 'has an expiration blocking message' do
......
......@@ -20818,7 +20818,7 @@ msgstr ""
msgid "Something went wrong while updating your list settings"
msgstr ""
msgid "Something went wrong with your automatic subscription renewal"
msgid "Something went wrong with your automatic subscription renewal."
msgstr ""
msgid "Something went wrong, unable to add %{project} to dashboard"
......@@ -26174,13 +26174,13 @@ msgstr ""
msgid "Your subscription expired!"
msgstr ""
msgid "Your subscription has been downgraded"
msgid "Your subscription has been downgraded."
msgstr ""
msgid "Your subscription will automatically renew in %{remaining_days}"
msgid "Your subscription will automatically renew in %{remaining_days}."
msgstr ""
msgid "Your subscription will expire in %{remaining_days}"
msgid "Your subscription will expire in %{remaining_days}."
msgstr ""
msgid "Zoom meeting added"
......
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