feat: 优化翻译函数支持参数传递

This commit is contained in:
2026-01-24 17:06:40 +08:00
parent b7402edf6a
commit fc29ec880c
11 changed files with 653 additions and 686 deletions

View File

@@ -18,8 +18,6 @@
"learnMore": "Learn More",
"getStarted": "Get Started",
"startBuilding": "Start Building",
"viewPricing": "View Pricing",
"contactSales": "Contact Sales",
"signIn": "Sign In",
"register": "Register",
"features": "Features",
@@ -35,18 +33,20 @@
},
"nav": {
"tools": "Tools",
"pricing": "Pricing",
"docs": "Docs",
"about": "About",
"dashboard": "Dashboard",
"overview": "Overview",
"account": "Account"
"overview": "Overview"
},
"home": {
"hero": {
"badge": "Media Processing Tools",
"kicker": "Built for asset prep",
"title": "Empowering Game Development",
"description": "Video to frames, image compression, audio optimization. Everything you need to prepare game assets, in one place.",
"startBuilding": "Start Building",
"secondaryCta": "Explore tools",
"note": "No plugins. No setup. Just ship assets faster.",
"previewTitle": "Asset Processing Workbench",
"stats": {
"developers": "Developers",
"filesProcessed": "Files Processed",
@@ -57,6 +57,54 @@
"title": "Everything You Need",
"description": "Powerful tools designed specifically for game developers"
},
"showcase": {
"kicker": "Three tools. Zero clutter.",
"title": "A smoother pipeline for everyday assets",
"description": "Minimal controls. Predictable results. Designed to keep you in flow.",
"cta": "Open tool"
},
"workflow": {
"title": "Treat assets like a build step",
"description": "Clear inputs, clear outputs. Repeatable settings. Less trial-and-error.",
"steps": {
"step1": {
"title": "Drop files",
"description": "Batch-friendly. Drag files in and keep moving."
},
"step2": {
"title": "Tune the essentials",
"description": "Only the knobs you actually need: quality, FPS, formats."
},
"step3": {
"title": "Export clean outputs",
"description": "Structured results that fit right into art and engineering workflows."
}
}
},
"quality": {
"title": "Fast, stable, intentional",
"description": "Not feature bloat—just a better interaction loop.",
"items": {
"fast": {
"title": "Lightning fast",
"description": "Spend less time waiting and more time building."
},
"private": {
"title": "Secure by default",
"description": "Minimize exposure and keep processing straightforward."
},
"designed": {
"title": "Designed for devs",
"description": "Clear information hierarchy and repeatable rhythm across tools."
}
}
},
"final": {
"title": "Start now. Keep your time for the game.",
"description": "Pick a tool and build a faster workflow from the first asset.",
"primaryCta": "Get started",
"secondaryCta": "Try Video to Frames"
},
"tools": {
"videoToFrames": {
"title": "Video to Frames",
@@ -91,39 +139,10 @@
"description": "API access, batch processing, and tools designed for game development workflows."
}
},
"pricing": {
"title": "Simple, Transparent Pricing",
"description": "Start free, scale as you grow. No hidden fees.",
"plans": {
"free": {
"name": "Free",
"price": "$0",
"description": "Perfect for trying out",
"features": ["10 processes per day", "50MB max file size", "Basic tools", "Community support"],
"cta": "Get Started"
},
"pro": {
"name": "Pro",
"price": "$19",
"period": "/month",
"description": "For serious developers",
"features": ["Unlimited processes", "500MB max file size", "All tools including AI", "Priority support", "API access"],
"cta": "Start Free Trial",
"popular": "Most Popular"
},
"enterprise": {
"name": "Enterprise",
"price": "Custom",
"description": "For teams and businesses",
"features": ["Everything in Pro", "Unlimited file size", "Custom integrations", "Dedicated support", "SLA guarantee"],
"cta": "Contact Sales"
}
}
},
"cta": {
"title": "Ready to Level Up?",
"description": "Join thousands of game developers building amazing games with our tools.",
"getStarted": "Get Started for Free"
"getStarted": "Start Creating"
}
},
"sidebar": {
@@ -250,6 +269,15 @@
"saved": "Saved {{ratio}}%"
},
"footer": {
"tagline": "Media processing tools for game developers. Extract frames, compress images, optimize audio."
"tagline": "Media processing tools for game developers. Extract frames, compress images, optimize audio.",
"note": "Inspired by modern product storytelling—centered on your workflow, not UI noise.",
"sections": {
"tools": "Tools",
"company": "Product"
},
"links": {
"home": "Home"
},
"copyright": "All rights reserved"
}
}