- 3 个并行 agent 各管 5 页,互不重叠命名空间 - 全 App 18 页均 i18n.bind,22 命名空间/400 键中英对齐 - 动态文案(时长/天数/价格/区域)JS 内 i18n.t 计算;区域标签复用 common.regions
34 行
1.2 KiB
JavaScript
34 行
1.2 KiB
JavaScript
// Strings for the bleConnect page. Fill zh/en with identical key structure.
|
|
module.exports = {
|
|
zh: {
|
|
title: '蓝牙连接',
|
|
searchingSub: '正在搜索设备...',
|
|
connectingSub: '正在连接设备...',
|
|
bindingSub: '正在绑定...',
|
|
failedSub: '连接失败',
|
|
bluetoothTip: '请确保手机蓝牙已开启',
|
|
searching: '搜索中...',
|
|
pairing: '正在配对...',
|
|
failed: '连接失败',
|
|
scanTimeout: '搜索超时,请确认设备已开机并在附近',
|
|
confirmFailed: '后台确认绑定失败',
|
|
bindFailed: '设备绑定失败',
|
|
bindCmdFailed: '绑定命令失败'
|
|
},
|
|
en: {
|
|
title: 'Bluetooth Connection',
|
|
searchingSub: 'Searching for device...',
|
|
connectingSub: 'Connecting to device...',
|
|
bindingSub: 'Binding...',
|
|
failedSub: 'Connection failed',
|
|
bluetoothTip: 'Please make sure Bluetooth is enabled on your phone',
|
|
searching: 'Searching...',
|
|
pairing: 'Pairing...',
|
|
failed: 'Connection failed',
|
|
scanTimeout: 'Search timed out. Please make sure the device is powered on and nearby',
|
|
confirmFailed: 'Failed to confirm binding on the server',
|
|
bindFailed: 'Device binding failed',
|
|
bindCmdFailed: 'Binding command failed'
|
|
}
|
|
}
|