mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-04 21:07:20 +08:00
更新国际化支持:为工作流组件及相关对话框添加多语言文本,提升用户体验
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import { Handle, Position } from '@vue-flow/core'
|
||||
import { storageOptions } from '@/api/constants'
|
||||
import { useI18n } from 'vue-i18n'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
defineProps({
|
||||
id: {
|
||||
@@ -23,17 +26,28 @@ defineProps({
|
||||
<VIcon icon="mdi-folder-search" size="x-large"></VIcon>
|
||||
</VAvatar>
|
||||
</template>
|
||||
<VCardTitle>扫描目录</VCardTitle>
|
||||
<VCardSubtitle>扫描目录文件到队列</VCardSubtitle>
|
||||
<VCardTitle>{{ t('workflow.scanFile.title') }}</VCardTitle>
|
||||
<VCardSubtitle>{{ t('workflow.scanFile.subtitle') }}</VCardSubtitle>
|
||||
</VCardItem>
|
||||
<VDivider />
|
||||
<VCardText>
|
||||
<VRow>
|
||||
<VCol cols="12">
|
||||
<VSelect v-model="data.storage" label="存储" :items="storageOptions" outlined dense />
|
||||
<VSelect
|
||||
v-model="data.storage"
|
||||
:label="t('workflow.scanFile.storage')"
|
||||
:items="storageOptions"
|
||||
outlined
|
||||
dense
|
||||
/>
|
||||
</VCol>
|
||||
<VCol cols="12">
|
||||
<VPathField v-model="data.directory" :storage="data.storage" label="目录" clearable />
|
||||
<VPathField
|
||||
v-model="data.directory"
|
||||
:storage="data.storage"
|
||||
:label="t('workflow.scanFile.directory')"
|
||||
clearable
|
||||
/>
|
||||
</VCol>
|
||||
</VRow>
|
||||
</VCardText>
|
||||
|
||||
Reference in New Issue
Block a user