feat(i18n): traducir el plan (billing)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jose Selesan
2026-11-03 13:55:20 -03:00
parent 7db9414f12
commit e3dca305a4
20 changed files with 467 additions and 82 deletions

View File

@@ -5,7 +5,7 @@ import { useState } from 'react'
import { Button } from '../../../components/ui'
import {
hasPlanFeature,
PLAN_FEATURE_REQUIRED_MESSAGES,
planFeatureRequiredMessage,
showPlanPrompt,
useBillingStatus,
} from '../../billing'
@@ -41,7 +41,7 @@ export function GroupDetailView() {
const billingQuery = useBillingStatus({ enabled: isGroupOwner })
const handleCharge = () => {
if (isGroupOwner && !hasPlanFeature(billingQuery.data, 'mpCharges')) {
showPlanPrompt(PLAN_FEATURE_REQUIRED_MESSAGES.mpCharges)
showPlanPrompt(planFeatureRequiredMessage('mpCharges'))
return
}
setIsChargeModalOpen(true)