Commit Graph

120 Commits

Author SHA1 Message Date
misygauziya
d1cd96cca9 Merge branch 'overlay_transparency' into develop 2024-04-25 11:14:01 +09:00
Sakamoto Shiina
5b38db9557 [Update] Main Window, Quick Settings Window: add VR Settings and it'll open the settings window that is for Overlay settings. 2024-04-23 16:31:43 +09:00
Sakamoto Shiina
62d01d4168 Merge branch 'view' into develop
# Conflicts:
#	vrct_gui/splash_window/SplashWindow.py
2024-04-21 10:26:48 +09:00
Sakamoto Shiina
d715f0b6d6 [Update] Config Window: Add VR Tab. Add Item, Enable OpenVR Switch. 2024-04-19 08:59:31 +09:00
misyaguziya
ca6e037086 Merge branch 'overlay' into develop
# Conflicts:
#	requirements.txt
2024-04-16 10:24:05 +09:00
Sakamoto Shiina
cae1406d2b [Update] Easter Eggとして、メイン画面ロゴ(コンパクトモード未対応)を3回クリックするとEaster Egg機能がオンになるように。
オフに戻すには再起動で。
※save jsonはコメントアウトしています。(今後、本実装する時に値が増えたり何かしら名前が変更になる可能性を考えて、ユーザー側にデータを保存したくないため)
2024-04-14 21:46:42 +09:00
Sakamoto Shiina
8b3e3cb7b0 [Update] 文言修正とローカライズ韓国語準備
※アプデ時、説明文に「再起動」としていたのを「アプリを再起動」に変更。PCを再起動すると勘違いするため。
2024-04-11 16:54:37 +09:00
Sakamoto Shiina
406d846b6b [Update] Config Window: Transcription (Speaker) Tab. Add Select Speaker Devices. 2024-04-07 11:56:39 +09:00
Sakamoto Shiina
c1437de575 [Update] Config Window: DeepL Auth Key. 認証キー成功時と失敗時に通知として設定画面上に表示。 2024-02-15 11:56:58 +09:00
Sakamoto Shiina
10a18edd24 [Update] Config Window: Whisperモデル 説明文追加。実際にmedium以上のモデル選択時、使用すら困難なくらい重いので、警告の意味を込めて追加。 2024-02-14 23:29:45 +09:00
Sakamoto Shiina
9e12d43fe0 [Update/bugfix] Config Window: DeepL Auth Key. DeepLアカウントページを開けるボタンを追加。
メイン画面翻訳エンジン選択のボタンを押した時の処理が2回走っていたのを修正。
2024-02-14 23:00:54 +09:00
Sakamoto Shiina
e012f92e06 [Update] Config Window: Message Formats. 文言の変更。 2024-02-14 10:57:14 +09:00
Sakamoto Shiina
c459b97ca3 [Refactor] Config Window: Transcription tab. whisper関係の文言をi18nを使って呼び出す部分、重複した部分が多いのでリファクタリング。 2024-02-08 04:31:27 +09:00
Sakamoto Shiina
ea10573a3d [Update/Chore] Config Window: Transcription Tab. Whisper関連の文言追加や変更。
config.pyからの読み込み時に間違った方法で読み込んでいたのを修正。
2024-02-08 02:27:41 +09:00
misyaguziya
61a6eb792b [WIP/TEST] distil-wisperを削除/faster-wisperの処理を修正 2024-02-04 02:42:59 +09:00
misyaguziya
7aafce6e2e [WIP/TEST] distil-wisperの処理を追加 2024-02-04 01:03:38 +09:00
Sakamoto Shiina
ee5c4c05ce [WIP/TEST] UI: 機能と見た目を繋ぎました。設定画面からいじれます。 2024-02-02 18:08:18 +09:00
Sakamoto Shiina
96c8d071f1 [Chore] Remove the code that is no longer in use. 2024-01-22 22:56:14 +09:00
Sakamoto Shiina
79733f62d5 [Update] Config Window: Add description to DeepL Auth Key Section. 2024-01-22 22:52:12 +09:00
Sakamoto Shiina
127ce6fb3f Merge branch 'change_ctranslate2_model' into develop 2024-01-22 22:28:05 +09:00
Sakamoto Shiina
46aafa4a4d [Update/Refactor] Main Window: Use translation feature ON/OFF時のwidget調整。
Translation Each Other表示は、翻訳機能使わない場合は必要のない情報なので、その時はSwap Language表示に固定。
2024-01-22 18:20:10 +09:00
Sakamoto Shiina
ee7589ba93 [Update] 文言修正。カッコなど。 2024-01-19 12:21:05 +09:00
Sakamoto Shiina
369506013f [Update] Config Window: Translation Tab: add "Use Translation Feature" and "Select Internal Translation Model"
翻訳機能そのものを使うかどうかの設定と、内部翻訳モデルの選択UI追加

・Use Translation Feature からは True or Falseを渡し、config.USE_TRANSLATION_FEATUREへ保存します。
・Select Internal Translation Model からは 文字列 "Small" か "Large" を渡し、config.WEIGHT_TYPEへ保存します。

※機能側実装に合わせて、初回起動時config.WEIGHT_TYPEには"Small"ではなく"m2m100_418m"が入ります。
※それに合わせ、起動時はSmall固定にしています。文字列"Small"対応後、一つ下のコメントアウト部分と入れ替えてください。
2024-01-17 14:12:18 +09:00
Sakamoto Shiina
b9ae2e107a [Update/Refactor] フェールセーフとしてCTranslate2への切り替わり時に、システムログとして表示を変更。ポップアップ表示のコードなどは一旦コメントアウト。
controller.py: 重複していたコードを関数として切り出しなど。
2024-01-16 10:29:26 +09:00
Sakamoto Shiina
6cd56991c3 [bugfix/chore] Main Window: Selectable Translation Engines.
・ドロップダウンメニューの文言修正。(CTranslate2の表示修正と、デフォルトである旨を追加)
・幅が規定値より超えた時の処理でエラーが発生するのを修正
2024-01-14 19:11:09 +09:00
Sakamoto Shiina
8c64b91839 [Update] Main Window: (WIP UI) CTranslate2、内部翻訳機能などの追加により、メイン画面にUI追加。デザインは確定ではなく、UI Scaling未対応などテスト状態です。 2024-01-13 12:37:37 +09:00
Sakamoto Shiina
7a4c4b8f76 [Update] Remove the 'Speaker2Chatbox' section (I'm sorry and thank you, rera-san). Adjust the wording for selectable UI language. Add comments to the section 'Speaker2Chatbox' in en.yml. 2024-01-07 20:53:29 +09:00
Sakamoto Shiina
5128fa590c [Update] Main Window: メッセージ送信ボタンの追加。
設定項目で非表示、表示、表示しつつメッセージ入力欄でのエンターキー送信を無効 を選択可能に。

デフォルトが表示の理由: メッセージ入力欄のプレースホルダーが使えなくなり、初見でどこに入力すればいいのか分かりにくくなったので、横に送信ボタンが付くことにより、よくあるUIとなり、メッセージ入力欄っぽくなる。

その他要らないコードの削除や、corner radius指定し忘れなどの修正あり。
2024-01-07 03:30:46 +09:00
Sakamoto Shiina
6152f5e91a [Update] Speaker2Chatbox: config.pyのself._ENABLE_SPEAKER2CHATBOX True/Falseによって、Speaker2Chatbox機能の有効無効切り替え。
通常はFalse: 設定画面での項目もdisabled状態になります。
Trueの場合に設定項目が開放され、On/Offの設定を可能に。

※通常公開しない理由: 相手の発言をチャットボックスに表示できる(オウム返しのようになる)ため、迷惑目的での使用が想定でき、それをできるだけ防ぐためです。オープンソースとはいえ、ある程度抑制できると考えています。
使用者は開発者に直接相談し、config.pyのself._ENABLE_SPEAKER2CHATBOXがTrueなコードをビルドしたものを配布する予定です。
2023-12-30 19:41:19 +09:00
Sakamoto Shiina
38edeaebf3 [Update] Main Window: Add Restore the main window position feature. VRCT終了時(メイン画面のXを押した時)の画面位置とサイズを記録し、次回起動時に同じ場所同じサイズで表示させる機能を追加。デフォルトでオンです。
※次回アプデ後の初期起動時はみんな、一番左上端座標x-0 y-0で表示されます。この設定をオフにすると常に画面中央(今まで通り)に表示されます。
2023-12-30 17:25:29 +09:00
Sakamoto Shiina
7c23adfc24 [Update] Main Window: Message Box. メッセージ入力欄のサイズを変更できるように。厳密な計算はしてません。
【見た目への影響大】デフォルトのチャット入力欄を少し大きくしました。(もちろん変更できる)
テキストボックスとの比率としているので、Windowサイズを変更すると、それに合わせて可変します。
CTkEntryからCTkTextboxに変更しました。プレースホルダーの使用が厳しくなったので廃止しました。最小にしても、入力中の位置が中央にならないなど、デザインが若干崩れましたが許容しました。
2023-12-29 01:51:13 +09:00
Sakamoto Shiina
74bd06c768 [Update] Add feature, Send Only Translated Messages: 翻訳オン時、翻訳後のメッセージのみを送信する機能を追加。 2023-12-20 01:07:42 +09:00
Sakamoto Shiina
f34abbe184 [Update/Refactor] Add Message Formats Features more. UIとしての設定項目追加と、config.jsonへの書き込みまで。
送信メッセージと、受信したメッセージを送信する際のメッセージフォーマット設定項目追加。また、翻訳付きとそうじゃない場合のメッセージフォーマット設定項目を追加。
それに伴いリファクタリングなど。
※config.jsonのMESSAGE_FORMAT項目は消えます。ユーザーが元々設定していたデータは今のところ引き継げない状態です。
2023-12-19 12:31:34 +09:00
misyaguziya
194ec9241c Merge branch 'speaker2chatbox' into develop 2023-11-25 22:53:05 +09:00
Sakamoto Shiina
89b8a47a76 [Update] Speaker2Chatbox UI追加。 2023-11-23 00:15:57 +09:00
Sakamoto Shiina
76e86c64ab [Chore/fix] Config Window: Appearance theme 文言修正(en) 2023-11-09 15:25:49 +09:00
misyaguziya
8487e74dde 👍[Update] Locales : ライトテーマ追加に伴い文言を修正 2023-11-08 23:57:48 +09:00
Sakamoto Shiina
f21ffea568 [Update] Config Window: Advanced Settings Tab: add Open Config File. add item open file(config.json) button. 2023-11-06 12:54:02 +09:00
Sakamoto Shiina
74c8a253e8 [Update] Main Window: add feature. Swap Languages. when hover the label 'Translate Each Other', 'Swap Languages Button' appear. and It can swap 'Your language' and 'Target Language'. 2023-11-06 06:21:43 +09:00
Sakamoto Shiina
72877ab98b [Update] Message Format: [message]と[translation]は一意かつそれぞれ一つだけの使用に。それに伴いエラー表示や初期値の挿入など。 2023-11-05 11:30:34 +09:00
Sakamoto Shiina
44baaa84b8 [Update] Message Format: UI改善、[message]や[translation]など必須なものは固定(入れ替え可能)し、ユーザーは編集できないように。不完全な気はしているが、表示の例を追加し、直感的にメッセージフォーマットを使えるように。 2023-11-05 08:03:52 +09:00
Sakamoto Shiina
c98912f31b [Update] Mic Word Filter: UI改善、リスト表記にし、追加や削除も直感的に行えるように。※_SettingBoxGenerator.py内に追加された関数が、汎用的ではなく、ワードフィルター専用状態です。
config.py: 登録された単語は一意になるように、順序を保持しつつ重複削除処理。
その他ワードフィルターの説明文言調整など。
2023-11-01 02:49:10 +09:00
Sakamoto Shiina
8f2934e510 [Update] テキストボックスのフォントサイズを、UI全体のサイズとは別でユーザーが変えられるように。
(UI size, scalingを基準とした倍率)
2023-10-24 18:33:32 +09:00
Sakamoto Shiina
bea88879af [Chore] Config Window: 設定項目のラベル名変更 2023-10-21 00:02:50 +09:00
Sakamoto Shiina
f668686daf [Update] add Information Modal. This is for displaying when reached translation limit that 429 too many requests. 2023-10-20 04:30:30 +09:00
Sakamoto Shiina
7aefe652e5 [Update] Config Window: Restore DeepL Auth Key UI 2023-10-19 15:36:04 +09:00
Sakamoto Shiina
8e55a5426c [Update] Config Window: 各項目のエラーメッセージを追加(仮置きじゃなくなりました。) 2023-10-19 08:53:44 +09:00
Sakamoto Shiina
7cc7b5a7c3 [Update] 使用ディスプレイサイズの大きさ(高さ)より、VRCT起動時のウィンドウの方が大きい場合の対応。UI Scalingを20%下げて再起動するかどうかの確認モーダルを表示。
それにともない確認モーダルの汎用化。
さらにそれに伴い計算の都合上UI Scalingが40%から200%で10%刻みに対応(選択できるように)しました。
2023-10-18 18:46:10 +09:00
Sakamoto Shiina
5abfe3c20b [Update] add Update Software Confirmation Modal Window. 2023-10-18 14:54:18 +09:00
Sakamoto Shiina
7430bd25f8 [Update] Config Window: Mic/Speaker Record Timeoutなどの説明文追加と修正。 2023-10-17 17:31:45 +09:00