[Update] Add Japanese and add breakpoint.

This commit is contained in:
Sakamoto Shiina
2025-01-17 04:33:15 +09:00
parent 04f7c1f556
commit 21235068f7
4 changed files with 14 additions and 7 deletions

View File

@@ -262,11 +262,11 @@ config_page:
toggle_vrct_visibility: toggle_vrct_visibility:
label: Toggle VRCT Visibility label: Toggle VRCT Visibility
toggle_translation: toggle_translation:
label: Toggle Translation label: Toggle {{translation}}
toggle_transcription_send: toggle_transcription_send:
label: Toggle Voice2Chatbox label: Toggle {{transcription_send}}
toggle_transcription_receive: toggle_transcription_receive:
label: Toggle Speaker2Log label: Toggle {{transcription_receive}}
advanced_settings: advanced_settings:
osc_ip_address: osc_ip_address:

View File

@@ -92,6 +92,7 @@ config_page:
translation: 翻訳 translation: 翻訳
transcription: 音声認識 transcription: 音声認識
others: その他 others: その他
hotkeys: ホットキー
advanced_settings: 高度な設定 advanced_settings: 高度な設定
device: device:
@@ -258,6 +259,12 @@ config_page:
hotkeys: hotkeys:
toggle_vrct_visibility: toggle_vrct_visibility:
label: VRCTの最小化/アクティブ化の切り替え label: VRCTの最小化/アクティブ化の切り替え
toggle_translation:
label: '{{translation}}機能切り替え'
toggle_transcription_send:
label: '{{transcription_send}}機能切り替え'
toggle_transcription_receive:
label: '{{transcription_receive}}機能切り替え'
advanced_settings: advanced_settings:
osc_ip_address: osc_ip_address:

View File

@@ -77,7 +77,7 @@ export const EntryContainer = (props) => (
); );
export const HotkeysEntryContainer = (props) => ( export const HotkeysEntryContainer = (props) => (
<CommonContainer Component={HotkeysEntry} {...props} add_break_point={false} /> <CommonContainer Component={HotkeysEntry} {...props} />
); );
export const RadioButtonContainer = (props) => ( export const RadioButtonContainer = (props) => (

View File

@@ -24,21 +24,21 @@ const HotkeysBoxContainer = () => {
setHotkeys={setHotkeys} setHotkeys={setHotkeys}
/> />
<HotkeysEntryContainer <HotkeysEntryContainer
label={t("config_page.hotkeys.toggle_translation.label")} label={t("config_page.hotkeys.toggle_translation.label", {translation: t("main_page.translation")})}
hotkey_id="toggle_translation" hotkey_id="toggle_translation"
value={currentHotkeys.data} value={currentHotkeys.data}
state={currentHotkeys.state} state={currentHotkeys.state}
setHotkeys={setHotkeys} setHotkeys={setHotkeys}
/> />
<HotkeysEntryContainer <HotkeysEntryContainer
label={t("config_page.hotkeys.toggle_transcription_send.label")} label={t("config_page.hotkeys.toggle_transcription_send.label", {transcription_send: t("main_page.transcription_send")})}
hotkey_id="toggle_transcription_send" hotkey_id="toggle_transcription_send"
value={currentHotkeys.data} value={currentHotkeys.data}
state={currentHotkeys.state} state={currentHotkeys.state}
setHotkeys={setHotkeys} setHotkeys={setHotkeys}
/> />
<HotkeysEntryContainer <HotkeysEntryContainer
label={t("config_page.hotkeys.toggle_transcription_receive.label")} label={t("config_page.hotkeys.toggle_transcription_receive.label", {transcription_receive: t("main_page.transcription_receive")})}
hotkey_id="toggle_transcription_receive" hotkey_id="toggle_transcription_receive"
value={currentHotkeys.data} value={currentHotkeys.data}
state={currentHotkeys.state} state={currentHotkeys.state}