[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

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

View File

@@ -24,21 +24,21 @@ const HotkeysBoxContainer = () => {
setHotkeys={setHotkeys}
/>
<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"
value={currentHotkeys.data}
state={currentHotkeys.state}
setHotkeys={setHotkeys}
/>
<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"
value={currentHotkeys.data}
state={currentHotkeys.state}
setHotkeys={setHotkeys}
/>
<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"
value={currentHotkeys.data}
state={currentHotkeys.state}