Commit Graph

19314 Commits

Author SHA1 Message Date
Nikolaj Olsson
c89360b6a3 Minor UI fix 2024-03-28 14:42:33 +01:00
Nikolaj Olsson
af80665222
Merge pull request #8086 from ivandrofly/issues/linux-lang-issue-8084
Fixes #8084
2024-03-28 14:39:11 +01:00
Ivandro Jao
e720aa4e08 Fixes #8052 2024-03-28 13:16:37 +00:00
Ivandro Jao
ca2111a5da Fixes #8084 2024-03-28 12:37:46 +00:00
Nikolaj Olsson
1b5d18e7b1 UI fix 2024-03-28 11:27:12 +01:00
Nikolaj Olsson
68d6ac6de0 Add a few "template animatons"
Related to #8066
2024-03-28 11:10:57 +01:00
Nikolaj Olsson
08240a370e Update ffmpeg to 2024-03-25 2024-03-28 09:35:53 +01:00
Nikolaj Olsson
2fd8ee3041 Fix ChatGTP translate - thx longhoang1993 :)
Related to #7850
2024-03-28 09:04:00 +01:00
Nikolaj Olsson
69a71c82ab
Merge pull request #8083 from ivandrofly/feature/nikseCombobox-2
Feature/nikse combobox 2
2024-03-28 08:52:45 +01:00
Nikolaj Olsson
29721c1c7d
Merge pull request #8082 from ivandrofly/mpc-hc
Refactor OnCopyData event invocation in MessageHandlerWindow
2024-03-28 08:51:28 +01:00
Ivandro Jao
26ea050ccb Add explanatory comment in NikseComboBox selection logic
A comment has been added into the NikseComboBox control to improve code readability. This comment details the conditions under which the selected index is updated, specifically when a new value is present and distinct from the previous selection within the '_items' list.
2024-03-27 21:49:18 +00:00
Ivandro Jao
afe0a09b56 Remove always false
'_textBox' is always init and is also readonly field which means the state won't change to null later
2024-03-27 21:40:18 +00:00
Ivandro Jao
5e3e9900c8 Refactor NikseComboBox text set and get methods
The 'Text' and 'SelectedText' properties of 'NikseComboBox' have been refactored for a cleaner approach. This involved creating helper methods such as 'GetValue', 'HasValueChanged', and 'NotifyTextChanged' to reduce redundancy and improve readability. These changes consolidate the process of getting or setting text, and notifying on these changes.
2024-03-27 21:29:38 +00:00
Ivandro Jao
ff7983fa2c Refactor OnCopyData event invocation in MessageHandlerWindow
The event invocation code in MessageHandlerWindow.cs file specifically for OnCopyData has been updated. Instead of creating a new instance of EventArgs, the code now uses the static EventArgs.Empty instance, which is more efficient and adheres to common C# best practices.
2024-03-27 20:02:09 +00:00
Nikolaj Olsson
1ebdcf5fd0 Update change log 2024-03-27 19:41:44 +01:00
Nikolaj Olsson
53a6e817ca Fix for NikseComboBox SelectedText 2024-03-27 19:40:58 +01:00
Nikolaj Olsson
3e26f7fb87
Merge pull request #8065 from ivandrofly/feature/context-menu-combobox
Feature/context menu combobox
2024-03-27 18:08:17 +01:00
niksedk
84202fd1df Update German translation - thx Netspark :) 2024-03-27 15:55:20 +01:00
Nikolaj Olsson
e33256e3a7
Merge pull request #8067 from diomed/main
Update hrv_OCRFixReplaceList.xml
2024-03-26 06:36:34 +01:00
Nikolaj Olsson
cbcf612ec0
Merge pull request #8073 from igorruckert/patch-2
Update pt-BR.xml
2024-03-26 06:36:11 +01:00
May Kittens Devour Your Soul
69a3c059f3
Update hrv_OCRFixReplaceList.xml 2024-03-26 04:16:38 +01:00
Igor Rückert
6ad23cb578
Update pt-BR.xml 2024-03-25 18:47:51 -03:00
Nikolaj Olsson
02f87d15e7 Work on #7793 2024-03-25 19:07:09 +01:00
niksedk
c9f818463f Work on #7793 2024-03-25 13:56:27 +01:00
niksedk
0ed898923a Work on #8069 2024-03-25 12:20:51 +01:00
Nikolaj Olsson
78c69c8ac1
Merge pull request #8071 from jmaraujouy/main
Update spanish AR & MX languages
2024-03-25 11:46:00 +01:00
Juan M. Araújo
014cb34fa4
Update es-MX.xml 2024-03-25 07:36:12 -03:00
Juan M. Araújo
d658e5191f
Update es-AR.xml 2024-03-25 07:36:04 -03:00
Ivandro Jao
0b4b82b5ee Remove unused namespaces in AdvancedTextBox.cs
The System.Threading and System.Threading.Tasks namespaces were included in the AdvancedTextBox.cs file but were not being used. Their inclusion has been removed to clean up the code and improve readability.
2024-03-25 10:14:34 +00:00
Nikolaj Olsson
7dd36ae09f Work on #8069 2024-03-25 07:51:41 +01:00
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