Commit Graph

19284 Commits

Author SHA1 Message Date
May Kittens Devour Your Soul
1314cc0d68
Update hrv_OCRFixReplaceList.xml 2024-03-25 05:59:07 +01:00
Ivandro Jao
b9051cb6fa Refactor TextBox to InnerTextBox in NikseComboBox
The underlying TextBox in NikseComboBox has been refactored to InnerTextBox. This change enables handling of the right-click event directly within the InnerTextBox class, eliminating the need to set context menus for both classes individually. It improves the encapsulation of event handling within the control itself.
2024-03-25 00:07:48 +00:00
Ivandro Jao
3997235c4c Add ContextMenuStrip property to NikseComboBox control
This change introduces the ContextMenuStrip property to the NikseComboBox control. The added property ensures that once the ContextMenuStrip is set for the combobox control, it's also set for the underlying textbox. This is important for maintaining consistent behavior in both the combobox and its textbox.
2024-03-24 23:37:03 +00:00
Ivandro Jao
68392948c3 Implement ISelectedText interface and optimize regex context menus
Introduced a new interface, ISelectedText, to make handling of text selection more uniform across different control types. Applied the interface to TextBox, NikseTextBox, NikseComboBox, and SETextBox. This decouples text-selection-related code from the actual visual control. Further, optimized the code to update context menus in various forms. Now, regex context menus are only assigned when regex options are selected, reducing unnecessary assignments and simplifying the code.
2024-03-24 22:22:31 +00:00
Nikolaj Olsson
19eb96a2b4
Merge pull request #8060 from ivandrofly/feature/ocr-engine-fix
Adjust FixCommonOcrLineErrors implementation in OcrFixEngine
2024-03-24 04:48:15 +01:00
Nikolaj Olsson
d29e9b8f19
Merge pull request #8059 from ivandrofly/feature/typo
Rename variable in FixDoubleGreaterThanHelper
2024-03-24 04:47:45 +01:00
Ivandro Jao
47e101683e Adjust FixCommonOcrLineErrors implementation in OcrFixEngine
Changed input parameter to a local variable 'text' while calling FixOcrErrorViaLineReplaceList method in FixCommonOcrLineErrors. This improves the accuracy of OCR correction by ensuring the original text is not repeatedly used instead of the corrected version.
2024-03-23 22:31:55 +00:00
Nikolaj Olsson
4725a28f6b Remove WhisperX 2024-03-23 15:57:30 +01:00
Ivandro Jao
efe0c69d3a Rename variable in FixDoubleGreaterThanHelper
The variable 'post' within the method 'FixDoubleGreaterThanHelper' has been renamed to 'pre'. This change is made to better align the variable name with its actual use within the method, as it prepares (or prefixes) content before processing the 'text' input.
2024-03-23 12:05:13 +00:00
Nikolaj Olsson
223eb5e127 Fix typo
Related to  #7999
2024-03-23 09:02:27 +01:00
Nikolaj Olsson
aba5297d6e
Merge pull request #7999 from ivandrofly/feature/fix-empty-lines-typo
Correct typo in variable name
2024-03-23 09:00:38 +01:00
Nikolaj Olsson
ba6657bd11
Merge pull request #8048 from diomed/main
Update hrv_OCRFixReplaceList.xml
2024-03-23 08:59:56 +01:00
Nikolaj Olsson
18903eaeb5
Merge pull request #8056 from ivandrofly/feature/ocr-engine-bug
Fix subscript in OcrFixEngine
2024-03-23 08:59:44 +01:00
Nikolaj Olsson
374a63a156 Work on #8053 2024-03-23 08:34:58 +01:00
Nikolaj Olsson
175174d7f1 Improve language auto detect - thx vaclavmuller :)
Work on #8054
2024-03-23 08:30:06 +01:00
Ivandro Jao
9b613c9b2a Fix subscript in OcrFixEngine
The index for array 'ar' was incorrectly set to 0. This commit corrects the subscript to 1, ensuring that the variable 'b' is correctly assigned.
2024-03-22 23:23:36 +00:00
Nikolaj Olsson
286902048c Update libmpv to 2024-03-17 + Update yt-dlp to 2024-03-10 2024-03-22 23:22:47 +01:00
Nikolaj Olsson
127530fbb0 Turn of some post-processing for "--highlight_words true"
Related to https://github.com/Purfview/whisper-standalone-win/issues/223
2024-03-22 22:57:45 +01:00
Nikolaj Olsson
853e6333b4 Fix crash in "Fix common errors - FixMissingOpenBracket" - thx Joe :) 2024-03-22 22:36:05 +01:00
Nikolaj Olsson
c17975b64e Support some frame rates for export to DcinemaSmpte2014 - thx rimu :) 2024-03-22 19:06:50 +01:00
Nikolaj Olsson
4384bfdc46 Update change log 2024-03-22 07:16:17 +01:00
Nikolaj Olsson
f8756f8fe4 Add French interjections
Related to #8053
2024-03-22 07:16:05 +01:00
Nikolaj Olsson
ba05ee99dc Fix for last commit 2024-03-21 16:47:42 +01:00
Nikolaj Olsson
66ca5566ec Work on EBU STL preview (show/hide box) - thx BlueMeow7 :)
Work on  #8045
2024-03-21 16:45:47 +01:00
Nikolaj Olsson
e73b79c8f1 Update unit tests 2024-03-21 07:29:50 +01:00
Nikolaj Olsson
97a2e30ae2 Work on unit tests 2024-03-21 07:23:33 +01:00
Nikolaj Olsson
a6aaca56df Improve support for S_HDMV/TEXTST in MKV - thx ipsi :)
Work on #8039
2024-03-21 07:13:28 +01:00
Nikolaj Olsson
0333813033 Work on TTML IMSC 1.1 2024-03-20 21:05:44 +01:00
Nikolaj Olsson
3db3f275ea More post-processing 2024-03-20 20:07:10 +01:00
Nikolaj Olsson
001cad505d Fix for Whisper Post-processing - thx Purfview/cvrle77 :)
Somewhat related to  #8044
2024-03-20 19:53:32 +01:00
May Kittens Devour Your Soul
3a8a8ea026
Update hrv_OCRFixReplaceList.xml 2024-03-19 16:24:38 +01:00
Nikolaj Olsson
419a884770 Fix change log 2024-03-17 17:51:59 +01:00
Nikolaj Olsson
212a0ae348 Update winget files 2024-03-17 17:08:10 +01:00
Nikolaj Olsson
80d8d10bfd Subtitle Edit 4.0.4 2024-03-17 16:44:10 +01:00
Nikolaj Olsson
33f04ce5a6 Try to fix minor point sync issue - thx Maknol :) 2024-03-17 13:31:57 +01:00
Nikolaj Olsson
11c5934e11 Fix bug in BinEdit BDN/XML writing - thx von Suppé :) 2024-03-17 10:50:06 +01:00
Nikolaj Olsson
99b843c2f0 Focus selected line after layout change + go to video pos if coming from layout without video - thx Dave :) 2024-03-17 09:35:47 +01:00
Nikolaj Olsson
87fc742c75 Update change log 2024-03-16 19:36:36 +01:00
Nikolaj Olsson
4b613fffd8 Fixadding music notation to italics, removes italics - thx Charvelx04 :)
Work on #7905
2024-03-16 19:35:19 +01:00
Nikolaj Olsson
22173fb253 Fix minor whisper cmd setting UI issue 2024-03-15 21:06:41 +01:00
Nikolaj Olsson
d1e66d2b53 Fix crash in "Start with uppercase after colon" - thx Rouzax :)
Related to #8029
2024-03-15 16:43:14 +01:00
Nikolaj Olsson
5ffb0f4b6b Minor rename 2024-03-15 16:12:33 +01:00
Nikolaj Olsson
40d20a70d3 Remove a few properties from ttml IMSC 1.1 2024-03-15 16:08:25 +01:00
Nikolaj Olsson
087199c51c Update change log 2024-03-15 15:47:17 +01:00
Nikolaj Olsson
3b26bcf47b Simplify return code in cmd line - thx Rouzax :)
Related to #8029
2024-03-15 15:43:36 +01:00
Nikolaj Olsson
1dc0706b86 Work on ttml imsc 1.1 properties 2024-03-15 13:51:41 +01:00
Nikolaj Olsson
b7b23d3d86 Work on TTML imsc 1.1 properties 2024-03-15 13:51:17 +01:00
Nikolaj Olsson
18b0c67ebd
Merge pull request #8028 from PMitsakis/main
Translation update
2024-03-14 19:19:40 +01:00
Μητσάκης Παναγιώτης
9925d02bd9
Update el-GR.xml 2024-03-14 19:53:31 +02:00
Nikolaj Olsson
62b433ab6e Work on batch OCR cancel - thx guido-visser :)
Fix #7992
2024-03-14 18:36:22 +01:00