From 21235068f74631bc9932bebea1dc7ba35a787e6d Mon Sep 17 00:00:00 2001
From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com>
Date: Fri, 17 Jan 2025 04:33:15 +0900
Subject: [PATCH] [Update] Add Japanese and add breakpoint.
---
locales/en.yml | 6 +++---
locales/ja.yml | 7 +++++++
.../setting_section/setting_box/_templates/Templates.jsx | 2 +-
.../setting_section/setting_box/hotkeys/Hotkeys.jsx | 6 +++---
4 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/locales/en.yml b/locales/en.yml
index 3ef81b30..73ba1ed0 100644
--- a/locales/en.yml
+++ b/locales/en.yml
@@ -262,11 +262,11 @@ config_page:
toggle_vrct_visibility:
label: Toggle VRCT Visibility
toggle_translation:
- label: Toggle Translation
+ label: Toggle {{translation}}
toggle_transcription_send:
- label: Toggle Voice2Chatbox
+ label: Toggle {{transcription_send}}
toggle_transcription_receive:
- label: Toggle Speaker2Log
+ label: Toggle {{transcription_receive}}
advanced_settings:
osc_ip_address:
diff --git a/locales/ja.yml b/locales/ja.yml
index 94abb3d1..1218ef08 100644
--- a/locales/ja.yml
+++ b/locales/ja.yml
@@ -92,6 +92,7 @@ config_page:
translation: 翻訳
transcription: 音声認識
others: その他
+ hotkeys: ホットキー
advanced_settings: 高度な設定
device:
@@ -258,6 +259,12 @@ config_page:
hotkeys:
toggle_vrct_visibility:
label: VRCTの最小化/アクティブ化の切り替え
+ toggle_translation:
+ label: '{{translation}}機能切り替え'
+ toggle_transcription_send:
+ label: '{{transcription_send}}機能切り替え'
+ toggle_transcription_receive:
+ label: '{{transcription_receive}}機能切り替え'
advanced_settings:
osc_ip_address:
diff --git a/src-ui/app/config_page/setting_section/setting_box/_templates/Templates.jsx b/src-ui/app/config_page/setting_section/setting_box/_templates/Templates.jsx
index d47e5842..716a15c9 100644
--- a/src-ui/app/config_page/setting_section/setting_box/_templates/Templates.jsx
+++ b/src-ui/app/config_page/setting_section/setting_box/_templates/Templates.jsx
@@ -77,7 +77,7 @@ export const EntryContainer = (props) => (
);
export const HotkeysEntryContainer = (props) => (
-
+
);
export const RadioButtonContainer = (props) => (
diff --git a/src-ui/app/config_page/setting_section/setting_box/hotkeys/Hotkeys.jsx b/src-ui/app/config_page/setting_section/setting_box/hotkeys/Hotkeys.jsx
index 2fe0116d..33d57923 100644
--- a/src-ui/app/config_page/setting_section/setting_box/hotkeys/Hotkeys.jsx
+++ b/src-ui/app/config_page/setting_section/setting_box/hotkeys/Hotkeys.jsx
@@ -24,21 +24,21 @@ const HotkeysBoxContainer = () => {
setHotkeys={setHotkeys}
/>