chore: update worker locale

This commit is contained in:
jialin
2025-10-17 21:11:31 +08:00
parent 49c6bb71a1
commit 19e275a17a
23 changed files with 82 additions and 65 deletions
@@ -286,7 +286,7 @@ const useFilesColumns = (props: {
}
},
{
title: 'Worker',
title: intl.formatMessage({ id: 'resources.worker' }),
dataIndex: 'worker_name',
ellipsis: {
showTitle: false
@@ -73,7 +73,7 @@ const useGPUColumns = (props: {
)
},
{
title: 'Worker',
title: intl.formatMessage({ id: 'resources.worker' }),
dataIndex: 'worker_name',
ellipsis: {
showTitle: false
@@ -60,7 +60,8 @@ const renderGpuIndexs = (gpuIndexes: number[]) => {
const distributeCols: ColumnProps[] = [
{
title: 'Worker',
title: 'resources.worker',
locale: true,
key: 'worker_name',
style: {
wordBreak: 'break-word'
@@ -310,7 +311,7 @@ const useInstanceColumns = (props: {
)
},
{
title: 'Worker',
title: intl.formatMessage({ id: 'resources.worker' }),
dataIndex: 'worker_name',
render: (text: string, record: ListItem) => (
<AutoTooltip ghost>{text}</AutoTooltip>