refactor(i18n): 全工程面向国际用户与全球现代商务重构,彻底清理出海跨境等单向视角表达并对齐自动化测试

这个提交包含在:
wikiboss
2026-09-21 15:24:36 +08:00
父节点 ad9df7a7a4
当前提交 17882ca1cb
共有 135 个文件被更改,包括 12928 次插入 和 1653 次删除

查看文件

@@ -31,7 +31,14 @@ export type OverviewCopyKey =
| 'error'
| 'loading'
| 'unknownCountry'
| 'rankTitle';
| 'rankTitle'
| 'liveBadge'
| 'syncTime'
| 'leadsUnit'
| 'touchesUnit'
| 'scoreUnit'
| 'championBadge'
| 'emptyLeads';
export type OverviewSummary = {
totalLeads: number;
@@ -129,6 +136,27 @@ export function resolveOverviewText(key: OverviewCopyKey): string {
if (key === 'rankTitle') {
return zh ? '现场排行' : 'Floor ranking';
}
if (key === 'liveBadge') {
return zh ? '实时展会战报' : 'LIVE EXPO';
}
if (key === 'syncTime') {
return zh ? '已同步' : 'Synced';
}
if (key === 'leadsUnit') {
return zh ? '转化线索' : 'Leads';
}
if (key === 'touchesUnit') {
return zh ? '交互足迹' : 'Touches';
}
if (key === 'scoreUnit') {
return zh ? '分' : 'pts';
}
if (key === 'championBadge') {
return zh ? '冠军' : 'TOP 1';
}
if (key === 'emptyLeads') {
return zh ? '暂无新留资线索,保持现场触碰' : 'No new leads yet, keep networking';
}
return '';
}