1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| // src/i18n/locales/en.ts
import type { I18nKey } from "../keys";
// Record<I18nKey, string> 确保所有 key 都有翻译
export const en: Record<I18nKey, string> = {
"nav.home": "Home",
"nav.pricing": "Pricing",
"nav.docs": "Docs",
"auth.signIn": "Sign In",
"auth.signUp": "Sign Up",
"auth.signOut": "Sign Out",
"auth.email": "Email",
"auth.password": "Password",
"landing.hero.title": "AI-Powered Creative Platform",
"landing.hero.description": "Generate professional images in seconds",
"landing.features.title": "Everything you need to create",
"landing.testimonials.title": "Loved by Creators Worldwide",
"landing.testimonials.subtitle": "Testimonials",
"landing.testimonials.description": "Hear what our users have to say",
"sidebar.dashboard": "Dashboard",
"sidebar.billing": "Billing",
"sidebar.settings": "Settings",
"sidebar.history": "History",
"sidebar.adminPanel": "Admin Panel",
"footer.copyright": "© 2026 RuiToolAI. All rights reserved.",
"footer.socialXSrOnly": "X (Twitter)",
"footer.socialInstagramSrOnly": "Instagram",
"footer.socialEmailSrOnly": "Email",
"error.notFound": "Page not found",
"error.serverError": "Something went wrong",
};
|