fix: add missing videoEstimate i18n keys and remove hardcoded value

- Add videoEstimate keys to all tier benefits in main.json
- Replace hardcoded '288' with proper i18n call for creator tier
- Ensures all tiers use consistent localization patterns
This commit is contained in:
bymyself
2025-12-11 00:55:09 -08:00
parent b6f73a1121
commit 7e4912ef30
2 changed files with 7 additions and 4 deletions

View File

@@ -1948,7 +1948,8 @@
"maxDurationLabel": "max duration of each workflow run",
"gpuLabel": "RTX 6000 Pro (96GB VRAM)",
"addCreditsLabel": "Add more credits whenever",
"customLoRAsLabel": "Import your own LoRAs"
"customLoRAsLabel": "Import your own LoRAs",
"videoEstimate": "120"
}
},
"creator": {
@@ -1961,7 +1962,8 @@
"maxDurationLabel": "max duration of each workflow run",
"gpuLabel": "RTX 6000 Pro (96GB VRAM)",
"addCreditsLabel": "Add more credits whenever",
"customLoRAsLabel": "Import your own LoRAs"
"customLoRAsLabel": "Import your own LoRAs",
"videoEstimate": "288"
}
},
"pro": {
@@ -1974,7 +1976,8 @@
"maxDurationLabel": "max duration of each workflow run",
"gpuLabel": "RTX 6000 Pro (96GB VRAM)",
"addCreditsLabel": "Add more credits whenever",
"customLoRAsLabel": "Import your own LoRAs"
"customLoRAsLabel": "Import your own LoRAs",
"videoEstimate": "815"
}
}
},

View File

@@ -168,7 +168,7 @@ const tiers: PricingTierConfig[] = [
credits: t('subscription.credits.creator'),
maxDuration: t('subscription.maxDuration.creator'),
customLoRAs: true,
videoEstimate: '288',
videoEstimate: t('subscription.tiers.creator.benefits.videoEstimate'),
isPopular: true
},
{