Commit 095096a1 authored by Illya Klymov's avatar Illya Klymov

Merge branch 'jbauer-update-UI-text' into 'master'

Update UI Text in Trial Confirmation Banner

See merge request gitlab-org/gitlab!40774
parents 916eca93 f016b226
......@@ -7,4 +7,4 @@
= custom_icon('trial_activated_banner')
.user-callout-copy
%h4
= s_("BillingPlans|Congratulations, your new trial is activated")
= s_("BillingPlans|Congratulations, your free trial is activated.")
......@@ -31,7 +31,7 @@ RSpec.describe 'Show trial banner', :js do
it 'renders congratulations banner for user in profile billing page' do
visit profile_billings_path + '?trial=true'
expect(page).to have_content('Congratulations, your new trial is activated')
expect(page).to have_content('Congratulations, your free trial is activated.')
end
end
......@@ -39,13 +39,13 @@ RSpec.describe 'Show trial banner', :js do
it 'renders congratulations banner for group in group details page' do
visit group_path(group, trial: true)
expect(find('.user-callout').text).to have_content('Congratulations, your new trial is activated')
expect(find('.user-callout').text).to have_content('Congratulations, your free trial is activated.')
end
it 'does not render congratulations banner for group in group billing page' do
visit group_billings_path(group, trial: true)
expect(page).not_to have_content('Congratulations, your new trial is activated')
expect(page).not_to have_content('Congratulations, your free trial is activated.')
end
end
end
......@@ -3964,7 +3964,7 @@ msgstr ""
msgid "BillingPlans|@%{user_name} you are currently using the %{plan_name} plan."
msgstr ""
msgid "BillingPlans|Congratulations, your new trial is activated"
msgid "BillingPlans|Congratulations, your free trial is activated."
msgstr ""
msgid "BillingPlans|If you would like to downgrade your plan please contact %{support_link_start}Customer Support%{support_link_end}."
......
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