Commit Graph

19359 Commits

Author SHA1 Message Date
Ivandro Jao
f80b13a44a Refactor form tabindex settings and remove unused combobox
Updated the order of tabindex in EffectKaraoke.Designer.cs to improve form navigation using tab key. Also, removed an unnecessary combobox from the form, as it was not serving any purpose in the current implementation. This enhances usability and cleanliness of the codebase.
2024-03-31 11:03:09 +01:00
Ivandro Jao
a103ec717e Update gap between sentences in KaraokeEffect
Changed the constant value for the gap between sentences in the KaraokeEffect to 0. This adjustment aims to eliminate any flickering previously caused by a non-zero gap.
2024-03-31 10:46:52 +01:00
Ivandro Jao
c17b0c1c31 Remove unused karaoke text effects and associated code
The KaraokeEffect class has been simplified and unused code related to multi-strategy text effects has been removed. This includes removing LegacyKaraokeEffect, ITextKaraokeEffect and EffectAnimationPart classes, and all associated code for handling these classes. This cleanup reduces complexity and allows for easier maintainability.
2024-03-31 10:46:38 +01:00
Ivandro Jao
79067bcbe0 Refactor code for readability in KaraokeEffect.cs
Expanded conditional statements' blocks in KaraokeEffect.cs to improve readability and maintainability. This change does not alter the overall functionality of the code but makes it easier to handle and debug.
2024-03-31 10:41:28 +01:00
Nikolaj Olsson
a3fc34c681
Merge pull request #8101 from ivandrofly/feature/uni-test
Update HtmlUtilTest for formattable text check
2024-03-31 08:27:07 +02:00
Nikolaj Olsson
b7546935c7
Merge pull request #8098 from diomed/main
Update hrv_OCRFixReplaceList.xml
2024-03-31 08:26:05 +02:00
Nikolaj Olsson
655ff19cf1
Merge pull request #8102 from ivandrofly/feature/plugins-search
Optimize plugin search in the UI
2024-03-31 08:25:37 +02:00
Ivandro Jao
de4824f9ca Optimize plugin search in the UI
The plugin creation and addition to the listViewGetPlugins is moved into the conditional statement that checks for a match with the search text. This optimizes the search functionality by avoiding unnecessary plugin item creation when the search text does not match any plugin property, thus improving UI performance.
2024-03-31 02:30:24 +01:00
Ivandro Jao
11b5ee92d1 Update HtmlUtilTest for formattable text check
The commit changes some of the test cases for text formattability in HtmlUtilTest.cs. Notably, it modifies a repeated assertion with a string "<i>!?.", replacing it with a fresh assertion testing "!?.</i>".
2024-03-30 22:37:22 +00:00
Ivandro Jao
4a81339ebd Fixes #6234 #7947 #7909 Add karaoke effect for text transformation
Added classes for karaoke effect text transformation with support for splitting by character or word. Also implemented a strategy pattern to handle the different transformations. Additionally, added UI components to let users choose the type of effect and made adjustments to existing classes for the new features.
2024-03-30 22:23:35 +00:00
Nikolaj Olsson
cf8040977a Try to re-add positioning to TTML IMSC 1.1 2024-03-30 21:35:24 +01:00
Nikolaj Olsson
81d2131f2a Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-03-30 21:12:01 +01:00
Nikolaj Olsson
7d9834d96e Update change log 2024-03-30 21:11:56 +01:00
Nikolaj Olsson
33d674593e
Merge pull request #8099 from bovirus/main
Update Italian language
2024-03-30 21:07:31 +01:00
Nikolaj Olsson
0a24f2833e Add new translaton 2024-03-30 21:06:59 +01:00
bovirus
9103ac109e
Update Italian language 2024-03-30 21:00:39 +01:00
Nikolaj Olsson
758dcac3de Work on #8022 2024-03-30 20:39:26 +01:00
Nikolaj Olsson
2479754ced Fix missing translation 2024-03-30 14:52:09 +01:00
Nikolaj Olsson
bb3e583f31 Use original media input for Faster-Whisper - thx Purfview :)
Fix #8097
2024-03-30 13:02:21 +01:00
May Kittens Devour Your Soul
9a0c9b252f
Update hrv_OCRFixReplaceList.xml 2024-03-30 09:51:56 +01:00
Nikolaj Olsson
1dd0228c70 Fix for embed/mp4 - thx Joe :) 2024-03-30 07:41:05 +01:00
Nikolaj Olsson
e3738a1b4b Update Danish/Swedish translation 2024-03-30 07:40:38 +01:00
Nikolaj Olsson
278b642bbf Update language settings 2024-03-29 15:39:25 +01:00
Nikolaj Olsson
16acd67e60 Update change log 2024-03-29 15:39:08 +01:00
Nikolaj Olsson
a242242153 Work on translation for #8074 2024-03-29 15:32:05 +01:00
Nikolaj Olsson
266f4cd79e More #8074 2024-03-29 14:58:13 +01:00
Nikolaj Olsson
6a5d22b6ba Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-03-29 14:48:24 +01:00
Nikolaj Olsson
3952bcebe5 More work on #8074 2024-03-29 14:48:18 +01:00
Nikolaj Olsson
3db65b2b5b
Merge pull request #8092 from ivandrofly/feature/htmlutil-off-by-one
Fixes off by one error
2024-03-29 12:18:54 +01:00
Ivandro Jao
0ff192395d Add tests for HtmlUtil.IsTextFormattable method
Two unit test methods were added to the HtmlUtilTest class to check the operation of the IsTextFormattable method. These tests cover different scenarios where the method should return true and false respectively.
2024-03-29 11:09:43 +00:00
Nikolaj Olsson
a2e8ef318c Add some extra validation 2024-03-29 11:56:22 +01:00
Nikolaj Olsson
2cf1ad6246 Minor UI fix 2024-03-29 11:46:36 +01:00
Nikolaj Olsson
5bb086264f Work on embed in mkv 2024-03-29 11:31:45 +01:00
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