Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei committed Oct 29, 2024
1 parent 3d2ff79 commit d4f9007
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/sidebar/tabs/ModelLibrarySidebarTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
text
v-tooltip="$t('refresh')"
/>
<Button
icon="pi pi-cloud-download"
@click="modelStore.loadModels"
severity="secondary"
text
v-tooltip="$t('loadAllFolders')"
/>
</template>
<template #header>
<SearchBox
Expand Down
3 changes: 3 additions & 0 deletions src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { createI18n } from 'vue-i18n'

const messages = {
en: {
loadAllFolders: 'Load All Folders',
refresh: 'Refresh',
terminal: 'Terminal',
videoFailedToLoad: 'Video failed to load',
Expand Down Expand Up @@ -115,6 +116,7 @@ const messages = {
}
},
zh: {
loadAllFolders: '加载所有文件夹',
refresh: '刷新',
terminal: '终端',
videoFailedToLoad: '视频加载失败',
Expand Down Expand Up @@ -228,6 +230,7 @@ const messages = {
},
ru: {
refresh: 'Обновить',
loadAllFolders: 'Загрузить все папки',
terminal: 'Терминал',
videoFailedToLoad: 'Видео не удалось загрузить',
extensionName: 'Название расширения',
Expand Down

0 comments on commit d4f9007

Please sign in to comment.