🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots 📖
TypeScript browser-extensionchrome-extensiondocumentationfirefox-extensionguide-generatorlocal-firstmanifest-v3privacy-firstproductivityreactscreenshotstep-by-step-guidetutorialtypescriptworkflowwxt
refactor(ui): drop the speech and text badges from the voice cards
Luis Ortiz6fb360fc8902
diff --git a/packages/ui/src/export/components/VoiceoverSettings.tsx b/packages/ui/src/export/components/VoiceoverSettings.tsxindex c2d167b..e4bf36d 100644--- a/packages/ui/src/export/components/VoiceoverSettings.tsx+++ b/packages/ui/src/export/components/VoiceoverSettings.tsx@@ -23,16 +23,7 @@ export function VoiceoverSettings({ keys, listVoices, onOpenKeys, onChange }: Voconst voiceover = useVoiceoverSettings(keys, listVoices, onChange);return (- <SettingsCard- icon={AudioLines}- title={i18n.t('settings.voiceover')}- hint={i18n.t('settings.voiceoverHint')}- action={- <span className="shrink-0 rounded-md bg-secondary px-1.5 py-0.5 text-[9px] font-semibold tracking-wide text-muted-foreground">- {i18n.t('settings.textToSpeech')}- </span>- }- >+ <SettingsCard icon={AudioLines} title={i18n.t('settings.voiceover')} hint={i18n.t('settings.voiceoverHint')}><div><label className="block text-[11px] font-semibold text-foreground mb-1">{i18n.t('settings.provider')}</label><ProviderSelectdiff --git a/src/locales/de.yml b/src/locales/de.ymlindex 2fe60c0..27e8de4 100644--- a/src/locales/de.yml+++ b/src/locales/de.yml@@ -128,10 +128,8 @@ settings:addKey: "Schlüssel hinzufügen"noKey: "Kein Schlüssel"voiceover: "Video-Voiceover"- textToSpeech: "Text → Sprache"voiceoverHint: "Mimik spricht den Text jedes Schritts über das exportierte Video."voice: "Stimme"- speechToText: "Sprache → Text"voiceNarrationHint: "Erkläre den Ablauf laut, und Mimik formuliert jeden Schritt aus deinen Worten."voiceNarration: SprachkommentaraiNoKey: "Ohne API-Schlüssel erhalten Schritte einfache regelbasierte Beschreibungen."diff --git a/src/locales/en.yml b/src/locales/en.ymlindex 49db46b..aa7a396 100644--- a/src/locales/en.yml+++ b/src/locales/en.yml@@ -116,10 +116,8 @@ settings:addKey: "Add key"noKey: "No key"voiceover: "Video voice-over"- textToSpeech: "text → speech"voiceoverHint: "Mimik speaks each step's text over the exported video."voice: "Voice"- speechToText: "speech → text"voiceNarrationHint: "Talk through the workflow and Mimik writes each step from what you said."voiceNarration: "Voice narration"aiNoKey: "Without an API key, steps get basic rule-based descriptions."diff --git a/src/locales/es.yml b/src/locales/es.ymlindex 68d2b50..276af86 100644--- a/src/locales/es.yml+++ b/src/locales/es.yml@@ -116,10 +116,8 @@ settings:addKey: "Añadir clave"noKey: "Sin clave"voiceover: "Voz en off del vídeo"- textToSpeech: "texto → voz"voiceoverHint: "Mimik lee el texto de cada paso sobre el vídeo exportado."voice: "Voz"- speechToText: "voz → texto"voiceNarrationHint: "Explica el flujo en voz alta y Mimik escribe cada paso con lo que dijiste."voiceNarration: "Narración por voz"aiNoKey: "Sin clave de API, los pasos reciben descripciones básicas basadas en reglas."diff --git a/src/locales/fr.yml b/src/locales/fr.ymlindex 91f9b54..8c04188 100644--- a/src/locales/fr.yml+++ b/src/locales/fr.yml@@ -116,10 +116,8 @@ settings:addKey: "Ajouter une clé"noKey: "Pas de clé"voiceover: "Voix off de la vidéo"- textToSpeech: "texte → voix"voiceoverHint: "Mimik lit le texte de chaque étape par-dessus la vidéo exportée."voice: "Voix"- speechToText: "voix → texte"voiceNarrationHint: "Décrivez le parcours à voix haute et Mimik rédige chaque étape à partir de ce que vous avez dit."voiceNarration: "Narration vocale"aiNoKey: "Sans clé API, les étapes reçoivent des descriptions simples basées sur des règles."diff --git a/src/locales/pt-BR.yml b/src/locales/pt-BR.ymlindex 5eafee4..f68af63 100644--- a/src/locales/pt-BR.yml+++ b/src/locales/pt-BR.yml@@ -116,10 +116,8 @@ settings:addKey: "Adicionar chave"noKey: "Sem chave"voiceover: "Narração do vídeo"- textToSpeech: "texto → voz"voiceoverHint: "O Mimik lê o texto de cada passo sobre o vídeo exportado."voice: "Voz"- speechToText: "voz → texto"voiceNarrationHint: "Explique o fluxo em voz alta e o Mimik escreve cada passo com o que você disse."voiceNarration: "Narração por voz"aiNoKey: "Sem chave de API, os passos recebem descrições simples baseadas em regras."diff --git a/src/locales/zh-CN.yml b/src/locales/zh-CN.ymlindex c53e995..c74830c 100644--- a/src/locales/zh-CN.yml+++ b/src/locales/zh-CN.yml@@ -116,10 +116,8 @@ settings:addKey: "添加密钥"noKey: "无密钥"voiceover: "视频配音"- textToSpeech: "文字 → 语音"voiceoverHint: "Mimik 会在导出的视频中朗读每个步骤的文本。"voice: "语音"- speechToText: "语音 → 文字"voiceNarrationHint: "边录边讲,Mimik 会根据你说的内容写出每个步骤。"voiceNarration: 语音讲解aiNoKey: "没有 API 密钥时,步骤使用基于规则的简单描述。"diff --git a/src/ui/shared/SettingsView.tsx b/src/ui/shared/SettingsView.tsxindex e818a87..35f0874 100644--- a/src/ui/shared/SettingsView.tsx+++ b/src/ui/shared/SettingsView.tsx@@ -101,16 +101,7 @@ export function SettingsView({ onBack }: SettingsViewProps) {<BrandingSettings onChange={queue} />- <SettingsCard- icon={Mic}- title={i18n.t('settings.voiceNarration')}- hint={i18n.t('settings.voiceNarrationHint')}- action={- <span className="shrink-0 rounded-md bg-secondary px-1.5 py-0.5 text-[9px] font-semibold tracking-wide text-muted-foreground">- {i18n.t('settings.speechToText')}- </span>- }- >+ <SettingsCard icon={Mic} title={i18n.t('settings.voiceNarration')} hint={i18n.t('settings.voiceNarrationHint')}><div><label className="block text-[11px] font-semibold text-foreground mb-1">{i18n.t('settings.provider')}