Commit 9d9dc72a authored by Dallas Reedy's avatar Dallas Reedy

Update the text of the trial status popover

- Update the popover content to be more clear & succinct
- Change the date format used from yyyy-mm-dd to mmmm d, since trial
  expirations are within 30 days (no need for a year)
parent e3d22298
......@@ -59,15 +59,15 @@ export default {
compareAllButtonTitle: s__('Trials|Compare all plans'),
popoverTitle: s__('Trials|Hey there'),
popoverContent: s__(`Trials|Your trial ends on
%{boldStart}%{trialEndDate}%{boldEnd}. We hope you are enjoying GitLab
%{planName}. To continue using GitLab %{planName} after your trial ends,
you will need to buy a subscription. You can also choose GitLab Premium
if its features are sufficient for your needs.`),
%{boldStart}%{trialEndDate}%{boldEnd}. We hope you’re enjoying the
features of GitLab %{planName}. To keep those features after your trial
ends, you’ll need to buy a subscription. (You can also choose GitLab
Premium if it meets your needs.)`),
upgradeButtonTitle: s__('Trials|Upgrade %{groupName} to %{planName}'),
},
computed: {
formattedTrialEndDate() {
return formatDate(this.trialEndDate, 'yyyy-mm-dd');
return formatDate(this.trialEndDate, 'mmmm d');
},
},
created() {
......
......@@ -11,7 +11,7 @@ exports[`TrialStatusPopover component matches the snapshot 1`] = `
>
<gl-sprintf-stub
message="Your trial ends on %{boldStart}%{trialEndDate}%{boldEnd}. We hope you are enjoying GitLab %{planName}. To continue using GitLab %{planName} after your trial ends, you will need to buy a subscription. You can also choose GitLab Premium if its features are sufficient for your needs."
message="Your trial ends on %{boldStart}%{trialEndDate}%{boldEnd}. We hope you’re enjoying the features of GitLab %{planName}. To keep those features after your trial ends, you’ll need to buy a subscription. (You can also choose GitLab Premium if it meets your needs.)"
/>
<div
......
......@@ -31911,7 +31911,7 @@ msgstr ""
msgid "Trials|You won't get a free trial right now but you can always resume this process by clicking on your avatar and choosing 'Start a free trial'"
msgstr ""
msgid "Trials|Your trial ends on %{boldStart}%{trialEndDate}%{boldEnd}. We hope you are enjoying GitLab %{planName}. To continue using GitLab %{planName} after your trial ends, you will need to buy a subscription. You can also choose GitLab Premium if its features are sufficient for your needs."
msgid "Trials|Your trial ends on %{boldStart}%{trialEndDate}%{boldEnd}. We hope you’re enjoying the features of GitLab %{planName}. To keep those features after your trial ends, you’ll need to buy a subscription. (You can also choose GitLab Premium if it meets your needs.)"
msgstr ""
msgid "Trial|Company name"
......
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