diff --git a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts b/dolphinscheduler-ui-next/src/locales/modules/en_US.ts index 4f8918c712f6aef5cfe77b994f19e2daf468c4e9..2222ba120e52b08246b02ed9c041be9c00728d21 100644 --- a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts +++ b/dolphinscheduler-ui-next/src/locales/modules/en_US.ts @@ -517,8 +517,10 @@ const project = { related_items: 'Related items', project_name: 'Project Name', project_tips: 'Please select project name', - workflow_relation_no_data_result_title: 'Can not find any relations of workflows.', - workflow_relation_no_data_result_desc: 'There is not any workflows. Please create a workflow, and then visit this page again.', + workflow_relation_no_data_result_title: + 'Can not find any relations of workflows.', + workflow_relation_no_data_result_desc: + 'There is not any workflows. Please create a workflow, and then visit this page again.' }, task: { online: 'Online', @@ -816,9 +818,9 @@ const project = { switch_branch_flow: 'Branch Flow', and: 'and', or: 'or', - datax_custom_template: 'Custom Template Switch', + datax_custom_template: 'Custom Template', datax_json_template: 'JSON', - datax_target_datasource_type: 'Target Datasource Type', + datax_target_datasource_type: 'Target Datasource Types', datax_target_database: 'Target Database', datax_target_table: 'Target Table', datax_target_table_tips: 'Please enter the name of the target table', @@ -919,7 +921,8 @@ const project = { integer_tips: 'Please enter a positive integer', sql_parameter: 'SQL Parameter', format_tips: 'Please enter format', - udf_function: 'UDF Function' + udf_function: 'UDF Function', + unlimited: 'unlimited' } } diff --git a/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts b/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts index a837b7a6d63f50ae82385118b733426ac121123a..1bf49c4bd18f91f2224d32e8c2ea0fbb9c3c8e39 100644 --- a/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts +++ b/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts @@ -515,7 +515,8 @@ const project = { project_name: '项目名称', project_tips: '请选择项目', workflow_relation_no_data_result_title: '工作流关系不存在', - workflow_relation_no_data_result_desc: '目前没有任何工作流,请先创建工作流,再访问该页面', + workflow_relation_no_data_result_desc: + '目前没有任何工作流,请先创建工作流,再访问该页面' }, task: { online: '已上线', @@ -909,7 +910,8 @@ const project = { integer_tips: '请输入一个正整数', sql_parameter: 'sql参数', format_tips: '请输入格式为', - udf_function: 'UDF函数' + udf_function: 'UDF函数', + unlimited: '不限制' } } diff --git a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datax.ts b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datax.ts index 9bd25a03360687f38f0d6377925a9d7c400e2bc2..ef80e05583ae6e6542324ede56301a2232ae499e 100644 --- a/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datax.ts +++ b/dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datax.ts @@ -76,7 +76,7 @@ export function useDataX(model: { [field: string]: any }): IJsonItem[] { const destinationDatasourceOptions = ref([] as any) const jobSpeedByteOptions: any[] = [ { - label: '不限制', + label: `0(${t('project.node.unlimited')})`, value: 0 }, { @@ -102,7 +102,7 @@ export function useDataX(model: { [field: string]: any }): IJsonItem[] { ] const jobSpeedRecordOptions: any[] = [ { - label: '不限制', + label: `0(${t('project.node.unlimited')})`, value: 0 }, {