mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-27 07:34:12 +08:00
feat(logs): add i18n translation support
Signed-off-by: kunish <kunish.butt@gmail.com>
This commit is contained in:
parent
f2ef7790dd
commit
965ec502ac
@ -72,4 +72,6 @@ export default {
|
||||
latencyTestTimeoutDuration: 'Latency Test Timeout Duration',
|
||||
closedConnections: 'Closed Connections',
|
||||
all: 'All',
|
||||
sequence: 'Sequence',
|
||||
payload: 'Payload',
|
||||
}
|
||||
|
@ -71,4 +71,6 @@ export default {
|
||||
latencyTestTimeoutDuration: '测速超时时间',
|
||||
closedConnections: '已关闭连接',
|
||||
all: '全部',
|
||||
sequence: '序列号',
|
||||
payload: '内容',
|
||||
}
|
||||
|
@ -35,14 +35,17 @@ export default () => {
|
||||
const columns: ColumnDef<LogWithSeq>[] = [
|
||||
{
|
||||
accessorKey: 'Sequence',
|
||||
header: t('sequence'),
|
||||
accessorFn: (row) => row.seq,
|
||||
},
|
||||
{
|
||||
accessorKey: 'Type',
|
||||
header: t('type'),
|
||||
accessorFn: (row) => row.type,
|
||||
},
|
||||
{
|
||||
accessorKey: 'Payload',
|
||||
header: t('payload'),
|
||||
accessorFn: (row) => row.payload,
|
||||
},
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user