Преглед на файлове

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

Amy0104 преди 3 години
родител
ревизия
64d449952d

+ 8 - 5
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'
   }
 }
 

+ 4 - 2
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: '不限制'
   }
 }
 

+ 2 - 2
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
     },
     {