Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix the unlimited label in the language pack configuration in DATAX. (#9167)

3.0.0/version-upgrade
Amy0104 3 years ago committed by GitHub
parent
commit
64d449952d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      dolphinscheduler-ui-next/src/locales/modules/en_US.ts
  2. 6
      dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts
  3. 4
      dolphinscheduler-ui-next/src/views/projects/task/components/node/fields/use-datax.ts

13
dolphinscheduler-ui-next/src/locales/modules/en_US.ts

@ -517,8 +517,10 @@ const project = {
related_items: 'Related items', related_items: 'Related items',
project_name: 'Project Name', project_name: 'Project Name',
project_tips: 'Please select 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_title:
workflow_relation_no_data_result_desc: 'There is not any workflows. Please create a workflow, and then visit this page again.', '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: { task: {
online: 'Online', online: 'Online',
@ -816,9 +818,9 @@ const project = {
switch_branch_flow: 'Branch Flow', switch_branch_flow: 'Branch Flow',
and: 'and', and: 'and',
or: 'or', or: 'or',
datax_custom_template: 'Custom Template Switch', datax_custom_template: 'Custom Template',
datax_json_template: 'JSON', 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_database: 'Target Database',
datax_target_table: 'Target Table', datax_target_table: 'Target Table',
datax_target_table_tips: 'Please enter the name of the 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', integer_tips: 'Please enter a positive integer',
sql_parameter: 'SQL Parameter', sql_parameter: 'SQL Parameter',
format_tips: 'Please enter format', format_tips: 'Please enter format',
udf_function: 'UDF Function' udf_function: 'UDF Function',
unlimited: 'unlimited'
} }
} }

6
dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts

@ -515,7 +515,8 @@ const project = {
project_name: '项目名称', project_name: '项目名称',
project_tips: '请选择项目', project_tips: '请选择项目',
workflow_relation_no_data_result_title: '工作流关系不存在', workflow_relation_no_data_result_title: '工作流关系不存在',
workflow_relation_no_data_result_desc: '目前没有任何工作流,请先创建工作流,再访问该页面', workflow_relation_no_data_result_desc:
'目前没有任何工作流,请先创建工作流,再访问该页面'
}, },
task: { task: {
online: '已上线', online: '已上线',
@ -909,7 +910,8 @@ const project = {
integer_tips: '请输入一个正整数', integer_tips: '请输入一个正整数',
sql_parameter: 'sql参数', sql_parameter: 'sql参数',
format_tips: '请输入格式为', format_tips: '请输入格式为',
udf_function: 'UDF函数' udf_function: 'UDF函数',
unlimited: '不限制'
} }
} }

4
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 destinationDatasourceOptions = ref([] as any)
const jobSpeedByteOptions: any[] = [ const jobSpeedByteOptions: any[] = [
{ {
label: '不限制', label: `0(${t('project.node.unlimited')})`,
value: 0 value: 0
}, },
{ {
@ -102,7 +102,7 @@ export function useDataX(model: { [field: string]: any }): IJsonItem[] {
] ]
const jobSpeedRecordOptions: any[] = [ const jobSpeedRecordOptions: any[] = [
{ {
label: '不限制', label: `0(${t('project.node.unlimited')})`,
value: 0 value: 0
}, },
{ {

Loading…
Cancel
Save