diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index f5c11dc43f..909fb3bda0 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -35,7 +35,9 @@ export default { save_success: 'Save success', roger_that: 'Roger that', delete_success: 'Delete success', - no_auth_tips: 'Missing menu permissions, please contact the administrator' + no_auth_tips: 'Missing menu permissions, please contact the administrator', + filter: 'Filter', + filter_condition: 'Filter Condition' }, toolbox: { name: 'Toolbox', @@ -1226,7 +1228,7 @@ export default { }, sync_task: { title: 'Task Management', - list: 'Task List', + task_list: 'Task List', log_list: 'Task Logs', add_task: 'Add Task', name: 'Name', @@ -1239,21 +1241,21 @@ export default { delete: 'Delete', start: 'Enable', stop: 'Stop', - terminated: 'Terminate Sync', - running_one: 'Run Once', - trigger_last_time: 'Last Execution Time', - trigger_next_time: 'Next Execution Time', + terminated: 'Terminate', + running_one: 'Execute Once', + trigger_last_time: 'Last Time', + trigger_next_time: 'Next Time', status_success: 'Success', status_running: 'Syncing', status_failed: 'Failed', - status_stopped: 'Task Stopped', - status_waiting: 'Waiting for Sync', - status_done: 'Task Completed', + status_stopped: 'Stopped', + status_waiting: 'Waiting', + status_done: 'Task Ended', status_terminated: 'Terminated', - status_connection_lost: 'Connection Lost', + status_connection_lost: 'Lost', log: 'Log', show_log: 'View Log', - last_execute_result: 'Last Execution Result', + last_execute_result: 'Last Result', execute_result: 'Execution Result', task_status: 'Task Status', sync: 'Sync', @@ -1261,6 +1263,152 @@ export default { batch_del: 'Batch Delete', selection_info: 'Selected {0} items', clear_button: 'Clear', - task_text: 'Task' + task_text: 'Task', + hour: 'Hour', + day: 'Day', + week: 'Week', + month: 'Month', + year: 'Year', + minute: 'Minute', + second: 'Second', + hour_minute_second: 'Hour:Minute:Second', + please_enter_task_name: 'Please enter task name', + input_limit_255: 'Length cannot exceed 255 characters', + please_enter: 'Please enter', + please_cron: 'Please enter a valid Cron expression', + please_choose: 'Please choose', + please_choose_start_time: 'Please choose start time', + please_choose_end_time: 'Please choose end time', + end_time_must_be_later_than_start_time: 'End time must be later than start time', + please_choose_database_type: 'Please choose database type', + please_choose_database: 'Please choose database', + please_choose_table: 'Please choose table', + please_enter_sql: 'Please enter SQL', + please_choose_incremental_field: 'Please choose incremental field', + please_enter_table_name: 'Please enter table name', + input_limit_64: 'Length cannot exceed 64 characters', + must_be_met_the_table_name: + 'Table name must start with a letter and can only contain letters, numbers, and underscores', + please_choose_partition_type: 'Please choose partition type', + please_enter_end_offset: 'Please enter end offset', + please_choose_partition_interval_unit: 'Please choose partition interval unit', + please_enter_partition_column_value: 'Please enter partition column value', + input_limit_4096: 'Length cannot exceed 4096 characters', + please_enter_starting_value: 'Please enter starting value', + please_enter_end_value: 'Please enter end value', + please_enter_numerical_range_interval: 'Please enter numerical range interval', + please_choose_time_range: 'Please choose time range', + edit_success: 'Edit successful', + add_success: 'Add successful', + target_database_status_is_abnormal: 'Target database status is abnormal', + edit_task: 'Edit Task', + basic_information: 'Basic Information', + source_database: 'Source Database', + target_database: 'Target Database', + task_time_out_time: 'Task Timeout (seconds)', + effective_if_greater_than_0: 'In seconds, effective if greater than 0', + retry_attempts_on_failure: 'Retry attempts on failure', + sync_frequency: 'Sync Frequency', + sync_immediately: 'Sync Immediately', + sync_cron: 'Cron Expression Setup', + sync_fixed_frequency: 'Fixed Frequency', + cron_expression: 'Cron Expression', + each: 'Every', + sync_once: 'Sync Once', + confirm: 'Confirm', + msg_get_database_table_failed: 'Failed to get database table', + msg_source_database_status_is_abnormal: 'Source database status is abnormal', + database: 'Database', + database_type: 'Type', + query_method: 'Query Method', + please_choose_data_extraction_method: 'Please choose data extraction method', + table: 'Table', + sql_tip_1: + 'This method does not always return the exact length or precision of column types as set by the user, but it can still serve as a reference for determining the maximum display length of each column in the result set.', + sql_tip_2: + 'To obtain more accurate column type length and precision, please use the library table method, or set the length and precision in the field mapping of the next step.', + please_enter_sql: 'Please enter query SQL', + msg_confirm_delete_field: 'Are you sure you want to delete this field?', + source_field: 'Source Field', + field_type: 'Type', + field_length: 'Length', + field_precision: 'Precision', + field_key: 'Key', + field_index: 'Index', + field_comment: 'Comment', + confirm_delete_field: 'Are you sure you want to delete field {0}?', + msg_field_list_empty_tip: + 'Field list cannot be empty, and fields with unknown types or empty names should not be included. Please check.', + next_week: 'Next Week', + next_month: 'Next Month', + next_three_month: 'Next Three Months', + must_be_start_less_end: 'End value of the range must be greater than the start value', + must_be_partition_interval_greater_than_0: 'Partition interval must be greater than 0', + must_be_partition_interval_less_end_start_difference: + 'Partition interval must be less than the difference between the end and start values', + date: 'Date', + list: 'Column', + number: 'Number', + define_mapping_field: 'Define Mapping Field', + target_database_type: 'Target Database Type', + delete_field: 'Delete Field', + add_field: 'Add Field', + edit_field: 'Edit Field', + add_all_field: 'Add All Fields', + fault_tolerance_rate: 'Fault Tolerance Rate', + fault_tolerance_rate_tip: + '0 to 1, default is 0, meaning if there is one error data in the sync batch, the entire batch import task will fail.', + incremental_sync: 'Incremental Sync', + incremental_sync_tip_1: 'Full Sync: Full overwrite sync', + incremental_sync_tip_2: + 'Incremental Sync: Sync based on incremental field, the incremental field must be of integer or time type', + incremental_field: 'Incremental Field', + enable_partition: 'Enable Partition', + enable_partition_tip: + 'Enabling partition requires the field list to not contain any empty values', + partition_type: 'Partition Type', + partition_field: 'Partition Field', + on: 'Enable', + off: 'Disable', + picker_to: 'To', + picker_start: 'Start', + picker_end: 'End', + end_offset: 'End Offset', + number_range: 'Number Range', + partition_interval: 'Partition Interval', + partition_column_value: 'Partition Column Value', + partition_column_value_placeholder: 'Partition format: p1:"v1","v2","v3";p2:"v1","v2"', + partition_interval_unit: 'Partition Interval Unit', + input_limit: 'Length cannot exceed {0} characters', + cannot_begin_with_number: 'Field name cannot start with a number', + duplicate_field_tip: + 'Duplicate field [{0}], the same source field cannot be mapped multiple times', + duplicate_name_error: 'Name duplication [{0}]', + confirm_batch_delete: 'Are you sure you want to batch delete the task?', + op_success: 'Operation successful', + search_input_name_desc_placeholder: 'Search by name or description', + confirm_delete_msg: 'Confirm Deletion?', + target_table_info: 'Target Table Information', + confirm_clear_msg: 'Are you sure you want to clear {0}?', + clear: 'Clear', + op_success_refresh: 'Operation successful, please refresh later', + execute_time: 'Execution Time', + clear_log: 'Clear Log', + search_input_name_id_placeholder: 'Search by Name or ID', + log_id: 'Log ID', + op: 'Operation', + view_execute_log: 'View Execution Log', + submit_true: 'Confirm', + please_choose_clear_method: 'Please choose a clearing method', + last_1_days_log: 'Logs from 1 day ago', + last_1_weeks_log: 'Logs from 1 week ago', + last_1_months_log: 'Logs from 1 month ago', + last_3_months_log: 'Logs from 3 months ago', + last_6_months_log: 'Logs from 6 months ago', + last_1_years_log: 'Logs from 1 year ago', + execute_log: 'Execution Log', + done: 'Done', + connection_lost: 'Connection Lost', + task_name: 'Task Name' } } diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index ca51ae7848..5a96278ce1 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -3116,14 +3116,14 @@ export default { }, sync_task: { title: '任務管理', - list: '任務列表', + task_list: '任務列表', log_list: '任務日誌', - add_task: '添加任務', + add_task: '新增任務', name: '名稱', desc: '描述', status: '狀態', create_time: '創建時間', - update_time: '更新时间', + update_time: '更新時間', operation: '操作', edit: '編輯', delete: '刪除', @@ -3149,9 +3149,150 @@ export default { sync: '同步', target_table: '目標表', batch_del: '批量刪除', - selection_info: '已選 {0} 項', + selection_info: '已選擇 {0} 項', clear_button: '清空', - task_text: '任務' + task_text: '任務', + hour: '小時', + day: '天', + week: '週', + month: '月', + year: '年', + minute: '分鐘', + second: '秒', + hour_minute_second: '時:分:秒', + please_enter_task_name: '請輸入任務名稱', + input_limit_255: '長度不能超過255個字符', + please_enter: '請輸入', + please_cron: '請輸入有效的Cron表達式', + please_choose: '請選擇', + please_choose_start_time: '請選擇開始時間', + please_choose_end_time: '請選擇結束時間', + end_time_must_be_later_than_start_time: '結束時間必須晚於開始時間', + please_choose_database_type: '請選擇數據庫類型', + please_choose_database: '請選擇數據庫', + please_choose_table: '請選擇表格', + please_enter_sql: '請輸入SQL', + please_choose_incremental_field: '請選擇增量字段', + please_enter_table_name: '請輸入表名', + input_limit_64: '長度不能超過64個字符', + must_be_met_the_table_name: '表名必須以字母開頭,並且只能包含字母、數字和下劃線', + please_choose_partition_type: '請選擇分區類型', + please_enter_end_offset: '請輸入結束偏移', + please_choose_partition_interval_unit: '請選擇分區間隔單位', + please_enter_partition_column_value: '請輸入分區列值', + input_limit_4096: '長度不能超過4096個字符', + please_enter_starting_value: '請輸入起始數值', + please_enter_end_value: '請輸入結束數值', + please_enter_numerical_range_interval: '請輸入數值範圍間隔', + please_choose_time_range: '請選擇時間範圍', + edit_success: '修改成功', + add_success: '新增成功', + target_database_status_is_abnormal: '目標數據庫狀態異常', + edit_task: '編輯任務', + basic_information: '基本信息', + source_database: '源數據庫', + target_database: '目標數據庫', + task_time_out_time: '任務超時時間(秒)', + effective_if_greater_than_0: '單位秒,大於0時生效', + retry_attempts_on_failure: '失敗重試次數', + sync_frequency: '同步頻率', + sync_immediately: '立即同步', + sync_cron: '表達式設置', + sync_fixed_frequency: '固定頻率', + cron_expression: 'Cron表達式', + each: '每', + sync_once: '同步一次', + confirm: '確認', + msg_get_database_table_failed: '獲取數據庫表格失敗', + msg_source_database_status_is_abnormal: '源數據庫狀態異常', + database: '數據庫', + database_type: '類型', + query_method: '查詢方式', + please_choose_data_extraction_method: '請選擇數據抽取方式', + table: '表格', + sql_tip_1: + '此方式在獲取列類型的長度或精度時,並不總是返回用戶設置的精確長度或精度,但它仍然可以作為一個參考值,用於確定結果集中每列的最大顯示長度。', + sql_tip_2: + '若需要獲得更精確的列類型長度和精度,請使用庫表方式,或在下一步中的字段映射中進行長度精度的設置。', + please_enter_sql: '請輸入查詢SQL', + msg_confirm_delete_field: '確定刪除該字段嗎?', + source_field: '源字段', + field_type: '類型', + field_length: '長度', + field_precision: '精度', + field_key: '鍵', + field_index: '索引', + field_comment: '注釋', + confirm_delete_field: '確定刪除字段 {0} 嗎?', + msg_field_list_empty_tip: '字段列表不能為空,且不能包含名稱為空或類型為UNKNOWN的數據,請檢查', + next_week: '未來一週', + next_month: '未來一個月', + next_three_month: '未來三個月', + must_be_start_less_end: '數值範圍結束數值必須大於起始數值', + must_be_partition_interval_greater_than_0: '分區間隔必須大於0', + must_be_partition_interval_less_end_start_difference: + '分區間隔必須小於結束數值與起始數值的差值', + date: '日期', + list: '列', + number: '數值', + define_mapping_field: '定義映射字段', + target_database_type: '目標數據庫類型', + delete_field: '刪除字段', + add_field: '新增字段', + edit_field: '編輯字段', + add_all_field: '新增所有字段', + fault_tolerance_rate: '容錯率', + fault_tolerance_rate_tip: + '0~1,默認為0,即表示同步批次數據有一條錯誤數據時,整個批次的導入任務將會失敗。', + incremental_sync: '增量同步', + incremental_sync_tip_1: '全量:全量覆蓋同步', + incremental_sync_tip_2: '增量:根據增量字段增量同步,增量字段必須是整型或時間類型', + incremental_field: '增量字段', + enable_partition: '啟用分區', + enable_partition_tip: '啟用分區,字段列表不能有空值', + partition_type: '分區類型', + partition_field: '分區字段', + on: '啟用', + off: '關閉', + picker_to: '至', + picker_start: '開始', + picker_end: '截止', + end_offset: '結束偏移', + number_range: '數值範圍', + partition_interval: '分區間隔', + partition_column_value: '分區列值', + partition_column_value_placeholder: '分區格式為: p1:"v1","v2","v3";p2:"v1","v2"', + partition_interval_unit: '分區間隔單位', + input_limit: '長度不能超過 {0} 個字符', + cannot_begin_with_number: '字段名稱不能以數字開頭', + duplicate_field_tip: '重複字段 [{0}],同一源字段不能映射多次', + duplicate_name_error: '名稱重複 [{0}]', + confirm_batch_delete: '確定批量刪除任務', + op_success: '操作成功', + search_input_name_desc_placeholder: '搜索名稱、描述', + confirm_delete_msg: '確定刪除?', + target_table_info: '目標表資訊', + confirm_clear_msg: '確定清理 {0} 嗎?', + clear: '清理', + op_success_refresh: '操作成功,請稍後刷新', + execute_time: '執行時間', + clear_log: '清理日誌', + search_input_name_id_placeholder: '搜尋名稱或ID', + log_id: '日誌ID', + op: '操作', + view_execute_log: '查看執行日誌', + submit_true: '確定', + please_choose_clear_method: '請選擇清理方式', + last_1_days_log: '1 天前的日誌', + last_1_weeks_log: '1 週前的日誌', + last_1_months_log: '1 個月前的日誌', + last_3_months_log: '3 個月前的日誌', + last_6_months_log: '6 個月前的日誌', + last_1_years_log: '1 年前的日誌', + execute_log: '執行日誌', + done: '完成', + connection_lost: '連接斷開', + task_name: '任務名稱' }, watermark: { support_params: '當前支持的參數:', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 7fc6d25e14..1154c1bf64 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -3208,7 +3208,7 @@ export default { }, sync_task: { title: '任务管理', - list: '任务列表', + task_list: '任务列表', log_list: '任务日志', add_task: '添加任务', name: '名称', @@ -3243,7 +3243,148 @@ export default { batch_del: '批量删除', selection_info: '已选 {0} 项', clear_button: '清空', - task_text: '任务' + task_text: '任务', + hour: '小时', + day: '天', + week: '周', + month: '月', + year: '年', + minute: '分钟', + second: '秒', + hour_minute_second: '时:分:秒', + please_enter_task_name: '请输入任务名称', + input_limit_255: '长度不能超过255个字符', + please_enter: '请输入', + please_cron: '请输入可用的Cron表达式:', + please_choose: '请选择', + please_choose_start_time: '请选择开始时间', + please_choose_end_time: '请选择结束时间', + end_time_must_be_later_than_start_time: '结束时间必须大于开始时间!', + please_choose_database_type: '请选择数据库类型', + please_choose_database: '请选择数据库', + please_choose_table: '请选择表', + please_enter_sql: '请输入SQL', + please_choose_incremental_field: '请选择增量字段', + please_enter_table_name: '请输入表名', + input_limit_64: '长度不能超过64个字符', + must_be_met_the_table_name: '必须以字母开头,并且只能包含字母、数字、下划线', + please_choose_partition_type: '请选择分区类型', + please_enter_end_offset: '请输入结束偏移度', + please_choose_partition_interval_unit: '请选择分区间隔的单位', + please_enter_partition_column_value: '请输入分区列值', + input_limit_4096: '长度不能超过4096个字符', + please_enter_starting_value: '请输入起始数值', + please_enter_end_value: '请输入结束数值', + please_enter_numerical_range_interval: '请输入数值分区间隔', + please_choose_time_range: '请选择时间范围', + edit_success: '修改成功', + add_success: '添加成功', + target_database_status_is_abnormal: '目标数据库状态异常', + edit_task: '编辑任务', + basic_information: '基本信息', + source_database: '源数据库', + target_database: '目标数据库', + task_time_out_time: '任务超时时间(秒)', + effective_if_greater_than_0: '单位秒,大于0时生效', + retry_attempts_on_failure: '失败重试次数', + sync_frequency: '同步频率', + sync_immediately: '立即同步', + sync_cron: '表达式设定', + sync_fixed_frequency: '固定频率', + cron_expression: 'Cron表达式', + each: '每', + sync_once: '同步一次', + confirm: '确认', + msg_get_database_table_failed: '获取数据库表失败', + msg_source_database_status_is_abnormal: '源数据库状态异常', + database: '数据库', + database_type: '类型', + query_method: '查询方式', + please_choose_data_extraction_method: '请选择数据抽取方式', + table: '表', + sql_tip_1: + '该方式在获取列类型的长度或者精度时,并不总是返回用户设置的精确和长度,但它仍然可以作为一个参考值,用于确定结果集中每列的最大显示长度。', + sql_tip_2: + '如需获取更精确的列类型长度精度,请使用库表方式,或者在下一步中的字段映射中进行长度精度的设置。', + please_enter_sql: '请输入查询SQL', + msg_confirm_delete_field: '确定删除该字段?', + source_field: '源字段', + field_type: '类型', + field_length: '长度', + field_precision: '精度', + field_key: '键', + field_index: '索引', + field_comment: '注释', + confirm_delete_field: '确定删除 {0} 字段?', + msg_field_list_empty_tip: + '字段列表不能为空,不能存在名称为空或者字段类型为UNKNOWN的数据,请检查', + next_week: '未来一周', + next_month: '未来一个月', + next_three_month: '未来三个月', + must_be_start_less_end: '数值范围结束数值必须大于起始数值', + must_be_partition_interval_greater_than_0: '分区间隔必须大于0', + must_be_partition_interval_less_end_start_difference: '分区间隔必须小于结束数值与起始数值差值', + date: '日期', + list: '列', + number: '数值', + define_mapping_field: '定义映射字段', + target_database_type: '目标数据库类型', + delete_field: '删除字段', + add_field: '添加字段', + edit_field: '编辑字段', + add_all_field: '添加所有字段', + fault_tolerance_rate: '容错率', + fault_tolerance_rate_tip: + '0~1,默认为0,即表示同步批次数据有一条错误数据时,整个批次的导入任务将会失败。', + incremental_sync: '增量同步', + incremental_sync_tip_1: '全量:全量覆盖同步', + incremental_sync_tip_2: '增量:根据增量字段增量同步,增量字段必须是整型或时间类型', + incremental_field: '增量字段', + enable_partition: '启用分区', + enable_partition_tip: '启用分区,需要字段列表不能有空值', + partition_type: '分区类型', + partition_field: '分区字段', + on: '启用', + off: '关闭', + picker_to: '至', + picker_start: '开始', + picker_end: '截止', + end_offset: '结束偏移', + number_range: '数值范围', + partition_interval: '分区间隔', + partition_column_value: '分区列值', + partition_column_value_placeholder: '分区格式为:p1:"v1","v2","v3";p2:"v1","v2"', + partition_interval_unit: '分区间隔单位', + input_limit: '长度不能超过{0}个字符', + cannot_begin_with_number: '字段名称不能以数字开头', + duplicate_field_tip: '重复字段[{0}],同一个源字段不能映射多次', + duplicate_name_error: '名称重复[{0}]', + confirm_batch_delete: '确定批量删除任务', + op_success: '操作成功', + search_input_name_desc_placeholder: '搜索名称、描述', + confirm_delete_msg: '确定删除?', + target_table_info: '目标表信息', + confirm_clear_msg: '确定清理 {0} 吗?', + clear: '清理', + op_success_refresh: '执行成功,请稍后刷新', + execute_time: '执行时间', + clear_log: '清理日志', + search_input_name_id_placeholder: '搜索名称、ID', + log_id: '日志ID', + op: '操作', + view_execute_log: '查看执行日志', + submit_true: '确定', + please_choose_clear_method: '请选择清理方式', + last_1_days_log: '1 天前的日志', + last_1_weeks_log: '1 周前的日志', + last_1_months_log: '1 个月前的日志', + last_3_months_log: '3 个月前的日志', + last_6_months_log: '6 个月前的日志', + last_1_years_log: '1 年前的日志', + execute_log: '执行日志', + done: '完成', + connection_lost: '连接断开', + task_name: '任务名称' }, watermark: { support_params: '当前支持的参数:', diff --git a/de-xpack b/de-xpack index c56e0ffb96..31f40ecb0c 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit c56e0ffb96c288e08a1431e42bb539c28cb4df7b +Subproject commit 31f40ecb0c67d258820bfd77c86f116dc21910b4