[Update] Localization. add python-i18n into requirements.txt. 英語と日本語の一部対応。設定項目のDescriptionなど一部省いたり調整あり。

This commit is contained in:
Sakamoto Shiina
2023-09-25 22:58:18 +09:00
parent b91c31f793
commit b0d734e19b
4 changed files with 222 additions and 74 deletions

100
locales/en.yml Normal file
View File

@@ -0,0 +1,100 @@
main_window:
translation: Translation
transcription_send: Voice2Chatbox
transcription_receive: Speaker2Log
foreground: Foreground
language_settings: Language Settings
your_language: Your Language
both_direction_desc: Translate Each Other
target_language: Target Language
textbox_tab_all: All
textbox_tab_sent: Sent
textbox_tab_received: Received
textbox_tab_system: System
update_available: New version is here!
selectable_language_window:
your_language: Your Language
target_language: Target Language
go_back_button: Go Back
config_window:
transparency:
label: Transparency
desc: Change the main window's transparency.
appearance_theme:
label: Theme
desc: Change the color theme. If you selected "System", it will adjust based on your Windows theme.
ui_size:
label: UI Size
font_family:
label: Font Family
ui_language:
label: UI Language
deepl_auth_key:
label: DeepL Auth Key
mic_host:
label: Mic Host
mic_device:
label: Mic Device
mic_energy_threshold:
label: Mic Energy Threshold
desc: Slider to modify the threshold for activating voice input. Press the microphone button to initiate input and speak, allowing you to adjust it while monitoring the actual volume.
mic_dynamic_energy_threshold:
label: Mic Dynamic Energy Threshold
desc: When this feature is selected, it will automatically adjust in a way that works well, based on the set Mic Energy Threshold.
mic_record_timeout:
label: Mic Record Timeout
mic_phrase_timeout:
label: Mic Phrase Timeout
mic_max_phrase:
label: Mic Max Phrases
desc: It will stop recording and send the recordings when the set count of phrase(s) is reached.
mic_word_filter:
label: Mic Word Filter
desc: "It will not send the sentence if the word(s) included in the set list of words.\nHow to set: e.g. AAA,BBB,CCC"
speaker_device:
label: Speaker Device
speaker_energy_threshold:
label: Speaker Energy Threshold
desc: Slider to modify the threshold for activating voice input. Press the headphones mark button to start input and speak something, so you can adjust it while monitoring the actual volume.
speaker_dynamic_energy_threshold:
label: Speaker Dynamic Energy Threshold
desc: When this feature is selected, it will automatically adjust in a way that works well, based on the set Speaker Energy Threshold.
speaker_record_timeout:
label: Speaker Record Timeout
speaker_phrase_timeout:
label: Speaker Phrase Timeout
speaker_max_phrase:
label: Speaker Max Phrases
desc: It will stop recording and receive the recordings when the set count of phrase(s) is reached.
auto_clear_the_message_box:
label: Auto Clear The Message Box
desc: Clear the message box after sending your message.
notice_xsoverlay:
label: Notification XSOverlay (VR Only)
desc: Notify received messages by using XSOverlay's notification feature.
auto_export_message_logs:
label: Auto Export Message Logs
desc: Automatically export the conversation messages as a text file.
message_format:
label: Message Format
desc: You can change the decoration of the message you want to send.
send_message_to_vrc:
label: Send Message To VRChat
desc: There is a way to use it without sending messages to VRChat. That is not covered by support, though.
startup_osc_enabled_check:
label: Check If OSC Is Enabled At Startup
desc: Every time VRCT is started up, your character in VRChat moves forward ever so slightly. If your character is seated, they might even stand up. Unfortunately, this is the only method we've found to check if OSC is enabled at startup... Sorry about that. (Remember to turn on OSC yourself when you want to send messages to VRChat.)
osc_ip_address:
label: OSC IP Address
osc_port:
label: OSC Port

39
locales/ja.yml Normal file
View File

@@ -0,0 +1,39 @@
main_window:
translation: 翻訳
transcription_send: マイク->チャットボックス
transcription_receive: スピーカー->ログ
foreground: 最前面表示
language_settings: 言語設定
your_language: あなたの言語
both_direction_desc: 双方向に翻訳
target_language: 相手の言語
textbox_tab_all: 全て
textbox_tab_sent: 送信
textbox_tab_received: 受信
textbox_tab_system: システム
update_available: 新しいバージョンが出ました!
selectable_language_window:
your_language: あなたの言語
target_language: 相手の言語
go_back_button: 戻る
config_window:
transparency:
label: 透明度
desc: メイン画面の透明度を変更できます。
appearance_theme:
label: 外観テーマ
desc: カラーテーマを変更できます。「System」を選択した場合、Windowsのテーマに基づいて自動的に「Dark」か「Light」テーマを判断し、適用します。
ui_size:
label: UIのサイズ
font_family:
label: 使用フォント
ui_language:
label: UIの言語
deepl_auth_key:
label: DeepL 認証キー