Commit Graph

19526 Commits

Author SHA1 Message Date
Nikolaj Olsson
78351ffc2b Add some support for PGS in mkv for "embed subs" 2024-03-29 08:06:13 +01:00
Nikolaj Olsson
d3cb4c8053 Fix minor formatting 2024-03-29 06:37:42 +01:00
Ivandro Jao
a7328d8ca8 Fixes off by one error 2024-03-29 05:13:50 +00:00
Nikolaj Olsson
851a668645
Merge pull request #8089 from ivandrofly/issues/nagivation-combo-7958
Fixes #7958
2024-03-28 19:56:53 +01:00
Ivandro Jao
b2d1d98285 Fixes #7958 2024-03-28 17:11:56 +00:00
Nikolaj Olsson
21a6f5bebb
Merge pull request #8087 from ivandrofly/issues/ocr-engine-8052
Fixes #8052
2024-03-28 18:06:26 +01:00
Nikolaj Olsson
8370e92a6b
Merge pull request #8088 from ivandrofly/issues/italic-7988
Fixes #7988
2024-03-28 18:05:35 +01:00
Ivandro Jao
fbd32b4a2f Fixes old unit-test 2024-03-28 16:27:53 +00:00
Ivandro Jao
ac4049414c Fixes #7988 2024-03-28 16:13:39 +00:00
Ivandro Jao
a4d6b26724 Add tests for French OCR error correction
Two new tests are added for the French language in the FixCommonErrors library. The added tests verify both changes and non-changes for hard-coded OCR (Optical Character Recognition) error correction.
2024-03-28 15:12:19 +00:00
Nikolaj Olsson
de837282f6 Minor rename 2024-03-28 15:49:02 +01:00
Nikolaj Olsson
d6493d25e5 Add delete input video after "generate" in embed - thx liam1900 :)
Also, new file suffix can be configured in "Configuration.Settings.Tools.GenVideoEmbedOutputSuffix"
2024-03-28 15:47:06 +01:00
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