Skip to content

Commit

Permalink
Update all translations. Now the language feature is almost completed.
Browse files Browse the repository at this point in the history
  • Loading branch information
philpw99 committed Jan 9, 2025
1 parent 2e4675e commit 03d6f36
Show file tree
Hide file tree
Showing 8 changed files with 3,057 additions and 1,354 deletions.
1 change: 1 addition & 0 deletions activate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.\.venv\Scripts\activate.bat
22 changes: 22 additions & 0 deletions pylist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.\app\components\DonateDialog.py
.\app\components\FasterWhisperSettingDialog.py
.\app\components\MySettingCard.py
.\app\components\SubtitleSettingDialog.py
.\app\components\WhisperAPISettingDialog.py
.\app\components\WhisperSettingDialog.py
.\app\core\thread\create_task_thread.py
.\app\core\thread\download_thread.py
.\app\core\thread\subtitle_optimization_thread.py
.\app\core\thread\subtitle_pipeline_thread.py
.\app\core\thread\transcript_thread.py
.\app\core\thread\video_synthesis_thread.py
.\app\view\batch_process_interface.py
.\app\view\home_interface.py
.\app\view\log_window.py
.\app\view\main_window.py
.\app\view\setting_interface.py
.\app\view\subtitle_optimization_interface.py
.\app\view\subtitle_style_interface.py
.\app\view\task_creation_interface.py
.\app\view\transcription_interface.py
.\app\view\video_synthesis_interface.py
Binary file modified resource/translations/VideoCaptioner_en_US.qm
Binary file not shown.
1,951 changes: 1,354 additions & 597 deletions resource/translations/VideoCaptioner_en_US.ts

Large diffs are not rendered by default.

Binary file modified resource/translations/VideoCaptioner_zh_CN.qm
Binary file not shown.
2,429 changes: 1,672 additions & 757 deletions resource/translations/VideoCaptioner_zh_CN.ts

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions translation_edit.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Rem This batch file will run linguist and open English translation file to inspect.
Rem If you install QT in different location, change it accordingly.
Rem When it's all done, don't forget to click on "Release" to generate the qm file.
C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin\linguist.exe .\resource\translations\VideoCaptioner_en_US.ts
4 changes: 4 additions & 0 deletions translation_update.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Rem This batch file will update all .ts() translation strings in app folder.
Rem If you install QT in different location, change it accordingly.
C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin\lupdate -extensions py -noobsolete .\app\ -ts .\resource\translations\VideoCaptioner_en_US.ts
C:\Qt\Tools\QtDesignStudio\qt6_design_studio_reduced_version\bin\lupdate -extensions py -noobsolete .\app\ -ts .\resource\translations\VideoCaptioner_zh_CN.ts

0 comments on commit 03d6f36

Please sign in to comment.