- Billing
+ {t('billing')}
- Manage your billing information, invoices, and monitor costs.
+ {t('manage_billing_and_costs')}
@@ -361,7 +387,7 @@ export default function BillingContainer(): JSX.Element {
- {isCloudUserVal ? 'Enterprise Cloud' : 'Enterprise'}{' '}
+ {isCloudUserVal ? t('enterprise_cloud') : t('enterprise')}{' '}
{isFreeTrial ? Free Trial : ''}
{!isLoading && !isFetchingBillingData ? (
@@ -378,8 +404,8 @@ export default function BillingContainer(): JSX.Element {
onClick={handleBilling}
>
{isFreeTrial && !licensesData?.payload?.trialConvertedToSubscription
- ? 'Upgrade Plan'
- : 'Manage Billing'}
+ ? t('upgrade_plan')
+ : t('manage_billing')}
@@ -389,8 +415,7 @@ export default function BillingContainer(): JSX.Element {
ellipsis
style={{ fontWeight: '300', color: '#49aa19', fontSize: 12 }}
>
- We have received your card details, your billing will only start after
- the end of your free trial period.
+ {t('card_details_recieved_and_billing_info')}
)}
@@ -404,6 +429,18 @@ export default function BillingContainer(): JSX.Element {
) : (
)}
+
+ {isSubscriptionPastDue &&
+ (!isLoading && !isFetchingBillingData ? (
+
+ ) : (
+
+ ))}
@@ -434,16 +471,16 @@ export default function BillingContainer(): JSX.Element {
- Upgrade now to have uninterrupted access
+ {t('upgrade_now_text')}
- Your billing will start only after the trial period
+ {t('Your billing will start only after the trial period')}
- Check out features in paid plans
+ {t('checkout_plans')}
- here
+ {t('here')}
@@ -464,7 +501,7 @@ export default function BillingContainer(): JSX.Element {
loading={isLoadingBilling || isLoadingManageBilling}
onClick={handleBilling}
>
- Upgrade Plan
+ {t('upgrade_plan')}