fix: billing modal translation (#5079)

This commit is contained in:
Jakob Schott
2025-03-27 11:50:24 +01:00
committed by GitHub
parent 2500c739ae
commit 2f64b202c1
7 changed files with 22 additions and 6 deletions

View File

@@ -215,6 +215,10 @@ export const PricingCard = ({
text={t("environments.settings.billing.switch_plan_confirmation_text", {
plan: t(plan.name),
price: planPeriod === "monthly" ? plan.price.monthly : plan.price.yearly,
period:
planPeriod === "monthly"
? t("environments.settings.billing.per_month")
: t("environments.settings.billing.per_year"),
})}
buttonVariant="default"
buttonLoading={loading}