Spaces:
Running
Running
axeronis commited on
Commit ·
94bac89
1
Parent(s): 00ae4a2
feat: complete i18n for Voice settings page with voice section (RU/EN/KY)
Browse files
frontend/app/settings/voice/page.tsx
CHANGED
|
@@ -11,6 +11,7 @@ import { motion } from 'framer-motion'
|
|
| 11 |
import { cn } from '@/lib/utils'
|
| 12 |
import { api } from '@/lib/api'
|
| 13 |
import { useToast } from '@/contexts/ToastContext'
|
|
|
|
| 14 |
|
| 15 |
interface VoiceSettings {
|
| 16 |
voice_id: string
|
|
@@ -58,6 +59,7 @@ export default function VoiceSettingsPage() {
|
|
| 58 |
const { token, user } = useAuth()
|
| 59 |
const toast = useToast()
|
| 60 |
const queryClient = useQueryClient()
|
|
|
|
| 61 |
const [settings, setSettings] = useState<VoiceSettings>({
|
| 62 |
voice_id: 'professional_male',
|
| 63 |
voice_enabled: true,
|
|
@@ -125,7 +127,7 @@ export default function VoiceSettingsPage() {
|
|
| 125 |
}
|
| 126 |
audioRef.current.onerror = () => {
|
| 127 |
setPlayingVoice(null)
|
| 128 |
-
toast.error('
|
| 129 |
}
|
| 130 |
audioRef.current.play()
|
| 131 |
} catch (error) {
|
|
@@ -147,9 +149,9 @@ export default function VoiceSettingsPage() {
|
|
| 147 |
headers: { Authorization: `Bearer ${token}` }
|
| 148 |
})
|
| 149 |
queryClient.invalidateQueries({ queryKey: ['voice-settings'] })
|
| 150 |
-
toast.success('
|
| 151 |
} catch (error) {
|
| 152 |
-
toast.error('
|
| 153 |
} finally {
|
| 154 |
setSaving(false)
|
| 155 |
}
|
|
@@ -159,10 +161,10 @@ export default function VoiceSettingsPage() {
|
|
| 159 |
const file = event.target.files?.[0]
|
| 160 |
if (!file) return
|
| 161 |
if (file.size > 10 * 1024 * 1024) {
|
| 162 |
-
toast.error('
|
| 163 |
return
|
| 164 |
}
|
| 165 |
-
toast.warning('
|
| 166 |
}
|
| 167 |
|
| 168 |
if (loading) {
|
|
@@ -182,8 +184,8 @@ export default function VoiceSettingsPage() {
|
|
| 182 |
<Volume2 className="w-6 h-6 text-white" />
|
| 183 |
</div>
|
| 184 |
<div>
|
| 185 |
-
<h1 className="text-2xl font-bold text-white">
|
| 186 |
-
<p className="text-zinc-500 text-sm">
|
| 187 |
</div>
|
| 188 |
</div>
|
| 189 |
<button
|
|
@@ -192,7 +194,7 @@ export default function VoiceSettingsPage() {
|
|
| 192 |
className="flex items-center gap-2 px-6 py-3 bg-gradient-to-r from-indigo-500 to-purple-600 hover:from-indigo-400 hover:to-purple-500 rounded-xl text-white font-semibold transition-all shadow-lg shadow-indigo-500/25 disabled:opacity-50"
|
| 193 |
>
|
| 194 |
{saving ? <Loader2 className="w-4 h-4 animate-spin" /> : <Save className="w-4 h-4" />}
|
| 195 |
-
|
| 196 |
</button>
|
| 197 |
</div>
|
| 198 |
|
|
@@ -205,9 +207,9 @@ export default function VoiceSettingsPage() {
|
|
| 205 |
>
|
| 206 |
<AlertCircle className="w-5 h-5 text-amber-400 flex-shrink-0 mt-0.5" />
|
| 207 |
<div>
|
| 208 |
-
<p className="text-amber-200 font-medium text-sm">
|
| 209 |
<p className="text-amber-300/60 text-xs mt-1">
|
| 210 |
-
|
| 211 |
</p>
|
| 212 |
</div>
|
| 213 |
</motion.div>
|
|
@@ -234,11 +236,11 @@ export default function VoiceSettingsPage() {
|
|
| 234 |
)}
|
| 235 |
</div>
|
| 236 |
<div>
|
| 237 |
-
<h3 className="text-lg font-semibold text-white">
|
| 238 |
<p className="text-zinc-500 text-sm">
|
| 239 |
{settings.voice_enabled
|
| 240 |
-
? '
|
| 241 |
-
: '
|
| 242 |
}
|
| 243 |
</p>
|
| 244 |
</div>
|
|
@@ -264,8 +266,8 @@ export default function VoiceSettingsPage() {
|
|
| 264 |
{/* Voice Selection */}
|
| 265 |
<div className="space-y-4">
|
| 266 |
<div className="flex items-center justify-between">
|
| 267 |
-
<h3 className="text-lg font-semibold text-white">
|
| 268 |
-
<span className="text-zinc-600 text-sm">
|
| 269 |
</div>
|
| 270 |
|
| 271 |
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
|
|
@@ -345,9 +347,9 @@ export default function VoiceSettingsPage() {
|
|
| 345 |
)}
|
| 346 |
>
|
| 347 |
{isPlaying ? (
|
| 348 |
-
<><Square className="w-4 h-4" />
|
| 349 |
) : (
|
| 350 |
-
<><Play className="w-4 h-4" />
|
| 351 |
)}
|
| 352 |
</button>
|
| 353 |
</motion.div>
|
|
@@ -369,17 +371,17 @@ export default function VoiceSettingsPage() {
|
|
| 369 |
</div>
|
| 370 |
<div>
|
| 371 |
<div className="flex items-center gap-2">
|
| 372 |
-
<h3 className="font-semibold text-white">
|
| 373 |
-
<span className="px-2 py-0.5 rounded-full bg-purple-500/20 text-purple-300 text-xs font-medium">
|
| 374 |
</div>
|
| 375 |
-
<p className="text-zinc-500 text-sm">
|
| 376 |
</div>
|
| 377 |
</div>
|
| 378 |
|
| 379 |
{settings.voice_reference_url ? (
|
| 380 |
<div className="flex items-center gap-4 p-4 rounded-xl bg-emerald-500/10">
|
| 381 |
<CheckCircle2 className="w-5 h-5 text-emerald-400" />
|
| 382 |
-
<span className="text-white text-sm flex-1">
|
| 383 |
<button
|
| 384 |
onClick={() => setSettings(prev => ({ ...prev, voice_reference_url: null, voice_id: 'professional_male' }))}
|
| 385 |
className="p-2 text-red-400 hover:bg-red-500/10 rounded-lg transition-colors"
|
|
@@ -398,7 +400,7 @@ export default function VoiceSettingsPage() {
|
|
| 398 |
)}>
|
| 399 |
<Upload className="w-8 h-8 text-zinc-600 mb-2" />
|
| 400 |
<p className="text-zinc-400 text-sm">
|
| 401 |
-
{!isServiceAvailable ? '
|
| 402 |
</p>
|
| 403 |
<p className="text-zinc-600 text-xs mt-1">WAV, MP3, OGG • Максимум 10MB</p>
|
| 404 |
</div>
|
|
@@ -413,7 +415,7 @@ export default function VoiceSettingsPage() {
|
|
| 413 |
transition={{ delay: 0.4 }}
|
| 414 |
className="p-6 rounded-2xl bg-gradient-to-br from-indigo-500/5 via-purple-500/5 to-pink-500/5"
|
| 415 |
>
|
| 416 |
-
<h3 className="font-semibold text-white mb-4">
|
| 417 |
<div className="grid grid-cols-2 gap-3">
|
| 418 |
{[
|
| 419 |
{ icon: Mic, label: 'Ответ на голосовое клиента' },
|
|
|
|
| 11 |
import { cn } from '@/lib/utils'
|
| 12 |
import { api } from '@/lib/api'
|
| 13 |
import { useToast } from '@/contexts/ToastContext'
|
| 14 |
+
import { useTranslation } from '@/lib/i18n'
|
| 15 |
|
| 16 |
interface VoiceSettings {
|
| 17 |
voice_id: string
|
|
|
|
| 59 |
const { token, user } = useAuth()
|
| 60 |
const toast = useToast()
|
| 61 |
const queryClient = useQueryClient()
|
| 62 |
+
const { t } = useTranslation()
|
| 63 |
const [settings, setSettings] = useState<VoiceSettings>({
|
| 64 |
voice_id: 'professional_male',
|
| 65 |
voice_enabled: true,
|
|
|
|
| 127 |
}
|
| 128 |
audioRef.current.onerror = () => {
|
| 129 |
setPlayingVoice(null)
|
| 130 |
+
toast.error(t('voice.playbackError'))
|
| 131 |
}
|
| 132 |
audioRef.current.play()
|
| 133 |
} catch (error) {
|
|
|
|
| 149 |
headers: { Authorization: `Bearer ${token}` }
|
| 150 |
})
|
| 151 |
queryClient.invalidateQueries({ queryKey: ['voice-settings'] })
|
| 152 |
+
toast.success(t('voice.settingsSaved'))
|
| 153 |
} catch (error) {
|
| 154 |
+
toast.error(t('voice.saveError'))
|
| 155 |
} finally {
|
| 156 |
setSaving(false)
|
| 157 |
}
|
|
|
|
| 161 |
const file = event.target.files?.[0]
|
| 162 |
if (!file) return
|
| 163 |
if (file.size > 10 * 1024 * 1024) {
|
| 164 |
+
toast.error(t('voice.fileTooLarge'))
|
| 165 |
return
|
| 166 |
}
|
| 167 |
+
toast.warning(t('voice.deployChatterboxFirst'))
|
| 168 |
}
|
| 169 |
|
| 170 |
if (loading) {
|
|
|
|
| 184 |
<Volume2 className="w-6 h-6 text-white" />
|
| 185 |
</div>
|
| 186 |
<div>
|
| 187 |
+
<h1 className="text-2xl font-bold text-white">{t('voice.title')}</h1>
|
| 188 |
+
<p className="text-zinc-500 text-sm">{t('voice.subtitle')}</p>
|
| 189 |
</div>
|
| 190 |
</div>
|
| 191 |
<button
|
|
|
|
| 194 |
className="flex items-center gap-2 px-6 py-3 bg-gradient-to-r from-indigo-500 to-purple-600 hover:from-indigo-400 hover:to-purple-500 rounded-xl text-white font-semibold transition-all shadow-lg shadow-indigo-500/25 disabled:opacity-50"
|
| 195 |
>
|
| 196 |
{saving ? <Loader2 className="w-4 h-4 animate-spin" /> : <Save className="w-4 h-4" />}
|
| 197 |
+
{t('common.save')}
|
| 198 |
</button>
|
| 199 |
</div>
|
| 200 |
|
|
|
|
| 207 |
>
|
| 208 |
<AlertCircle className="w-5 h-5 text-amber-400 flex-shrink-0 mt-0.5" />
|
| 209 |
<div>
|
| 210 |
+
<p className="text-amber-200 font-medium text-sm">{t('voice.serviceNotConnected')}</p>
|
| 211 |
<p className="text-amber-300/60 text-xs mt-1">
|
| 212 |
+
{t('voice.demoUsesBrowserTts')}
|
| 213 |
</p>
|
| 214 |
</div>
|
| 215 |
</motion.div>
|
|
|
|
| 236 |
)}
|
| 237 |
</div>
|
| 238 |
<div>
|
| 239 |
+
<h3 className="text-lg font-semibold text-white">{t('voice.voiceResponses')}</h3>
|
| 240 |
<p className="text-zinc-500 text-sm">
|
| 241 |
{settings.voice_enabled
|
| 242 |
+
? t('voice.aiSendsVoice')
|
| 243 |
+
: t('voice.aiTextOnly')
|
| 244 |
}
|
| 245 |
</p>
|
| 246 |
</div>
|
|
|
|
| 266 |
{/* Voice Selection */}
|
| 267 |
<div className="space-y-4">
|
| 268 |
<div className="flex items-center justify-between">
|
| 269 |
+
<h3 className="text-lg font-semibold text-white">{t('voice.selectVoice')}</h3>
|
| 270 |
+
<span className="text-zinc-600 text-sm">{t('voice.clickToSelect')}</span>
|
| 271 |
</div>
|
| 272 |
|
| 273 |
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
|
|
|
|
| 347 |
)}
|
| 348 |
>
|
| 349 |
{isPlaying ? (
|
| 350 |
+
<><Square className="w-4 h-4" /> {t('voice.stop')}</>
|
| 351 |
) : (
|
| 352 |
+
<><Play className="w-4 h-4" /> {t('voice.listenDemo')}</>
|
| 353 |
)}
|
| 354 |
</button>
|
| 355 |
</motion.div>
|
|
|
|
| 371 |
</div>
|
| 372 |
<div>
|
| 373 |
<div className="flex items-center gap-2">
|
| 374 |
+
<h3 className="font-semibold text-white">{t('voice.cloneVoice')}</h3>
|
| 375 |
+
<span className="px-2 py-0.5 rounded-full bg-purple-500/20 text-purple-300 text-xs font-medium">{t('channels.comingSoon')}</span>
|
| 376 |
</div>
|
| 377 |
+
<p className="text-zinc-500 text-sm">{t('voice.uploadAudioForCloning')}</p>
|
| 378 |
</div>
|
| 379 |
</div>
|
| 380 |
|
| 381 |
{settings.voice_reference_url ? (
|
| 382 |
<div className="flex items-center gap-4 p-4 rounded-xl bg-emerald-500/10">
|
| 383 |
<CheckCircle2 className="w-5 h-5 text-emerald-400" />
|
| 384 |
+
<span className="text-white text-sm flex-1">{t('voice.voiceUploaded')}</span>
|
| 385 |
<button
|
| 386 |
onClick={() => setSettings(prev => ({ ...prev, voice_reference_url: null, voice_id: 'professional_male' }))}
|
| 387 |
className="p-2 text-red-400 hover:bg-red-500/10 rounded-lg transition-colors"
|
|
|
|
| 400 |
)}>
|
| 401 |
<Upload className="w-8 h-8 text-zinc-600 mb-2" />
|
| 402 |
<p className="text-zinc-400 text-sm">
|
| 403 |
+
{!isServiceAvailable ? t('voice.connectServiceFirst') : t('voice.clickToUpload')}
|
| 404 |
</p>
|
| 405 |
<p className="text-zinc-600 text-xs mt-1">WAV, MP3, OGG • Максимум 10MB</p>
|
| 406 |
</div>
|
|
|
|
| 415 |
transition={{ delay: 0.4 }}
|
| 416 |
className="p-6 rounded-2xl bg-gradient-to-br from-indigo-500/5 via-purple-500/5 to-pink-500/5"
|
| 417 |
>
|
| 418 |
+
<h3 className="font-semibold text-white mb-4">{t('voice.whenAiSendsVoice')}</h3>
|
| 419 |
<div className="grid grid-cols-2 gap-3">
|
| 420 |
{[
|
| 421 |
{ icon: Mic, label: 'Ответ на голосовое клиента' },
|
frontend/lib/i18n/translations/en.ts
CHANGED
|
@@ -38,6 +38,8 @@ export const en = {
|
|
| 38 |
all: 'All',
|
| 39 |
copy: 'Copy',
|
| 40 |
copied: 'Copied',
|
|
|
|
|
|
|
| 41 |
},
|
| 42 |
|
| 43 |
// Header
|
|
@@ -406,6 +408,32 @@ export const en = {
|
|
| 406 |
deleteConfirmation: 'Delete integration?',
|
| 407 |
},
|
| 408 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 409 |
// ClientCard - Lead Summary
|
| 410 |
clientCard: {
|
| 411 |
chatSummary: 'Chat Summary',
|
|
|
|
| 38 |
all: 'All',
|
| 39 |
copy: 'Copy',
|
| 40 |
copied: 'Copied',
|
| 41 |
+
saving: 'Saving...',
|
| 42 |
+
unknown: 'Unknown',
|
| 43 |
},
|
| 44 |
|
| 45 |
// Header
|
|
|
|
| 408 |
deleteConfirmation: 'Delete integration?',
|
| 409 |
},
|
| 410 |
|
| 411 |
+
// Voice Settings
|
| 412 |
+
voice: {
|
| 413 |
+
title: 'AI Voice',
|
| 414 |
+
subtitle: 'Configure AI manager voice',
|
| 415 |
+
voiceResponses: 'Voice Responses',
|
| 416 |
+
aiSendsVoice: 'AI sends voice at key moments',
|
| 417 |
+
aiTextOnly: 'AI responds with text only',
|
| 418 |
+
selectVoice: 'Select Voice',
|
| 419 |
+
clickToSelect: 'Click card to select',
|
| 420 |
+
stop: 'Stop',
|
| 421 |
+
listenDemo: 'Listen Demo',
|
| 422 |
+
cloneVoice: 'Clone Your Voice',
|
| 423 |
+
uploadAudioForCloning: 'Upload 10-30 sec audio for cloning',
|
| 424 |
+
voiceUploaded: 'Voice uploaded',
|
| 425 |
+
connectServiceFirst: 'Connect voice service first',
|
| 426 |
+
clickToUpload: 'Click to upload audio',
|
| 427 |
+
whenAiSendsVoice: 'When does AI send voice?',
|
| 428 |
+
serviceNotConnected: 'Voice service not connected',
|
| 429 |
+
demoUsesBrowserTts: 'Demo uses browser synthesis. After deploying Chatterbox, voices will be natural.',
|
| 430 |
+
settingsSaved: 'Voice settings saved!',
|
| 431 |
+
saveError: 'Error saving settings',
|
| 432 |
+
playbackError: 'Playback error',
|
| 433 |
+
fileTooLarge: 'File too large. Maximum 10MB.',
|
| 434 |
+
deployChatterboxFirst: 'Deploy Chatterbox service first.',
|
| 435 |
+
},
|
| 436 |
+
|
| 437 |
// ClientCard - Lead Summary
|
| 438 |
clientCard: {
|
| 439 |
chatSummary: 'Chat Summary',
|
frontend/lib/i18n/translations/ky.ts
CHANGED
|
@@ -38,6 +38,8 @@ export const ky = {
|
|
| 38 |
all: 'Баары',
|
| 39 |
copy: 'Көчүрүү',
|
| 40 |
copied: 'Көчүрүлдү',
|
|
|
|
|
|
|
| 41 |
},
|
| 42 |
|
| 43 |
// Header
|
|
@@ -406,6 +408,32 @@ export const ky = {
|
|
| 406 |
deleteConfirmation: 'Интеграцияны өчүрүүнү каалайсызбы?',
|
| 407 |
},
|
| 408 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 409 |
// ClientCard - Lead Summary
|
| 410 |
clientCard: {
|
| 411 |
chatSummary: 'Чат жыйынтыгы',
|
|
|
|
| 38 |
all: 'Баары',
|
| 39 |
copy: 'Көчүрүү',
|
| 40 |
copied: 'Көчүрүлдү',
|
| 41 |
+
saving: 'Сактоо...',
|
| 42 |
+
unknown: 'Белгисиз',
|
| 43 |
},
|
| 44 |
|
| 45 |
// Header
|
|
|
|
| 408 |
deleteConfirmation: 'Интеграцияны өчүрүүнү каалайсызбы?',
|
| 409 |
},
|
| 410 |
|
| 411 |
+
// Voice Settings
|
| 412 |
+
voice: {
|
| 413 |
+
title: 'AI үнү',
|
| 414 |
+
subtitle: 'AI менеджердин үнүн жөндөө',
|
| 415 |
+
voiceResponses: 'Үн жооптору',
|
| 416 |
+
aiSendsVoice: 'AI өзгөчө учурларда үн жөнөтөт',
|
| 417 |
+
aiTextOnly: 'AI текст менен гана жооп берет',
|
| 418 |
+
selectVoice: 'Үн тандоо',
|
| 419 |
+
clickToSelect: 'Тандоо үчүн картаны басыңыз',
|
| 420 |
+
stop: 'Токтотуу',
|
| 421 |
+
listenDemo: 'Демону угуу',
|
| 422 |
+
cloneVoice: 'Өз үнүңүздү клондоо',
|
| 423 |
+
uploadAudioForCloning: 'Клондоо үчүн 10-30 сек аудио жүктөңүз',
|
| 424 |
+
voiceUploaded: 'Үн жүктөлдү',
|
| 425 |
+
connectServiceFirst: 'Алгач үн кызматын туташтырыңыз',
|
| 426 |
+
clickToUpload: 'Аудио жүктөө үчүн басыңыз',
|
| 427 |
+
whenAiSendsVoice: 'AI качан үн жөнөтөт?',
|
| 428 |
+
serviceNotConnected: 'Үн кызматы туташкан эмес',
|
| 429 |
+
demoUsesBrowserTts: 'Демо браузер синтезин колдонот. Chatterbox жайгаштыргандан кийин үндөр табигый болот.',
|
| 430 |
+
settingsSaved: 'Үн жөндөөлөрү сакталды!',
|
| 431 |
+
saveError: 'Жөндөөлөрдү сактоодо ката',
|
| 432 |
+
playbackError: 'Ойнотуу катасы',
|
| 433 |
+
fileTooLarge: 'Файл өтө чоң. Максимум 10MB.',
|
| 434 |
+
deployChatterboxFirst: 'Алгач Chatterbox кызматын жайгаштырыңыз.',
|
| 435 |
+
},
|
| 436 |
+
|
| 437 |
// ClientCard - Lead Summary
|
| 438 |
clientCard: {
|
| 439 |
chatSummary: 'Чат жыйынтыгы',
|
frontend/lib/i18n/translations/ru.ts
CHANGED
|
@@ -38,6 +38,8 @@ export const ru = {
|
|
| 38 |
all: 'Все',
|
| 39 |
copy: 'Копировать',
|
| 40 |
copied: 'Скопировано',
|
|
|
|
|
|
|
| 41 |
},
|
| 42 |
|
| 43 |
// Header
|
|
@@ -406,6 +408,32 @@ export const ru = {
|
|
| 406 |
deleteConfirmation: 'Удалить интеграцию?',
|
| 407 |
},
|
| 408 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 409 |
// ClientCard - Lead Summary
|
| 410 |
clientCard: {
|
| 411 |
chatSummary: 'Саммари чата',
|
|
|
|
| 38 |
all: 'Все',
|
| 39 |
copy: 'Копировать',
|
| 40 |
copied: 'Скопировано',
|
| 41 |
+
saving: 'Сохранение...',
|
| 42 |
+
unknown: 'Неизвестно',
|
| 43 |
},
|
| 44 |
|
| 45 |
// Header
|
|
|
|
| 408 |
deleteConfirmation: 'Удалить интеграцию?',
|
| 409 |
},
|
| 410 |
|
| 411 |
+
// Voice Settings
|
| 412 |
+
voice: {
|
| 413 |
+
title: 'Голос AI',
|
| 414 |
+
subtitle: 'Настройте голос AI-менеджера',
|
| 415 |
+
voiceResponses: 'Голосовые ответы',
|
| 416 |
+
aiSendsVoice: 'AI отправляет голосовые в ключевые моменты',
|
| 417 |
+
aiTextOnly: 'AI отвечает только текстом',
|
| 418 |
+
selectVoice: 'Выберите голос',
|
| 419 |
+
clickToSelect: 'Нажмите карточку для выбора',
|
| 420 |
+
stop: 'Остановить',
|
| 421 |
+
listenDemo: 'Прослушать демо',
|
| 422 |
+
cloneVoice: 'Клонировать свой голос',
|
| 423 |
+
uploadAudioForCloning: 'Загрузите аудио 10-30 сек для клонирования',
|
| 424 |
+
voiceUploaded: 'Голос загружен',
|
| 425 |
+
connectServiceFirst: 'Сначала подключите голосовой сервис',
|
| 426 |
+
clickToUpload: 'Нажмите для загрузки аудио',
|
| 427 |
+
whenAiSendsVoice: 'Когда AI отправляет голосовые?',
|
| 428 |
+
serviceNotConnected: 'Голосовой сервис не подключен',
|
| 429 |
+
demoUsesBrowserTts: 'Демо использует браузерный синтез. После развертывания Chatterbox голоса будут естественными.',
|
| 430 |
+
settingsSaved: 'Настройки голоса сохранены!',
|
| 431 |
+
saveError: 'Ошибка сохранения настроек',
|
| 432 |
+
playbackError: 'Ошибка воспроизведения',
|
| 433 |
+
fileTooLarge: 'Файл слишком большой. Максимум 10MB.',
|
| 434 |
+
deployChatterboxFirst: 'Сначала разверните Chatterbox сервис.',
|
| 435 |
+
},
|
| 436 |
+
|
| 437 |
// ClientCard - Lead Summary
|
| 438 |
clientCard: {
|
| 439 |
chatSummary: 'Саммари чата',
|