Commit Graph

1153 Commits

Author SHA1 Message Date
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
misyaguziya
d03330ea03 👍[Update] Controller : UIの翻訳エンジンとControllerを接続 2024-01-14 11:45:19 +09:00
Sakamoto Shiina
7f9faf3676 Merge branch 'add_ui_ctranslate2' into develop 2024-01-13 12:52:31 +09:00
Sakamoto Shiina
8c64b91839 [Update] Main Window: (WIP UI) CTranslate2、内部翻訳機能などの追加により、メイン画面にUI追加。デザインは確定ではなく、UI Scaling未対応などテスト状態です。 2024-01-13 12:37:37 +09:00
misyaguziya
017963bb0b Merge branch 'CTranslate2' into develop 2024-01-12 13:42:41 +09:00
misyaguziya
5e40fde99a 🐛[bugfix] Model : tqdmを削除 2024-01-12 13:33:11 +09:00
misyaguziya
bf95873bd0 Merge branch 'CTranslate2' into develop 2024-01-11 22:35:08 +09:00
misyaguziya
ae45ff3e44 👍[Update] Model : config.CTRANSLATE2_WEIGHTSが不要な為関連処理を削除 2024-01-11 22:24:35 +09:00
Sakamoto Shiina
c6a15dca14 Merge branch 'update_gitignore' into develop 2024-01-10 17:27:22 +09:00
Sakamoto Shiina
bf72e417d5 [Update] add some files to gitignore for comfortable development 2024-01-10 17:20:46 +09:00
misyaguziya
5f1eb70516 🐛[bugfix] Model : Cranslate2の不要なコードを削除 2024-01-10 15:37:56 +09:00
misyaguziya
2aaae11e97 Merge branch 'bugfix' into develop 2024-01-09 22:53:00 +09:00
misyaguziya
0a410d2c1a 🐛[bugfix] Conflict : Conflict時の修正漏れを修正 2024-01-09 22:52:41 +09:00
misyaguziya
9e961e5b60 Merge branch 'CTranslate2' into develop
# Conflicts:
#	config.py
#	requirements.txt
2024-01-08 22:36:48 +09:00
misyaguziya
16a1d3a0ec Merge branch 'develop' 2024-01-08 15:34:52 +09:00
Sakamoto Shiina
5df44b4fb8 Merge branch 'add_ui_language_korean' into develop 2024-01-07 21:02:42 +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
Soumt
38a8a17b10 [Update] Locales : Add some Korean strings 2024-01-07 16:47:56 +09:00
Sakamoto Shiina
46fa1d2528 Merge branch 'view' into develop 2024-01-07 08:22:52 +09:00
Sakamoto Shiina
24f7823f44 [bugfix] Word Filter: 単語削除時、即座に設定が反映されていなかったのを修正。 2024-01-07 08:19:40 +09:00
Sakamoto Shiina
caf9f87db6 [Update] Config Window: add corner radius to image buttons. 2024-01-07 08:17:44 +09:00
Sakamoto Shiina
bcb8d9c394 [bugfix] ワードフィルターに単語追加後、EntryBoxが空にならないバグ修正。
idk why, but in CTkEntry and CTkTextbox, the first argument for the delete function is different. Otherwise, it throws an error and doesn't work.
2024-01-07 07:43:08 +09:00
Sakamoto Shiina
1ab619680b Merge branch 'add_pyinstaller_to_requirements' into develop 2024-01-07 06:38:31 +09:00
Sakamoto Shiina
65299a6e94 [Update] Add pyinstaller to requirements.txt. 開発環境のpyinstallerバージョン違いにより、ビルド時の挙動が違っていたためバージョンを指定。固定。 2024-01-07 06:36:58 +09:00
Sakamoto Shiina
05e606ba65 Merge branch 'speaker2Chatbox' into develop 2024-01-07 06:24:04 +09:00
Sakamoto Shiina
01cbb9c30b [Update] config.ENABLE_SPEAKER2CHATBOX True時にはアップデート確認をしないように。Speaker2Chatbox機能使用者が多くなって、管理が大変と思うまでは個別に手動で配布する方針。
また、Speaker2Chatbox機能がONになっているバージョンには、その旨を設定画面バージョン情報部分に表示するように。
2024-01-07 06:19:25 +09:00
Sakamoto Shiina
130d371c44 Merge remote-tracking branch 'origin/develop' into develop 2024-01-07 05:58:27 +09:00
Sakamoto Shiina
534aa02b84 Merge branch 'add_send_message_button' into develop 2024-01-07 05:57:41 +09:00
Sakamoto Shiina
29def026fc [bugfix] Main Window: メッセージ入力欄Disabled時でも、フォーカスを当ててエンターキーを押せば、送信出来てしまっていたのを修正。 2024-01-07 05:49:17 +09:00
Sakamoto Shiina
827e92e6f3 [Update] Main Window: 送信ボタンを押した後、メッセージ入力欄にフォーカスするように。 2024-01-07 05:08:33 +09:00
Sakamoto Shiina
2d9228034d [bugfix] Config Window: Send Message Button. 選択項目変更時(非表示、表示)にメイン画面のカバーが前に出てくるバグの修正。
選択時に遅延させてConfig Windowのlift()を行っている。
2024-01-07 04:57:08 +09:00