Commit Graph

1032 Commits

Author SHA1 Message Date
Soumt
88a34e456e [Update] Locales : Add some Korean strings 2024-01-23 00:40:45 +09:00
Sakamoto Shiina
204710ea58 [WIP] Prepare for adding korean ui language. 2024-01-22 23:14:46 +09:00
Sakamoto Shiina
efb54e730e Merge branch 'view' into develop 2024-01-22 22:57:03 +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
misyaguziya
159ee161b3 Merge branch 'installer' into develop 2024-01-22 22:34:17 +09:00
misyaguziya
fd7aeebd25 🐛[bugfix] build.batのコメントアウトを修正 2024-01-22 22:33:57 +09:00
Sakamoto Shiina
127ce6fb3f Merge branch 'change_ctranslate2_model' into develop 2024-01-22 22:28:05 +09:00
Sakamoto Shiina
edaca7edc2 [bugfix/refactor] weightタイプ変更処理中は、weightタイプ変更と翻訳機能オンオフwidgetをdisabledに。
理由: weightタイプ変更処理は非同期で、変更処理中に上記widgetを触れるとUIへの変更処理順が意図した順番と変わってしまうため。

その他リファクタリングあり。
2024-01-22 20:33:50 +09:00
misyaguziya
f2734e726c 👍[Uodate] installer : Sの指示の元UIを修正 2024-01-22 18:53:17 +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
misyaguziya
3bdf179a72 👍[Update] Installer : 表示を修正 2024-01-22 03:04:15 +09:00
misyaguziya
6ed71f1a4a 🐛[bugfix] Controller : リスタートボタンの表示タイミングを修正 2024-01-22 01:45:18 +09:00
misyaguziya
d965dcf171 WIP on installer: 548668e 👍[Update] Installer : 初回起動時に翻訳モデルのダウンロードの有効無効を追加 2024-01-22 01:34:50 +09:00
misyaguziya
b381e2d8ba index on installer: 548668e 👍[Update] Installer : 初回起動時に翻訳モデルのダウンロードの有効無効を追加 2024-01-22 01:34:50 +09:00
Sakamoto Shiina
59079def6a [bugfix] Config Window: 再起動ボタン表示のラベルが表示されない場合があるバグ修正。
weight type変更時のみ発生していた。after関数を使い、表示を若干遅らせることで対処。
2024-01-21 14:49:04 +09:00
Sakamoto Shiina
9208bb3ac3 [Chore] view.py guiのupdate関数処理が被っていたのを修正。※消し忘れでした。 2024-01-21 13:00:16 +09:00
Sakamoto Shiina
b0def64cf1 [Update] Main Window Sidebar: 翻訳機能を使わない時は、そもそも翻訳機能のボタンを表示しないように。
音声認識処理中などのボタンdisabled時、スイッチの色をもっと無効感がでるように変更。
2024-01-20 18:13:18 +09:00
misyaguziya
548668e8d4 👍[Update] Installer : 初回起動時に翻訳モデルのダウンロードの有効無効を追加 2024-01-20 15:14:38 +09:00
misyaguziya
ef76621a86 Merge branch 'change_ctranslate2_model' of https://github.com/misyaguziya/VRCT into change_ctranslate2_model 2024-01-20 14:20:21 +09:00
misyaguziya
3fc3ae02bb [WIP/TEST] Controller : Resetボタンの表示タイミングを修正 2024-01-20 14:19:14 +09:00
Sakamoto Shiina
9dd10f14a8 [bugfix] Use translation featureオン時、weight切替時などにメイン画面黒いカバーが前に出てきて、そこそこ長い時間とどまっていたのを修正。完全ではないが妥協案です。 2024-01-20 13:30:28 +09:00
Sakamoto Shiina
82293ca88f Merge branch 'view' into develop 2024-01-19 19:13:21 +09:00
misyaguziya
f48581dcd8 [WIP/TEST] Controller : モデルのロード処理をスレッドに変更
・モデルの切り替え時や翻訳機能有効時にリスタートボタンの表示タイミングが微妙な為改修の必要あり
2024-01-19 18:27:27 +09:00
Sakamoto Shiina
0ae206f4bd [Chore] img: 画像データ一つだけサイズが大きかったので、48pxのものに差し替え。 2024-01-19 17:48:51 +09:00
Sakamoto Shiina
43b09de167 [Refactor] Config Window: 変数名変更 snake_case to camelCase.
config.py: テスト用の一部print文が間違っていたのを修正。
2024-01-19 17:35:01 +09:00
Sakamoto Shiina
379c5bfdb6 [Chore] 変数名変更: AUTHKEY -> AUTH_KEY のように分けた。 2024-01-19 14:04:11 +09:00
Sakamoto Shiina
ee7589ba93 [Update] 文言修正。カッコなど。 2024-01-19 12:21:05 +09:00
misyaguziya
a1b53dc2b0 [WIP/TEST] Controller : CTranslate2のモデル変更時処理を実装 2024-01-19 01:27:41 +09:00
misyaguziya
a24e77be98 Merge branch 'translation' into develop 2024-01-17 23:22:28 +09:00
misyaguziya
c20f27fadf 👍[Update] Model : CTranslate2のダウンロード処理を追加 2024-01-17 23:22:00 +09:00
Sakamoto Shiina
5fb9f5a6ec Merge branch 'ui_ctranslate2' into develop 2024-01-17 18:50:15 +09:00
Sakamoto Shiina
d0a9be1b79 [bugfix] 設定画面「翻訳機能を使用する」切替時に、メイン画面カバーが前に出てきてしまうのを無理やり修正。
config.WEIGHT_TYPEがm2m100_418mの時に、view.py側で"Small"と解釈するように一時的な処理をいれています。
2024-01-17 18:45:19 +09:00
Sakamoto Shiina
a067bfa733 [Update/Refactor] 設定画面にて「翻訳機能を使用する」のオンオフで、メイン画面翻訳エンジン選択Widgetの表示非表示を切り替え。
「翻訳機能を使用する」オンオフをprocessとして切り出してviewで管理。
2024-01-17 18:17:46 +09:00
Sakamoto Shiina
6e64edb1c6 [Update] 設定画面にて「翻訳機能を使用する」をオフにした時に、メイン画面の翻訳機能をDisabledとしてさわれないようにする処理追加。(その逆も) 2024-01-17 16:52:44 +09:00
Sakamoto Shiina
8b9ffaab1f Merge branch 'ui_ctranslate2' into develop 2024-01-17 14:22:36 +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
misyaguziya
6ac55ee0dd Merge branch 'installer' into develop 2024-01-16 14:28:46 +09:00
misyaguziya
e34a4e630b 👍[Update] Installer : installer.nsi内部でconfig.jsonを生成するように変更 2024-01-16 14:28:11 +09:00
Sakamoto Shiina
52b39e92d1 [Chore] remove the deprecated code that I forgot to do it before. 2024-01-16 10:49:14 +09:00
Sakamoto Shiina
b9ae2e107a [Update/Refactor] フェールセーフとしてCTranslate2への切り替わり時に、システムログとして表示を変更。ポップアップ表示のコードなどは一旦コメントアウト。
controller.py: 重複していたコードを関数として切り出しなど。
2024-01-16 10:29:26 +09:00
misyaguziya
8dfc702325 👍[Update] Installer : インストール時のUI言語設定を追加 2024-01-15 22:58:02 +09:00
Sakamoto Shiina
e3a1cd0a37 Merge branch 'view' into develop 2024-01-15 14:25:04 +09:00
Sakamoto Shiina
f2321fcbc4 [Update] Main Window: Selectable Translation Engines.
・UI調整、文言変更。日本語は幅を取りすぎるので、"(デフォルト)"表示を"(Default)"と英語表記に。他の言語との兼ね合いもあるので、今はとりあえずlocalesのymlにそれぞれ直接記述。
・UI Scaling対応
・UI Theme(Light)対応
2024-01-15 12:05:06 +09:00
Sakamoto Shiina
6cd56991c3 [bugfix/chore] Main Window: Selectable Translation Engines.
・ドロップダウンメニューの文言修正。(CTranslate2の表示修正と、デフォルトである旨を追加)
・幅が規定値より超えた時の処理でエラーが発生するのを修正
2024-01-14 19:11:09 +09:00
misyaguziya
22e24514e0 Merge branch 'controller' into develop 2024-01-14 13:14:01 +09:00
misyaguziya
d65829175e 🐛[bugfix] Model : deepl authkey 削除時に 翻訳エンジンの"DeepL_API"が削除されない問題を修正 2024-01-14 13:13:43 +09:00
misyaguziya
135f634c36 🐛[bugfix] Controller : DeepL AuthKeyの認証タイミングを修正 2024-01-14 12:08:58 +09:00
misyaguziya
3783a0fff2 🐛[bugfix] Controller : 変数設定間違いを修正 2024-01-14 12:03:05 +09:00
misyaguziya
12bbec013a 👍[Update] Model : 翻訳失敗時の処理を変更 2024-01-14 11:46:37 +09:00