Commit cc868d4a authored by Alex Buijs's avatar Alex Buijs Committed by Doug Stull

Change texts about credit card verification

Change texts related to credit card validations.

Changelog: changed
EE: true
parent 68cfd774
...@@ -7,7 +7,7 @@ const IFRAME_MINIMUM_HEIGHT = 350; ...@@ -7,7 +7,7 @@ const IFRAME_MINIMUM_HEIGHT = 350;
const i18n = Object.freeze({ const i18n = Object.freeze({
title: s__('Billings|Validate user account'), title: s__('Billings|Validate user account'),
description: s__(` description: s__(`
Billings|To use free pipeline minutes on shared runners, you’ll need to validate your account with a credit or debit card. This is required to discourage and reduce abuse on GitLab infrastructure. Billings|To use free CI/CD minutes on shared runners, you’ll need to validate your account with a credit card. This is required to discourage and reduce abuse on GitLab infrastructure.
%{strongStart}GitLab will not charge your card, it will only be used for validation.%{strongEnd}`), %{strongStart}GitLab will not charge your card, it will only be used for validation.%{strongEnd}`),
actions: { actions: {
primary: { primary: {
......
...@@ -6,14 +6,14 @@ import AccountVerificationModal from './account_verification_modal.vue'; ...@@ -6,14 +6,14 @@ import AccountVerificationModal from './account_verification_modal.vue';
const i18n = { const i18n = {
successAlert: { successAlert: {
title: s__('Billings|User successfully validated'), title: s__('Billings|Your account has been validated'),
text: s__( text: s__(
'Billings|Your user account has been successfully validated. You can now use free pipeline minutes.', "Billings|You'll now be able to take advantage of free CI/CD minutes on shared runners.",
), ),
}, },
dangerAlert: { dangerAlert: {
title: s__('Billings|User validation required'), title: s__('Billings|User validation required'),
text: s__(`Billings|To use free pipeline minutes on shared runners, you’ll need to validate your account with a credit or debit card. If you prefer not to provide one, you can run pipelines by bringing your own runners and disabling shared runners for your project. text: s__(`Billings|To use free CI/CD minutes on shared runners, you’ll need to validate your account with a credit card. If you prefer not to provide one, you can run pipelines by bringing your own runners and disabling shared runners for your project.
This is required to discourage and reduce abuse on GitLab infrastructure. This is required to discourage and reduce abuse on GitLab infrastructure.
%{strongStart}GitLab will not charge your card, it will only be used for validation.%{strongEnd} %{linkStart}Learn more%{linkEnd}.`), %{strongStart}GitLab will not charge your card, it will only be used for validation.%{strongEnd} %{linkStart}Learn more%{linkEnd}.`),
primaryButtonText: s__('Billings|Validate account'), primaryButtonText: s__('Billings|Validate account'),
......
...@@ -11,16 +11,16 @@ export const SUCCESSFUL_VERIFICATION_EVENT = 'successful_verification'; ...@@ -11,16 +11,16 @@ export const SUCCESSFUL_VERIFICATION_EVENT = 'successful_verification';
export const I18N = { export const I18N = {
warningAlert: { warningAlert: {
title: s__( title: s__(
'VerificationReminder|Pipeline failing? To keep GitLab spam and abuse free we ask that you verify your identity with a valid payment method.', 'VerificationReminder|Pipeline failing? To keep GitLab spam and abuse free we ask that you verify your identity.',
), ),
message: s__( message: s__(
'VerificationReminder|Until then, free pipeline minutes on shared runners are unavailable. %{validateLinkStart}Validate your account%{validateLinkEnd} or %{docsLinkStart}use your own runners%{docsLinkEnd}.', 'VerificationReminder|Until then, shared runners will be unavailable. %{validateLinkStart}Validate your account%{validateLinkEnd} or %{docsLinkStart}use your own runners%{docsLinkEnd}.',
), ),
}, },
successAlert: { successAlert: {
title: s__('VerificationReminder|Your account has been validated.'), title: s__('VerificationReminder|Your account has been validated'),
message: s__( message: s__(
'VerificationReminder|You’ll now be able to take advantage of free pipeline minutes on shared runners.', 'VerificationReminder|You’ll now be able to take advantage of free CI/CD minutes on shared runners.',
), ),
}, },
}; };
...@@ -19,16 +19,16 @@ module Gitlab ...@@ -19,16 +19,16 @@ module Gitlab
end end
def title def title
s_("AccountValidation|Looks like you’ll need to validate your account to use free pipeline minutes") s_("AccountValidation|Looks like you’ll need to validate your account to use free CI/CD minutes")
end end
def body_line1 def body_line1
s_("AccountValidation|In order to use free pipeline minutes on shared runners, you'll need to validate your account with a credit or debit card. If you prefer not to provide one, you can run pipelines by bringing your own runners and disabling shared runners for your project.") s_("AccountValidation|In order to use free CI/CD minutes on shared runners, you'll need to validate your account using one of our verification options. If you prefer not to, you can run pipelines by bringing your own runners and disabling shared runners for your project.")
end end
def body_line2 def body_line2
format_options = strong_options.merge({ learn_more_link: learn_more_link }) format_options = strong_options.merge({ learn_more_link: learn_more_link })
s_("AccountValidation|This is required to discourage and reduce the abuse on GitLab infrastructure. %{strong_start}GitLab will not charge or store your card, it will only be used for validation.%{strong_end} %{learn_more_link}").html_safe % format_options s_("AccountValidation|Verification is required to discourage and reduce the abuse on GitLab infrastructure. If you verify with a credit or debit card, %{strong_start}GitLab will not charge your card, it will only be used for validation.%{strong_end} %{learn_more_link}").html_safe % format_options
end end
def cta_text def cta_text
......
...@@ -35,7 +35,7 @@ describe('Account verification modal', () => { ...@@ -35,7 +35,7 @@ describe('Account verification modal', () => {
}); });
it('renders the description', () => { it('renders the description', () => {
expect(wrapper.find('p').text()).toContain('To use free pipeline minutes'); expect(wrapper.find('p').text()).toContain('To use free CI/CD minutes');
}); });
}); });
......
...@@ -54,7 +54,7 @@ describe('CreditCardValidationRequiredAlert', () => { ...@@ -54,7 +54,7 @@ describe('CreditCardValidationRequiredAlert', () => {
}); });
it('renders description', () => { it('renders description', () => {
expect(findGlAlert().text()).toContain('To use free pipeline minutes'); expect(findGlAlert().text()).toContain('To use free CI/CD minutes');
}); });
it('renders danger alert', () => { it('renders danger alert', () => {
......
...@@ -11,11 +11,11 @@ RSpec.describe Gitlab::Email::Message::AccountValidation do ...@@ -11,11 +11,11 @@ RSpec.describe Gitlab::Email::Message::AccountValidation do
it 'contains the correct message', :aggregate_failures do it 'contains the correct message', :aggregate_failures do
expect(message.subject_line).to eq 'Fix your pipelines by validating your account' expect(message.subject_line).to eq 'Fix your pipelines by validating your account'
expect(message.title).to eq "Looks like you’ll need to validate your account to use free pipeline minutes" expect(message.title).to eq "Looks like you’ll need to validate your account to use free CI/CD minutes"
expect(message.body_line1).to eq "In order to use free pipeline minutes on shared runners, you'll need to validate your account with a credit or debit card. If you prefer not to provide one, you can run pipelines by bringing your own runners and disabling shared runners for your project." expect(message.body_line1).to eq "In order to use free CI/CD minutes on shared runners, you'll need to validate your account using one of our verification options. If you prefer not to, you can run pipelines by bringing your own runners and disabling shared runners for your project."
expect(message.body_line2).to include( expect(message.body_line2).to include(
'This is required to discourage and reduce the abuse on GitLab infrastructure.', 'Verification is required to discourage and reduce the abuse on GitLab infrastructure.',
'<b>GitLab will not charge or store your card, it will only be used for validation.</b>', 'If you verify with a credit or debit card, <b>GitLab will not charge your card, it will only be used for validation.</b>',
'<a href="https://about.gitlab.com/blog/2021/05/17/prevent-crypto-mining-abuse/">Learn more.</a>' '<a href="https://about.gitlab.com/blog/2021/05/17/prevent-crypto-mining-abuse/">Learn more.</a>'
) )
expect(message.cta_text).to eq 'Validate your account' expect(message.cta_text).to eq 'Validate your account'
......
...@@ -1907,19 +1907,19 @@ msgstr "" ...@@ -1907,19 +1907,19 @@ msgstr ""
msgid "AccountValidation|If you no longer wish to receive marketing emails from us," msgid "AccountValidation|If you no longer wish to receive marketing emails from us,"
msgstr "" msgstr ""
msgid "AccountValidation|In order to use free pipeline minutes on shared runners, you'll need to validate your account with a credit or debit card. If you prefer not to provide one, you can run pipelines by bringing your own runners and disabling shared runners for your project." msgid "AccountValidation|In order to use free CI/CD minutes on shared runners, you'll need to validate your account using one of our verification options. If you prefer not to, you can run pipelines by bringing your own runners and disabling shared runners for your project."
msgstr "" msgstr ""
msgid "AccountValidation|Learn more." msgid "AccountValidation|Learn more."
msgstr "" msgstr ""
msgid "AccountValidation|Looks like you’ll need to validate your account to use free pipeline minutes" msgid "AccountValidation|Looks like you’ll need to validate your account to use free CI/CD minutes"
msgstr "" msgstr ""
msgid "AccountValidation|This is required to discourage and reduce the abuse on GitLab infrastructure. %{strong_start}GitLab will not charge or store your card, it will only be used for validation.%{strong_end} %{learn_more_link}" msgid "AccountValidation|Validate your account"
msgstr "" msgstr ""
msgid "AccountValidation|Validate your account" msgid "AccountValidation|Verification is required to discourage and reduce the abuse on GitLab infrastructure. If you verify with a credit or debit card, %{strong_start}GitLab will not charge your card, it will only be used for validation.%{strong_end} %{learn_more_link}"
msgstr "" msgstr ""
msgid "AccountValidation|unsubscribe" msgid "AccountValidation|unsubscribe"
...@@ -5508,13 +5508,10 @@ msgstr "" ...@@ -5508,13 +5508,10 @@ msgstr ""
msgid "Billings|Shared runners cannot be enabled until a valid credit card is on file." msgid "Billings|Shared runners cannot be enabled until a valid credit card is on file."
msgstr "" msgstr ""
msgid "Billings|To use free pipeline minutes on shared runners, you’ll need to validate your account with a credit or debit card. If you prefer not to provide one, you can run pipelines by bringing your own runners and disabling shared runners for your project. This is required to discourage and reduce abuse on GitLab infrastructure. %{strongStart}GitLab will not charge your card, it will only be used for validation.%{strongEnd} %{linkStart}Learn more%{linkEnd}." msgid "Billings|To use free CI/CD minutes on shared runners, you’ll need to validate your account with a credit card. If you prefer not to provide one, you can run pipelines by bringing your own runners and disabling shared runners for your project. This is required to discourage and reduce abuse on GitLab infrastructure. %{strongStart}GitLab will not charge your card, it will only be used for validation.%{strongEnd} %{linkStart}Learn more%{linkEnd}."
msgstr ""
msgid "Billings|To use free pipeline minutes on shared runners, you’ll need to validate your account with a credit or debit card. This is required to discourage and reduce abuse on GitLab infrastructure. %{strongStart}GitLab will not charge your card, it will only be used for validation.%{strongEnd}"
msgstr "" msgstr ""
msgid "Billings|User successfully validated" msgid "Billings|To use free CI/CD minutes on shared runners, you’ll need to validate your account with a credit card. This is required to discourage and reduce abuse on GitLab infrastructure. %{strongStart}GitLab will not charge your card, it will only be used for validation.%{strongEnd}"
msgstr "" msgstr ""
msgid "Billings|User validation required" msgid "Billings|User validation required"
...@@ -5526,7 +5523,10 @@ msgstr "" ...@@ -5526,7 +5523,10 @@ msgstr ""
msgid "Billings|Validate user account" msgid "Billings|Validate user account"
msgstr "" msgstr ""
msgid "Billings|Your user account has been successfully validated. You can now use free pipeline minutes." msgid "Billings|You'll now be able to take advantage of free CI/CD minutes on shared runners."
msgstr ""
msgid "Billings|Your account has been validated"
msgstr "" msgstr ""
msgid "Billing|An email address is only visible for users with public emails." msgid "Billing|An email address is only visible for users with public emails."
...@@ -38834,16 +38834,16 @@ msgstr "" ...@@ -38834,16 +38834,16 @@ msgstr ""
msgid "Verification status" msgid "Verification status"
msgstr "" msgstr ""
msgid "VerificationReminder|Pipeline failing? To keep GitLab spam and abuse free we ask that you verify your identity with a valid payment method." msgid "VerificationReminder|Pipeline failing? To keep GitLab spam and abuse free we ask that you verify your identity."
msgstr "" msgstr ""
msgid "VerificationReminder|Until then, free pipeline minutes on shared runners are unavailable. %{validateLinkStart}Validate your account%{validateLinkEnd} or %{docsLinkStart}use your own runners%{docsLinkEnd}." msgid "VerificationReminder|Until then, shared runners will be unavailable. %{validateLinkStart}Validate your account%{validateLinkEnd} or %{docsLinkStart}use your own runners%{docsLinkEnd}."
msgstr "" msgstr ""
msgid "VerificationReminder|Your account has been validated." msgid "VerificationReminder|Your account has been validated"
msgstr "" msgstr ""
msgid "VerificationReminder|You’ll now be able to take advantage of free pipeline minutes on shared runners." msgid "VerificationReminder|You’ll now be able to take advantage of free CI/CD minutes on shared runners."
msgstr "" msgstr ""
msgid "Verified" msgid "Verified"
......
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