This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git
The following commit(s) were added to refs/heads/main by this push:
new bacb58a9 [Improvement] Optimize descriptive text of sections for CDC
page (#241)
bacb58a9 is described below
commit bacb58a937ae91f6f04d9c2c56a956835ebd7a3f
Author: yangyang zhong <[email protected]>
AuthorDate: Mon May 27 16:01:10 2024 +0800
[Improvement] Optimize descriptive text of sections for CDC page (#241)
---
paimon-web-ui/src/form-lib/cdc/use-paimon.ts | 2 +-
paimon-web-ui/src/locales/en/modules/cdc.ts | 2 +-
paimon-web-ui/src/locales/zh/modules/cdc.ts | 2 +-
paimon-web-ui/src/views/cdc/components/dag/index.tsx | 3 ++-
paimon-web-ui/src/views/cdc/index.tsx | 2 +-
5 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/paimon-web-ui/src/form-lib/cdc/use-paimon.ts
b/paimon-web-ui/src/form-lib/cdc/use-paimon.ts
index 1d6c157a..d1c7f0a5 100644
--- a/paimon-web-ui/src/form-lib/cdc/use-paimon.ts
+++ b/paimon-web-ui/src/form-lib/cdc/use-paimon.ts
@@ -36,7 +36,7 @@ export function usePaimon(item: any) {
{
type: 'select',
field: 'catalog',
- name: 'catalog',
+ name: 'Catalog',
span: computed(() => (tabType.value === 'catalog_configuration' ? 24 :
0)),
props: {
placeholder: '',
diff --git a/paimon-web-ui/src/locales/en/modules/cdc.ts
b/paimon-web-ui/src/locales/en/modules/cdc.ts
index b344543b..8a985b65 100644
--- a/paimon-web-ui/src/locales/en/modules/cdc.ts
+++ b/paimon-web-ui/src/locales/en/modules/cdc.ts
@@ -16,7 +16,7 @@ specific language governing permissions and limitations
under the License. */
export default {
- synchronization_job_definition: 'Synchronization Job Definition',
+ cdc_job_definition: 'Cdc Job Definition',
create_synchronization_job: 'Create Synchronization Job',
job_name: 'Job Name',
synchronization_type: 'Synchronization type',
diff --git a/paimon-web-ui/src/locales/zh/modules/cdc.ts
b/paimon-web-ui/src/locales/zh/modules/cdc.ts
index d4e05063..f6ed1801 100644
--- a/paimon-web-ui/src/locales/zh/modules/cdc.ts
+++ b/paimon-web-ui/src/locales/zh/modules/cdc.ts
@@ -16,7 +16,7 @@ specific language governing permissions and limitations
under the License. */
export default {
- synchronization_job_definition: '同步任务定义',
+ cdc_job_definition: 'CDC集成任务定义',
create_synchronization_job: '创建同步作业',
job_name: '作业名称',
synchronization_type: '同步类型',
diff --git a/paimon-web-ui/src/views/cdc/components/dag/index.tsx
b/paimon-web-ui/src/views/cdc/components/dag/index.tsx
index 58973b03..87292e2d 100644
--- a/paimon-web-ui/src/views/cdc/components/dag/index.tsx
+++ b/paimon-web-ui/src/views/cdc/components/dag/index.tsx
@@ -47,6 +47,7 @@ export default defineComponent({
router.push({ path: '/cdc_ingestion' })
})
}
+
}
const router: Router = useRouter()
@@ -79,7 +80,7 @@ export default defineComponent({
<n-space align="center">
<n-icon component={Leaf} color="#2F7BEA" size="18" />
<span class={styles.title} onClick={this.handleJump}>
- {this.t('cdc.synchronization_job_definition')}
+ {this.t('cdc.cdc_job_definition')}
{' '}
{
this.name ? ` - ${this.name}` : ''
diff --git a/paimon-web-ui/src/views/cdc/index.tsx
b/paimon-web-ui/src/views/cdc/index.tsx
index 601971ee..1087e231 100644
--- a/paimon-web-ui/src/views/cdc/index.tsx
+++ b/paimon-web-ui/src/views/cdc/index.tsx
@@ -87,7 +87,7 @@ export default defineComponent({
<div class={styles.title}>
<n-space align="center">
<n-icon component={Leaf} color="#2F7BEA" size="18" />
- <span>{this.t('cdc.synchronization_job_definition')}</span>
+ <span>{this.t('cdc.cdc_job_definition')}</span>
</n-space>
<div class={styles.operation}>
<n-space>