whisper enter key

This commit is contained in:
galister 2026-07-04 02:02:40 +09:00
parent b3594e1afb
commit 2979469a5e
8 changed files with 26 additions and 9 deletions

View File

@ -4,6 +4,10 @@
<macro name="bg_rect" width="100%" color="~color_bg" round="10" border="2" border_color="~color_accent" />
<template name="VerticalSeparator">
<rectangle width="2" height="100%" color="~color_accent" />
</template>
<elements>
<div flex_direction="column" width="600" >
<rectangle macro="bg_rect" padding="10" align_items="center" justify_content="space_between">
@ -11,12 +15,18 @@
<Button macro="button_style" _press="::WhisperTranscribeStart" _release="::WhisperTranscribeStop" tooltip="WHISPER.TRANSCRIBE" tooltip_side="right">
<sprite width="38" height="38" color="~color_text" src="icons/mic.svg" />
</Button>
<VerticalSeparator />
<Button macro="button_style" _press="::WhisperPaste" tooltip="WHISPER.PASTE" tooltip_side="right">
<sprite width="38" height="38" color="~color_text" src_builtin="icons/paste.svg" />
</Button>
<Button macro="button_style" _press="::WhisperPasteAndGo" tooltip="WHISPER.PASTE_AND_GO" tooltip_side="right">
<sprite width="38" height="38" color="~color_text" src_builtin="icons/paste-go.svg" />
</Button>
<VerticalSeparator />
<Button macro="button_style" _press="::SendKey Return down" _release="::SendKey Return up" tooltip="WHISPER.ENTER_KEY" tooltip_side="right">
<sprite width="38" height="38" color="~color_text" src_builtin="keyboard/return.svg" />
</Button>
<VerticalSeparator />
<Button macro="button_style" _press="::WhisperSendOSC" tooltip="WHISPER.SEND_OSC" id="btn_osc_send" tooltip_side="right">
<sprite width="38" height="38" color="~color_text" src_builtin="icons/chat.svg" />
</Button>

View File

@ -124,6 +124,7 @@
"MODEL_NOT_DOWNLOADED": "Spracherkennung nicht eingerichtet!",
"DOWNLOAD_GUIDANCE": "Richten Sie die Spracherkennung unter Einstellungen -> Features ein!",
"INITIAL_TEXT": "Halten Sie die Mikrofontaste gedrückt, um mit der Transkription zu beginnen...",
"INIT_ERROR": "Fehler beim Starten der Whisper-Engine"
"INIT_ERROR": "Fehler beim Starten der Whisper-Engine",
"ENTER_KEY": "Enter-Taste"
}
}

View File

@ -122,6 +122,7 @@
"MODEL_NOT_DOWNLOADED": "Speech-to-text not set up!",
"DOWNLOAD_GUIDANCE": "Set up speech-to-text under settings, features!",
"INITIAL_TEXT": "Press and hold the mic button to start transcribing...",
"INIT_ERROR": "Error while starting Whisper engine"
"INIT_ERROR": "Error while starting Whisper engine",
"ENTER_KEY": "Enter key"
}
}

View File

@ -124,6 +124,7 @@
"MODEL_NOT_DOWNLOADED": "¡El dictado por voz no está configurado!",
"DOWNLOAD_GUIDANCE": "¡Configura la conversión de voz a texto en ajustes, características!",
"INITIAL_TEXT": "Mantén presionado el botón del micrófono para comenzar a transcribir...",
"INIT_ERROR": "Error al iniciar el motor de Whisper"
"INIT_ERROR": "Error al iniciar el motor de Whisper",
"ENTER_KEY": "Tecla Enter"
}
}

View File

@ -122,6 +122,7 @@
"MODEL_NOT_DOWNLOADED": "Speech-to-text non configurato!",
"DOWNLOAD_GUIDANCE": "Configura il riconoscimento vocale in impostazioni, funzionalità!",
"INITIAL_TEXT": "Tieni premuto il tasto del microfono per iniziare la trascrizione...",
"INIT_ERROR": "Errore durante l'avvio del motore Whisper"
"INIT_ERROR": "Errore durante l'avvio del motore Whisper",
"ENTER_KEY": "Tasto Invio"
}
}

View File

@ -117,11 +117,12 @@
"TRANSCRIBE": "ボタンを長押ししてテキストを文字起こしする",
"PASTE": "文字起こしをクリップボードにコピー",
"PASTE_AND_GO": "コピーしてフォーカスされているアプリにCtrl-Vを送信",
"SEND_OSC": "文字起こしをOSCチャットボックスに送信",
"SEND_OSC": "OSCチャットボックスに送信",
"UNLOAD_AND_CLOSE": "モデルをアンロードして閉じる",
"MODEL_NOT_DOWNLOADED": "文字起こしが設定されていません!",
"DOWNLOAD_GUIDANCE": "機能設定の中に文字起こしを設定してください!",
"INITIAL_TEXT": "マイクボタンを押し続けて文字起こしを開始してください...",
"INIT_ERROR": "Whisperエンジンの起動中にエラーが発生しました"
"INIT_ERROR": "Whisperエンジンの起動中にエラーが発生しました",
"ENTER_KEY": "Enterキー"
}
}
}

View File

@ -122,6 +122,7 @@
"MODEL_NOT_DOWNLOADED": "Zamiana mowy na tekst nie została skonfigurowana!",
"DOWNLOAD_GUIDANCE": "Skonfiguruj funkcję zamiany mowy na tekst w ustawieniach, w sekcji funkcje!",
"INITIAL_TEXT": "Naciśnij i przytrzymaj przycisk mikrofonu, aby rozpocząć transkrypcję...",
"INIT_ERROR": "Błąd podczas uruchamiania silnika Whisper"
"INIT_ERROR": "Błąd podczas uruchamiania silnika Whisper",
"ENTER_KEY": "Klawisz Enter"
}
}

View File

@ -122,6 +122,7 @@
"MODEL_NOT_DOWNLOADED": "语音转文本未设置!",
"DOWNLOAD_GUIDANCE": "请在“设置”中的“功能”选项下配置语音转文本!",
"INITIAL_TEXT": "按住麦克风按钮开始转录...",
"INIT_ERROR": "启动 Whisper 引擎时出错"
"INIT_ERROR": "启动 Whisper 引擎时出错",
"ENTER_KEY": "回车键"
}
}