Skip to content

Commit 7e9c440

Browse files
committed
feat: add upload method label translations to workflow settings
1 parent 7e1c2c2 commit 7e9c440

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

ui/src/locales/lang/en-US/views/workflow.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export default {
128128
imageText: 'Requires "Image Understanding" node to parse image content',
129129
videoText: 'Requires "Video Understanding" node to parse video content',
130130
audioText: 'Requires "Speech-to-Text" node to parse audio content',
131+
uploadMethod: 'Upload Method',
131132
},
132133
},
133134
},

ui/src/locales/lang/zh-CN/views/workflow.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ export default {
130130
audioText: '需要使用“语音转文本”节点解析音频内容',
131131
videoText: '需要使用“视频理解”节点解析视频内容',
132132
otherText: '需要自行解析该类型文件',
133+
uploadMethod: '上传方式',
133134
},
134135
},
135136
},

ui/src/locales/lang/zh-Hant/views/workflow.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export default {
128128
imageText: '需要使用「圖片理解」節點解析圖片內容',
129129
videoText: '需要使用「視頻理解」節點解析視頻內容',
130130
audioText: '需要使用「語音轉文本」節點解析音頻內容',
131+
uploadMethod: '上傳方式',
131132
},
132133
},
133134
},
@@ -437,13 +438,13 @@ export default {
437438
loopIndex: '下標',
438439
loopItem: '循環元素',
439440
},
440-
loopBodyNode: { label: '循環體', text: '循環體' },
441+
loopBodyNode: {label: '循環體', text: '循環體'},
441442
loopContinueNode: {
442443
label: 'Continue',
443444
text: '用於終止當前循環,執行下次循環',
444445
isContinue: 'Continue',
445446
},
446-
loopBreakNode: { label: 'Break', text: '終止當前循環,跳出循環體', isBreak: 'Break' },
447+
loopBreakNode: {label: 'Break', text: '終止當前循環,跳出循環體', isBreak: 'Break'},
447448
variableSplittingNode: {
448449
label: '變量拆分',
449450
text: '通過配置 JSON Path 表達式,對輸入的 JSON 格式變量進行解析和拆分',

ui/src/workflow/nodes/base-node/component/FileUploadSettingDialog.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,10 @@
230230
/>
231231
</div>
232232
</el-card>
233-
<el-form-item>
233+
<el-form-item
234+
:label="
235+
$t('views.workflow.nodes.baseNode.FileUploadSetting.fileUploadType.uploadMethod')
236+
">
234237
<div class="flex align-center">
235238
<el-checkbox
236239
v-model="form_data.local_upload"

0 commit comments

Comments
 (0)