display end date for trailing

This commit is contained in:
Simon Leigh 2022-05-23 16:26:29 +09:00
parent 818cc37399
commit fe6501782e
2 changed files with 8 additions and 1 deletions

View File

@ -92,6 +92,13 @@ const TeamSubLimit = ({
</div>
</>
)}
{!currentSubInfo.info.trialIsOver && (
<p className='note-limit'>
{translate(lngKeys.SettingsSubLimitTrialDate, {
date: format(currentSubInfo.info.endDate, 'dd MMM, yyyy'),
})}
</p>
)}
<p className='note-limit'>
{translate(
currentSubInfo.info.trialIsOver

View File

@ -160,7 +160,7 @@ const enTranslation: TranslationSource = {
[lngKeys.SettingsSubLimitTrialUpgrade]:
'You can upgrade at anytime during your trial.',
[lngKeys.SettingsSubLimitTrialEnd]:
'Your trial has ended at {{date}}. Please upgrade now.',
'Your trial has ended on {{date}}. Please upgrade now.',
[lngKeys.SettingsSubLimitUnderFreePlan]:
'Under the free plan, you can create up to {{limit}} docs.',