Files
gitlab-instance-0a899031_no…/lib/i18n.ts
2026-08-03 09:02:19 -05:00

110 lines
3.2 KiB
TypeScript

export type Locale = "zh" | "en";
export type EntryCardCopy = {
label: string;
title: string;
description: string;
};
export type Dictionary = {
htmlLang: string;
brandSubtitle: string;
heroTagline: string;
heroTaglineLine2: string;
copyright: string;
languageLabel: string;
liveBadge: string;
entryCards: Record<string, EntryCardCopy>;
about: {
title: string;
body: string;
backHome: string;
};
contact: {
title: string;
body: string;
liveCta: string;
vipCta: string;
backHome: string;
};
};
export const dictionaries: Record<Locale, Dictionary> = {
zh: {
htmlLang: "zh-CN",
brandSubtitle: "数字游民",
heroTagline: "游民导航 · 地理套利 · 直播工具箱",
heroTaglineLine2: "一站开启自由生活",
copyright: "© {year} Nomadro",
languageLabel: "语言",
liveBadge: "LIVE",
entryCards: {
nav: {
label: "游民导航",
title: "出海赚美金",
description: "资源导航、工具推荐、出海指南",
},
arbitrage: {
label: "地理套利",
title: "AI 自动化杠杆",
description: "低成本工作室、自建云手机、自动化系统",
},
live: {
label: "直播工具箱",
title: "随时随地开播",
description: "推流工具、场景模板、直播变现一站搞定",
},
},
about: {
title: "关于 Nomadro",
body: "Nomadro 是中文数字游民操作系统,提供游民导航、地理套利、直播工具箱等模块,帮助更多人从固定工位走向自由生活与自由收入。",
backHome: "← 返回首页",
},
contact: {
title: "联系我们",
body: "加入数字游民社群,获取最新动态与交流机会。",
liveCta: "🎬 直播工具箱",
vipCta: "👑 会员社群",
backHome: "← 返回首页",
},
},
en: {
htmlLang: "en",
brandSubtitle: "Digital Nomad",
heroTagline: "Nomad Nav · Geo Arbitrage · Live Toolkit",
heroTaglineLine2: "Your freedom lifestyle, in one place",
copyright: "© {year} Nomadro",
languageLabel: "Language",
liveBadge: "LIVE",
entryCards: {
nav: {
label: "Nomad Nav",
title: "Earn in USD overseas",
description: "Resource maps, tool picks, and go-abroad guides",
},
arbitrage: {
label: "Geo Arbitrage",
title: "AI automation leverage",
description: "Low-cost studios, self-hosted cloud phones, automation systems",
},
live: {
label: "Live Toolkit",
title: "Go live anywhere",
description: "Streaming tools, scene templates, and monetization in one place",
},
},
about: {
title: "About Nomadro",
body: "Nomadro is a digital nomad operating system for Chinese creators—covering nomad navigation, geo-arbitrage, and a live streaming toolkit—to help more people move from a fixed desk to freedom of life and income.",
backHome: "← Back to home",
},
contact: {
title: "Contact us",
body: "Join the digital nomad community for updates and connections.",
liveCta: "🎬 Live Toolkit",
vipCta: "👑 Members community",
backHome: "← Back to home",
},
},
};