i18n: wire useTranslations for video-maker, image-maker, and pricing heading

- Add videoMaker + imageMaker namespace to en.json and fa.json
  (hero, features x5, use-cases x4, CTA per section)
- Pricing.tsx: replace hardcoded heading with t('pricing.heading')
- VideoMakerHero/Features/UseCases/Cta: full useTranslations wiring
- ImageMakerHero/Features/UseCases/Cta: full useTranslations wiring
- Features/UseCases arrays moved inside components; icons kept as
  module-level constants to avoid per-render allocation
This commit is contained in:
Soroush.Asadi
2026-05-25 07:40:26 +03:30
parent 39a86b93d4
commit 4875e468fe
11 changed files with 305 additions and 268 deletions
+64
View File
@@ -226,6 +226,70 @@
"searchPresets": "Search presets...",
"useTemplate": "Use Template"
},
"videoMaker": {
"badge": "Video Maker",
"heroTitle": "AI Video Maker — Create stunning videos in minutes",
"heroDesc": "Script, edit, caption, and export professional videos without a production team. Templates and AI tools handle the heavy lifting.",
"heroCta": "Start Making Videos Free",
"heroBrowse": "Browse video templates",
"featuresHeading": "Everything you need to edit faster",
"featuresSub": "From first draft to final export, FlatRender keeps your workflow in one place.",
"feature0Title": "500+ templates",
"feature0Desc": "Launch promos, explainers, and social clips from studio-quality starting points.",
"feature1Title": "AI script writer",
"feature1Desc": "Turn a brief into scene-by-scene scripts with hooks, CTAs, and on-brand tone.",
"feature2Title": "Auto-subtitles",
"feature2Desc": "Generate accurate captions in dozens of languages with one-click styling.",
"feature3Title": "Music library",
"feature3Desc": "Licensed tracks and sound effects matched to mood, tempo, and video length.",
"feature4Title": "1-click export",
"feature4Desc": "Export MP4 up to 4K with presets for YouTube, Reels, ads, and presentations.",
"useCasesHeading": "Built for every channel",
"useCasesSub": "Pick a format and let templates handle aspect ratio, safe zones, and pacing.",
"useCase0Title": "YouTube",
"useCase0Desc": "Intros, outros, and long-form explainers with chapters and thumbnail-ready frames.",
"useCase1Title": "Instagram Reels",
"useCase1Desc": "Vertical templates, bold captions, and beat-synced cuts built for short-form.",
"useCase2Title": "Ads",
"useCase2Desc": "High-converting promos for Meta, Google, and TikTok with platform-safe ratios.",
"useCase3Title": "Corporate Videos",
"useCase3Desc": "Onboarding, training, and investor updates with consistent brand styling.",
"ctaHeading": "Ready to create your first video?",
"ctaDesc": "Join over a million creators using FlatRender Video Maker — free to start, no credit card required.",
"ctaButton": "Start Making Videos Free"
},
"imageMaker": {
"badge": "Image Maker",
"heroTitle": "AI Image Maker — Design professional visuals instantly",
"heroDesc": "Generate, resize, and brand every asset for social, ads, and print without switching tools or hiring a designer.",
"heroCta": "Start Creating Images Free",
"heroBrowse": "View example gallery",
"featuresHeading": "Design smarter, not harder",
"featuresSub": "FlatRender Image Maker combines AI generation with pro layout tools in one workflow.",
"feature0Title": "AI image generation",
"feature0Desc": "Describe your idea and get on-brand visuals, backgrounds, and product shots in seconds.",
"feature1Title": "Templates",
"feature1Desc": "Start from layouts built for posts, stories, ads, and presentations — fully editable.",
"feature2Title": "Resize for any platform",
"feature2Desc": "One design, every size: Instagram, LinkedIn, banners, and print-ready exports.",
"feature3Title": "Brand kit",
"feature3Desc": "Lock logos, fonts, and colors so every asset stays consistent across your team.",
"feature4Title": "Batch export",
"feature4Desc": "Export dozens of variations at once for campaigns, locales, and A/B tests.",
"useCasesHeading": "Visuals for every use case",
"useCasesSub": "From quick social graphics to polished brand assets — one tool, every format.",
"useCase0Title": "Social Posts",
"useCase0Desc": "Square, portrait, and carousel layouts with bold typography and safe zones.",
"useCase1Title": "Thumbnails",
"useCase1Desc": "High-contrast covers for YouTube, podcasts, and courses that read at any size.",
"useCase2Title": "Banners",
"useCase2Desc": "Website heroes, email headers, and ad banners with responsive crop guides.",
"useCase3Title": "Logos",
"useCase3Desc": "Vector-friendly marks and lockups with transparent exports for any background.",
"ctaHeading": "Start designing your next visual today",
"ctaDesc": "Free plan includes exports and basic templates. Upgrade anytime for AI generation and brand kits.",
"ctaButton": "Start Creating Images Free"
},
"common": {
"loading": "Loading...",
"error": "Error",