- 3 个并行 agent 各管 5 页,互不重叠命名空间 - 全 App 18 页均 i18n.bind,22 命名空间/400 键中英对齐 - 动态文案(时长/天数/价格/区域)JS 内 i18n.t 计算;区域标签复用 common.regions
30 行
991 B
JavaScript
30 行
991 B
JavaScript
// Strings for the scan page. Fill zh/en with identical key structure.
|
|
module.exports = {
|
|
zh: {
|
|
title: '扫码绑定',
|
|
subtitle: '扫描设备底部二维码',
|
|
scanText: '扫描设备二维码',
|
|
scan: '扫码',
|
|
scanning: '扫描中...',
|
|
manualInput: '手动输入设备号',
|
|
manualPlaceholder: '请输入设备ID,如 672B6D5A 4DCD861',
|
|
invalidQr: '无效的设备二维码',
|
|
alreadyBound: '已绑定设备',
|
|
bindFailed: '绑定失败',
|
|
invalidFormat: '设备号格式不正确'
|
|
},
|
|
en: {
|
|
title: 'Scan to Bind',
|
|
subtitle: 'Scan the QR code on the bottom of the device',
|
|
scanText: 'Scan device QR code',
|
|
scan: 'Scan',
|
|
scanning: 'Scanning...',
|
|
manualInput: 'Enter Device ID Manually',
|
|
manualPlaceholder: 'Enter device ID, e.g. 672B6D5A 4DCD861',
|
|
invalidQr: 'Invalid device QR code',
|
|
alreadyBound: 'Device already bound',
|
|
bindFailed: 'Binding failed',
|
|
invalidFormat: 'Invalid device ID format'
|
|
}
|
|
}
|