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 { ...@@ -59,15 +59,15 @@ export default {
compareAllButtonTitle: s__('Trials|Compare all plans'), compareAllButtonTitle: s__('Trials|Compare all plans'),
popoverTitle: s__('Trials|Hey there'), popoverTitle: s__('Trials|Hey there'),
popoverContent: s__(`Trials|Your trial ends on popoverContent: s__(`Trials|Your trial ends on
%{boldStart}%{trialEndDate}%{boldEnd}. We hope you are enjoying GitLab %{boldStart}%{trialEndDate}%{boldEnd}. We hope you’re enjoying the
%{planName}. To continue using GitLab %{planName} after your trial ends, features of GitLab %{planName}. To keep those features after your trial
you will need to buy a subscription. You can also choose GitLab Premium ends, you’ll need to buy a subscription. (You can also choose GitLab
if its features are sufficient for your needs.`), Premium if it meets your needs.)`),
upgradeButtonTitle: s__('Trials|Upgrade %{groupName} to %{planName}'), upgradeButtonTitle: s__('Trials|Upgrade %{groupName} to %{planName}'),
}, },
computed: { computed: {
formattedTrialEndDate() { formattedTrialEndDate() {
return formatDate(this.trialEndDate, 'yyyy-mm-dd'); return formatDate(this.trialEndDate, 'mmmm d');
}, },
}, },
created() { created() {
......
...@@ -11,7 +11,7 @@ exports[`TrialStatusPopover component matches the snapshot 1`] = ` ...@@ -11,7 +11,7 @@ exports[`TrialStatusPopover component matches the snapshot 1`] = `
> >
<gl-sprintf-stub <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 <div
......
...@@ -31911,7 +31911,7 @@ msgstr "" ...@@ -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'" 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 "" 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 "" msgstr ""
msgid "Trial|Company name" 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