fix(i18n): replace hardcoded VoiceAgent locale ternary with translation key

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-10 14:12:43 -04:00
parent 3f203e4c46
commit db5bbc9e25
5 changed files with 13 additions and 9 deletions

View File

@@ -259,7 +259,7 @@ export default function VoiceAgent({ locale, onComplete }: VoiceAgentProps) {
style={{ background: 'linear-gradient(135deg, #006494, #5BA4D9)' }}
>
<Mic size={16} />
{locale === 'fr' ? 'Démarrer la conversation' : 'Start Conversation'}
{t('voice.startConversation')}
</button>
)}