- 3 个并行 agent 各管 5 页,互不重叠命名空间 - 全 App 18 页均 i18n.bind,22 命名空间/400 键中英对齐 - 动态文案(时长/天数/价格/区域)JS 内 i18n.t 计算;区域标签复用 common.regions
60 行
2.5 KiB
JavaScript
60 行
2.5 KiB
JavaScript
// Strings for the treating (live treatment) page. Keep zh/en with identical key structure.
|
|
module.exports = {
|
|
zh: {
|
|
title: '使用中',
|
|
subtitle: '正在使用...',
|
|
remainingLabel: '剩余时间',
|
|
smartMode: '✨ 智能模式',
|
|
normalMode: '🔄 普通模式',
|
|
allRegions: '全区域',
|
|
regionTopLeft: '左上区',
|
|
regionTopRight: '右上区',
|
|
relax1: '请放松心情',
|
|
relax2: '享受美好时光',
|
|
stopBtn: '停止使用',
|
|
fittingLost: '检测到离肤,请重新佩戴设备',
|
|
fittingRestored: '已重新贴合,继续使用',
|
|
faultTitle: '设备故障',
|
|
faultContent: '设备上报故障,已自动停止。',
|
|
lowBatteryTitle: '电量过低',
|
|
lowBatteryContent: '设备电量不足5%,已自动停止。请及时充电。',
|
|
lowBatteryWarn: '电量低,请及时充电',
|
|
exceptionTitle: '设备异常',
|
|
exceptionContent: '使用过程中出现异常',
|
|
disconnected: '设备连接断开,正在重连...',
|
|
reconnected: '设备已重新连接',
|
|
reconnectFailedTitle: '连接丢失',
|
|
reconnectFailedContent: '设备蓝牙连接已断开,无法恢复。本次使用数据将保存。',
|
|
stopTitle: '结束使用',
|
|
stopContent: '确定要提前结束本次使用吗?'
|
|
},
|
|
en: {
|
|
title: 'In Progress',
|
|
subtitle: 'Treatment in progress...',
|
|
remainingLabel: 'Time Left',
|
|
smartMode: '✨ Smart Mode',
|
|
normalMode: '🔄 Normal Mode',
|
|
allRegions: 'All regions',
|
|
regionTopLeft: 'Top-left',
|
|
regionTopRight: 'Top-right',
|
|
relax1: 'Relax and unwind',
|
|
relax2: 'Enjoy your moment',
|
|
stopBtn: 'Stop',
|
|
fittingLost: 'Device lifted off skin. Please put it back on',
|
|
fittingRestored: 'Re-fitted, continuing',
|
|
faultTitle: 'Device Fault',
|
|
faultContent: 'The device reported a fault and stopped automatically.',
|
|
lowBatteryTitle: 'Battery Too Low',
|
|
lowBatteryContent: 'Battery is below 5%. Stopped automatically. Please charge soon.',
|
|
lowBatteryWarn: 'Low battery, please charge soon',
|
|
exceptionTitle: 'Device Error',
|
|
exceptionContent: 'Something went wrong during the session',
|
|
disconnected: 'Device disconnected, reconnecting...',
|
|
reconnected: 'Device reconnected',
|
|
reconnectFailedTitle: 'Connection Lost',
|
|
reconnectFailedContent: 'The Bluetooth connection was lost and cannot be restored. This session will be saved.',
|
|
stopTitle: 'End Session',
|
|
stopContent: 'Are you sure you want to end this session early?'
|
|
}
|
|
}
|