[Update] UI: Add Clipboard Feature as Voice Typing Mode settings.
This commit is contained in:
@@ -264,6 +264,9 @@ config_page:
|
||||
right_hand: "Right Hand"
|
||||
overlay_show_only_translated_messages:
|
||||
label: "Show Only Translated Messages"
|
||||
voice_typing_mode:
|
||||
label: "Voice Typing Mode"
|
||||
desc: "Automatically pastes transcribed text into the active input field.\n*Utilizes standard Windows clipboard functionality."
|
||||
|
||||
others:
|
||||
section_label_sounds: "Sounds"
|
||||
|
||||
@@ -264,6 +264,9 @@ config_page:
|
||||
right_hand: "右手"
|
||||
overlay_show_only_translated_messages:
|
||||
label: "翻訳後のメッセージのみ表示する"
|
||||
voice_typing_mode:
|
||||
label: "音声タイピングモード"
|
||||
desc: "文字起こしされたテキストを、アクティブな入力欄へと自動的に貼り付けます。\n※Windows標準のクリップボード機能を利用しています。"
|
||||
|
||||
others:
|
||||
section_label_sounds: "サウンド"
|
||||
|
||||
@@ -264,6 +264,9 @@ config_page:
|
||||
right_hand: "오른손"
|
||||
overlay_show_only_translated_messages:
|
||||
label: "번역된 메시지만 표시"
|
||||
voice_typing_mode:
|
||||
label:
|
||||
desc:
|
||||
|
||||
others:
|
||||
section_label_sounds: "사운드"
|
||||
|
||||
@@ -264,6 +264,9 @@ config_page:
|
||||
right_hand: "右手"
|
||||
overlay_show_only_translated_messages:
|
||||
label: "仅显示翻译后的消息"
|
||||
voice_typing_mode:
|
||||
label:
|
||||
desc:
|
||||
|
||||
others:
|
||||
section_label_sounds: "声音"
|
||||
|
||||
@@ -264,6 +264,9 @@ config_page:
|
||||
right_hand: "右手"
|
||||
overlay_show_only_translated_messages:
|
||||
label: "僅顯示翻譯後的訊息"
|
||||
voice_typing_mode:
|
||||
label:
|
||||
desc:
|
||||
|
||||
others:
|
||||
section_label_sounds: "音效"
|
||||
|
||||
@@ -611,6 +611,14 @@ export const SETTINGS_ARRAY = [
|
||||
logics_template_id: "toggle_enable_disable",
|
||||
base_endpoint_name: "overlay_show_only_translated_messages",
|
||||
},
|
||||
{
|
||||
Category: "Vr",
|
||||
Base_Name: "VoiceTypingMode",
|
||||
default_value: false,
|
||||
ui_template_id: "toggle",
|
||||
logics_template_id: "toggle_enable_disable",
|
||||
base_endpoint_name: "clipboard",
|
||||
},
|
||||
|
||||
// Others
|
||||
{
|
||||
|
||||
@@ -524,7 +524,12 @@ const OtherControls = ({settings, onchangeFunction, ui_configs}) => {
|
||||
|
||||
const CommonSettingsContainer = () => {
|
||||
const { t } = useI18n();
|
||||
const { currentOverlayShowOnlyTranslatedMessages, toggleOverlayShowOnlyTranslatedMessages } = useVr();
|
||||
const {
|
||||
currentOverlayShowOnlyTranslatedMessages,
|
||||
toggleOverlayShowOnlyTranslatedMessages,
|
||||
currentVoiceTypingMode,
|
||||
toggleVoiceTypingMode,
|
||||
} = useVr();
|
||||
|
||||
return (
|
||||
<div className={styles.common_container}>
|
||||
@@ -534,6 +539,12 @@ const CommonSettingsContainer = () => {
|
||||
variable={currentOverlayShowOnlyTranslatedMessages}
|
||||
toggleFunction={toggleOverlayShowOnlyTranslatedMessages}
|
||||
/>
|
||||
<CheckboxContainer
|
||||
label={t("config_page.vr.voice_typing_mode.label")}
|
||||
desc={t("config_page.vr.voice_typing_mode.desc")}
|
||||
variable={currentVoiceTypingMode}
|
||||
toggleFunction={toggleVoiceTypingMode}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user