From 7e4912ef30af29deb076c129b1dfd3ec56def593 Mon Sep 17 00:00:00 2001 From: bymyself Date: Thu, 11 Dec 2025 00:55:09 -0800 Subject: [PATCH] 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 --- src/locales/en/main.json | 9 ++++++--- .../cloud/subscription/components/PricingTable.vue | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/locales/en/main.json b/src/locales/en/main.json index 833ac3a77..802496d47 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -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" } } }, diff --git a/src/platform/cloud/subscription/components/PricingTable.vue b/src/platform/cloud/subscription/components/PricingTable.vue index 2569c7584..404f3b0ed 100644 --- a/src/platform/cloud/subscription/components/PricingTable.vue +++ b/src/platform/cloud/subscription/components/PricingTable.vue @@ -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 }, {