Commit Graph

20123 Commits

Author SHA1 Message Date
Nikolaj Olsson
f02e0cbed9
Merge pull request #8595 from ivandrofly/project-file
Update language file copy settings to 'PreserveNewest'
2024-07-07 09:05:12 +02:00
Nikolaj Olsson
fe292a0005
Merge pull request #8594 from diomed/main
Update hrv_OCRFixReplaceList.xml
2024-07-07 09:04:54 +02:00
May Kittens Devour Your Soul
7882409c27
Update hrv_OCRFixReplaceList.xml 2024-07-07 08:38:50 +02:00
Nikolaj Olsson
b2159a26bc Update yt-dlp 2024-07-05 17:43:07 +02:00
Nikolaj Olsson
153e34ac88 Update change log 2024-07-04 19:09:09 +02:00
Nikolaj Olsson
5885c1888d Fix for DCinema colors - thx Pamela :) 2024-07-04 19:02:05 +02:00
Nikolaj Olsson
6bb61e9527 Fix crash when double clicking on Play in TTS review window - thx cvrle77 :)
Fix #8519
2024-07-02 20:01:10 +02:00
Nikolaj Olsson
06c846c40b Try to fix unit tests 2024-07-02 17:34:55 +02:00
May Kittens Devour Your Soul
c21dd9acb2
Update hrv_OCRFixReplaceList.xml 2024-07-02 16:06:41 +02:00
May Kittens Devour Your Soul
1e09513421
Update hrv_OCRFixReplaceList.xml 2024-07-02 16:05:32 +02:00
Ivandro Jao
2c9f1cd91b Update language file copy settings to 'PreserveNewest'
This update changes the 'CopyToOutputDirectory' setting for all language files from 'Always' to 'PreserveNewest'. This change ensures that only the latest versions of these language files will be copied during the build process, preventing unnecessary duplication.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-07-02 14:19:03 +01:00
May Kittens Devour Your Soul
9e79f6dcb8
Update hrv_OCRFixReplaceList.xml 2024-07-02 11:25:46 +02:00
May Kittens Devour Your Soul
602b917929
Update hrv_OCRFixReplaceList.xml 2024-07-02 09:38:38 +02:00
Nikolaj Olsson
dc37f04338 Fix #8184 - thx Codling/ivandrofly :) 2024-07-02 06:52:30 +02:00
Nikolaj Olsson
9dad06922b Update change log 2024-07-01 17:07:47 +02:00
Nikolaj Olsson
d5e471dce5 UI fix for volume text in video player - thx Emiritus1 :)
Fix #8589
2024-06-30 18:45:29 +02:00
Ivandro Jao
6f4e25e022 Refactor dictionary loading in GetTesseract302Dictionaries
Streamlined the loading of dictionaries in the GetTesseract302Dictionaries file by using XmlReader directly on the decompressed stream. This change simplifies the processing flow and reduces the overall amount of coding needed.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-06-29 03:03:57 +01:00
Ivandro Jao
06f8d56aeb Remove unused dictionaries from SubtitleEdit project
The dictionaries 'TesseractDictionaries.xml', 'HunspellBackupDictionaries.xml', and 'HunspellDictionaries.xml' were removed from the SubtitleEdit.csproj as they are no longer used. This helps to keep the project clean and uncluttered.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-06-29 03:03:40 +01:00
Nikolaj Olsson
0ced27aa5f Add new subtitle format - thx Louie :) 2024-06-28 21:41:32 +02:00
nikolaj.olsson
e0be9ed1bc Minor UI fix 2024-06-28 18:29:12 +02:00
Nikolaj Olsson
baec5663b3
Merge pull request #8585 from ivandrofly/event-args
Replace new EventArgs() with EventArgs.Empty
2024-06-28 17:54:18 +02:00
Nikolaj Olsson
b85a616b3f Work on transparent video w subs 2024-06-27 20:55:47 +02:00
Ivandro Jao
153e2dfd20 Replace new EventArgs() with EventArgs.Empty
The commits replace all instances of `new EventArgs()` with `EventArgs.Empty` in different video player classes. This change improves performance by reducing unnecessary object instantiation and aligns with the best practices of C# coding.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-06-27 18:50:30 +01:00
Nikolaj Olsson
0b4aa9b65e
Merge pull request #8584 from ivandrofly/layout-picker
Layout picker
2024-06-27 18:20:36 +02:00
Ivandro Jao
5206edfd5e Refactor redundant Dispose calls into a single method
Reorganized the way various graphics disposal were handled in the LayoutPicker form. Instead of individual dispose calls, the disposing logic has been consolidated into a new method named DisposeGraphics(). This makes our disposal logic more modular, maintainable, and easier to read.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-06-27 16:45:37 +01:00
Ivandro Jao
759b6fcaa8 Add Dispose method to LayoutPicker.cs
The Dispose method has been added to LayoutPicker.cs for properly disposing the managed resources. As part of the changes, the existing Dispose method from LayoutPicker.Designer.cs was removed and integrated into the new method, ensuring more optimized disposal of resources.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-06-27 16:43:47 +01:00
Nikolaj Olsson
673b25cb5c
Merge pull request #8581 from nkh0472/patch-119
Update zh-Hans.xml
2024-06-27 09:27:10 +02:00
nkh0472
537e999ec0
Update zh-Hans.xml
for commit 228ec5b6d4
2024-06-27 11:38:20 +08:00
Nikolaj Olsson
df59496f1b Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-06-26 08:52:38 +02:00
Nikolaj Olsson
cbcf3f8f94 Fix for generate transparent subtitle duration 2024-06-26 08:52:27 +02:00
Nikolaj Olsson
f6b39ecd27
Merge pull request #8570 from MediaExpres/main
Tradu vs Traduce vs Traducere corrections in the translate menus
2024-06-25 23:49:28 +02:00
Nikolaj Olsson
3fb7242d39
Merge pull request #8578 from hugok79/patch-125
Update pt-PT.xml
2024-06-25 23:49:18 +02:00
Hugo Carvalho
441c2721a8
Update pt-PT.xml
For commit: 228ec5b6d4
2024-06-25 22:12:43 +01:00
Nikolaj Olsson
3d37be01d4
Merge pull request #8577 from bovirus/main
Italian language update
2024-06-25 16:40:56 +02:00
bovirus
268c7519fc
Italian language update 2024-06-25 15:03:30 +02:00
Nikolaj Olsson
c28ffceb3a Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-06-24 22:57:25 +02:00
Nikolaj Olsson
b701a7cde0 Gen transparent sub ffmpeg check 2024-06-24 22:57:16 +02:00
nikolaj.olsson
34343798b2 Fix bad valication - thx despairTK :)
Fix #8572
2024-06-24 14:07:35 +02:00
Mihai Pavelescu
fa82cc2a09
Merge branch 'SubtitleEdit:main' into main 2024-06-24 11:03:52 +03:00
Mihai Pavelescu
734b92f5a1 Tradu vs Traduce vs Traducere fine tunning in the Menus 2024-06-24 11:01:19 +03:00
Nikolaj Olsson
662c84b6ad Update Bulgarian translation - thx Калин :) 2024-06-24 07:22:45 +02:00
Nikolaj Olsson
e282e8d6d2 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-06-23 13:05:50 +02:00
Nikolaj Olsson
9fa1bdac84 Update change log 2024-06-23 13:05:45 +02:00
Nikolaj Olsson
87542c477d
Merge pull request #8566 from ivandrofly/auto-translate
Safeguard http client disposal in AutoTranslate
2024-06-23 12:45:11 +02:00
Ivandro Jao
58831aec02 Safeguard http client disposal in AutoTranslate
This update adds a null-conditional operator before disposing the http client in AutoTranslate form. This ensures that _httpClient.Dispose() only gets called if _httpClient is not null, preventing potential NullReferenceException.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-06-23 11:35:45 +01:00
Nikolaj Olsson
fdc0d915ba
Merge pull request #8553 from ivandrofly/auto-translate
Auto translate
2024-06-23 11:38:19 +02:00
Ivandro Jao
58b15fa3a2 Refactor AutoTranslate download error handling
The AutoTranslate download functionality has been refactored to improve error handling. An optional parameter has been added to the DownloadOllamaModelsAsync method to control whether or not to show error notifications. Also, the GetOllamaClient method has been simplified for readability and maintainability.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-06-23 10:11:07 +01:00
Ivandro Jao
1aabf861a5 Merge remote-tracking branch 'refs/remotes/remote/main' into auto-translate 2024-06-23 09:44:53 +01:00
Nikolaj Olsson
d4e8664a8a Update dk/sv translations 2024-06-23 10:19:06 +02:00
Nikolaj Olsson
f2d2f627f2 Update change log 2024-06-23 10:04:28 +02:00