136
136
placement =" top"
137
137
width =" auto"
138
138
>
139
- <template #default >
140
- <!-- <div>语言: {{ scope.row.content.languageSelect }}</div>
141
- <div>语音: {{ scope.row.content.voiceSelect }}</div>
142
- <div>风格: {{ scope.row.content.voiceStyleSelect }}</div>
143
- <div>角色: {{ scope.row.content.role }}</div>
144
- <div>语速: {{ scope.row.content.speed }}</div>
145
- <div>音调: {{ scope.row.content.pitch }}</div> -->
139
+ <template #default >-->
146
140
<div >{{ t('configPage.language') }}: {{ scope.row.content.languageSelect }}</div >
147
141
<div >{{ t('configPage.voice') }}: {{ scope.row.content.voiceSelect }}</div >
148
142
<div >{{ t('configPage.style') }}: {{ scope.row.content.voiceStyleSelect }}</div >
@@ -202,7 +196,7 @@ import { storeToRefs } from "pinia";
202
196
import Donate from " ./Donate.vue" ;
203
197
import { useI18n } from ' vue-i18n' ;
204
198
import i18n from " @/assets/i18n/i18n" ;
205
- const { t } = useI18n ();
199
+ const { t } = useI18n ();
206
200
207
201
const { ipcRenderer, shell } = require (" electron" );
208
202
@@ -214,8 +208,6 @@ const { config } = storeToRefs(ttsStore);
214
208
215
209
216
210
const languages = [
217
- // Agrega más idiomas según sea necesario
218
-
219
211
{ label: ' English' , value: ' en' },
220
212
{ label: ' Español' , value: ' es' },
221
213
{ label: ' 中文' , value: ' zh' },
@@ -227,7 +219,6 @@ const gptModels = [
227
219
{ label: ' GPT-3.5 Turbo Instruct' , value: ' gpt-3.5-turbo-instruct' },
228
220
{ label: ' GPT 4 8k' , value: ' gpt-4' },
229
221
{ label: ' GPT 4 32k' , value: ' gpt-4-32k' },
230
- // Agrega más modelos según sea necesario
231
222
];
232
223
233
224
const saveLanguageConfig = () => {
0 commit comments