From 9267002baa16eab4dcb219ef1ecb47a5e1b51643 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Mon, 20 Jan 2025 14:32:43 +0800 Subject: [PATCH] feat: i18n --- ui/src/workflow/nodes/application-node/index.vue | 6 ++---- ui/src/workflow/nodes/image-understand/index.vue | 10 ++++------ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/ui/src/workflow/nodes/application-node/index.vue b/ui/src/workflow/nodes/application-node/index.vue index 6ac7adcde..b295abd17 100644 --- a/ui/src/workflow/nodes/application-node/index.vue +++ b/ui/src/workflow/nodes/application-node/index.vue @@ -67,9 +67,7 @@ ref="nodeCascaderRef" :nodeModel="nodeModel" class="w-full" - :placeholder=" - $t('views.applicationWorkflow.nodes.imageUnderstandNode.image.requiredMessage') - " + :placeholder="$t('views.applicationWorkflow.nodes.imageUnderstandNode.image.requiredMessage')" v-model="form_data.image_list" /> @@ -88,7 +86,7 @@ ref="nodeCascaderRef" :nodeModel="nodeModel" class="w-full" - :placeholder="$t('views.applicationWorkflow.nodes.speechToTextNode.audio.placeholder')," + :placeholder="$t('views.applicationWorkflow.nodes.speechToTextNode.audio.placeholder')" v-model="form_data.audio_list" /> diff --git a/ui/src/workflow/nodes/image-understand/index.vue b/ui/src/workflow/nodes/image-understand/index.vue index 3faae9f76..56eb4e3af 100644 --- a/ui/src/workflow/nodes/image-understand/index.vue +++ b/ui/src/workflow/nodes/image-understand/index.vue @@ -116,9 +116,7 @@ />