+ {_STT_LANGUAGES.map(lang => (
+
{ setVoiceLanguage(lang.code); setShowLangPicker(false); }}
+ style={{
+ padding: '8px 12px', cursor: 'pointer', fontSize: 13,
+ background: lang.code === voiceLanguage ? 'var(--primary-color, #1976d2)' : 'transparent',
+ color: lang.code === voiceLanguage ? '#fff' : 'var(--text-primary, #333)',
+ }}
+ onMouseEnter={e => { if (lang.code !== voiceLanguage) e.currentTarget.style.background = '#f5f5f5'; }}
+ onMouseLeave={e => { if (lang.code !== voiceLanguage) e.currentTarget.style.background = ''; }}
+ >
+ {lang.label} ({lang.code})
+
+ ))}
+