Skip to content

Commit 772e0c9

Browse files
ButteryCrumpetRokt33r
authored andcommitted
display end date for trailing
1 parent 7b7c5b7 commit 772e0c9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/cloud/components/settings/TeamSubLimit.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ const TeamSubLimit = ({
9292
</div>
9393
</>
9494
)}
95+
{!currentSubInfo.info.trialIsOver && (
96+
<p className='note-limit'>
97+
{translate(lngKeys.SettingsSubLimitTrialDate, {
98+
date: format(currentSubInfo.info.endDate, 'dd MMM, yyyy'),
99+
})}
100+
</p>
101+
)}
95102
<p className='note-limit'>
96103
{translate(
97104
currentSubInfo.info.trialIsOver

src/cloud/lib/i18n/enUS.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const enTranslation: TranslationSource = {
160160
[lngKeys.SettingsSubLimitTrialUpgrade]:
161161
'You can upgrade at anytime during your trial.',
162162
[lngKeys.SettingsSubLimitTrialEnd]:
163-
'Your trial has ended at {{date}}. Please upgrade now.',
163+
'Your trial has ended on {{date}}. Please upgrade now.',
164164
[lngKeys.SettingsSubLimitUnderFreePlan]:
165165
'Under the free plan, you can create up to {{limit}} docs.',
166166

0 commit comments

Comments
 (0)