Skip to content

Commit f844fc9

Browse files
authored
CCM-7173: Update character word count (#736)
1 parent 30d9536 commit f844fc9

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

frontend/src/__tests__/components/forms/SmsTemplateForm/__snapshots__/SmsTemplateForm.test.tsx.snap

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ exports[`CreateSmsTemplate component Client-side validation triggers 1`] = `
195195
>
196196
0 characters
197197
<br />
198-
This template will be sent as 0 text messages.
198+
This template will be charged as 0 text messages.
199199
<br />
200-
If you're using personalisation fields, it could send as more.
200+
If you're using personalisation fields, it could be charged as more.
201201
</p>
202202
<p
203203
data-testid="sms-pricing-info-0"
@@ -648,9 +648,9 @@ exports[`CreateSmsTemplate component renders page one error 1`] = `
648648
>
649649
16 characters
650650
<br />
651-
This template will be sent as 1 text message.
651+
This template will be charged as 1 text message.
652652
<br />
653-
If you're using personalisation fields, it could send as more.
653+
If you're using personalisation fields, it could be charged as more.
654654
</p>
655655
<p
656656
data-testid="sms-pricing-info-0"
@@ -1065,9 +1065,9 @@ exports[`CreateSmsTemplate component renders page with back link if initial stat
10651065
>
10661066
16 characters
10671067
<br />
1068-
This template will be sent as 1 text message.
1068+
This template will be charged as 1 text message.
10691069
<br />
1070-
If you're using personalisation fields, it could send as more.
1070+
If you're using personalisation fields, it could be charged as more.
10711071
</p>
10721072
<p
10731073
data-testid="sms-pricing-info-0"
@@ -1532,9 +1532,9 @@ exports[`CreateSmsTemplate component renders page with multiple errors 1`] = `
15321532
>
15331533
16 characters
15341534
<br />
1535-
This template will be sent as 1 text message.
1535+
This template will be charged as 1 text message.
15361536
<br />
1537-
If you're using personalisation fields, it could send as more.
1537+
If you're using personalisation fields, it could be charged as more.
15381538
</p>
15391539
<p
15401540
data-testid="sms-pricing-info-0"
@@ -1943,9 +1943,9 @@ exports[`CreateSmsTemplate component renders page with no back link if initial s
19431943
>
19441944
16 characters
19451945
<br />
1946-
This template will be sent as 1 text message.
1946+
This template will be charged as 1 text message.
19471947
<br />
1948-
If you're using personalisation fields, it could send as more.
1948+
If you're using personalisation fields, it could be charged as more.
19491949
</p>
19501950
<p
19511951
data-testid="sms-pricing-info-0"

frontend/src/content/content.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ const smsTemplateFooter: ContentBlock[] = [
929929
{
930930
type: 'text',
931931
testId: 'character-message-count',
932-
text: `{{characters}} {{characters|character|characters}} \nThis template will be sent as {{count}} {{count|text message|text messages}}. \nIf you're using personalisation fields, it could send as more.`,
932+
text: `{{characters}} {{characters|character|characters}} \nThis template will be charged as {{count}} {{count|text message|text messages}}. \nIf you're using personalisation fields, it could be charged as more.`,
933933
},
934934
{
935935
type: 'text',
@@ -946,8 +946,6 @@ const templateFormSms = {
946946
templateMessageLabelText: 'Message',
947947
templateNameHintText: 'This will not be visible to recipients.',
948948
templateMessageFooterText: smsTemplateFooter,
949-
smsCountText1: 'This template will be sent as ',
950-
smsCountText2: ` text messages. If you're using personalisation fields, it could send as more.`,
951949
smsPricingLink: '/pricing/text-messages',
952950
smsPricingText:
953951
'Learn more about character counts and text messaging pricing (opens in a new tab)',

0 commit comments

Comments
 (0)