feat: lang setting

This commit is contained in:
yanzhiyong 2024-09-05 00:52:30 +08:00
parent 70dc475aa4
commit 3b6a5bd602
3 changed files with 6 additions and 2 deletions

View File

@ -37,12 +37,12 @@ export const TemplateFlowModa: React.FC<Props> = ({
}
const columns: TableProps<DataType>['columns'] = [
{
title: 'Name',
title: t('BringName'),
dataIndex: 'name',
key: 'name',
},
{
title: 'Action',
title:t('BringAction'),
key: 'action',
render: (_, record) => (
<Space size="middle">

View File

@ -7,6 +7,8 @@ export const FlowEn = {
Export_Flow_Success: 'Export flow success',
Import_Flow_Success: 'Import flow success',
BringTemplate: 'Bring In Template',
BringName: 'Bring Name',
BringAction: 'Bring Action',
Import: 'Import',
Export: 'Export',
Import_Flow: 'Import Flow',

View File

@ -7,8 +7,10 @@ export const FlowZn = {
Export_Flow_Success: '导出工作流成功',
Import_Flow_Success: '导入工作流成功',
BringTemplate: '引入模版',
BringAction: '操作',
Import: '导入',
Export: '导出',
BringName: '模版名称',
Import_Flow: '导入工作流',
Export_Flow: '导出工作流',
LeadTemplate: '引入模版',