Commit Graph

20277 Commits

Author SHA1 Message Date
Nikolaj Olsson
7040a121b7 Update change log 2024-10-16 20:38:05 +02:00
Nikolaj Olsson
dbda14d039 Add DeepLX - thx rifatozkancomtr :)
Fix #8873
2024-10-16 20:34:49 +02:00
Nikolaj Olsson
3a14913b98 Fix enter in textbox in FCE - thx p1nkyy/Roger :)
Fix #8883
2024-10-16 19:10:09 +02:00
Nikolaj Olsson
0d45a60a75 OCR italic fix again - thx Zoltan :) 2024-10-14 20:16:59 +02:00
Nikolaj Olsson
d12b632fb7 Update change log 2024-10-12 19:35:03 +02:00
Nikolaj Olsson
8ff7b7abf5
Merge pull request #8899 from ivandrofly/feature/file-util
Refactor directory writable check to FileUtil
2024-10-12 18:49:09 +02:00
Nikolaj Olsson
ecaa9972f3
Merge pull request #8900 from ivandrofly/feature/voskdistate
Feature/voskdistate
2024-10-12 18:48:01 +02:00
Nikolaj Olsson
69611bbc8f Fix bug in "Change casing" - thx Hlsgs :)
Fix #8903
2024-10-12 18:44:54 +02:00
Nikolaj Olsson
a396e61fda Try to fix color picker issue - thx Siamak :) 2024-10-12 14:54:28 +02:00
Nikolaj Olsson
7c9c32c5dc Fix crash while translating subtitles - thx claudemartin :)
Fix #8901
2024-10-12 09:27:13 +02:00
Ivandro Jao
0b257818fa Refactor: Discard unused variable in VoskDictate.cs
Replaced the unused variable 'res' with a discard operator in the PartialResult call to enhance code clarity and maintainability by explicitly indicating the result is not used.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-11 08:42:25 +01:00
Ivandro Jao
f133c82c85 Refactor VoskRecognizer usage to ensure proper disposal
Encapsulate VoskRecognizer instantiation within a using statement to guarantee resource disposal. This change improves memory management and aligns with best practices for resource handling. Also, maintain the existing logic structure for audio file processing.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-11 08:41:55 +01:00
Ivandro Jao
a46a33bf2f Refactor directory writable check to FileUtil
Moved the method `IsDirectoryWritable` from `WhisperAudioToText` to `FileUtil` for better code reuse and maintainability. Adjusted references in `WhisperAudioToText` and `VoskAudioToText` accordingly.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-10 19:17:40 +01:00
Nikolaj Olsson
172b47cdcb Update change log 2024-10-10 20:06:03 +02:00
Nikolaj Olsson
a51135090d Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-10-10 20:04:19 +02:00
Nikolaj Olsson
371cab9a1b Fix ctrl+a etc. for duration field - thx rRobis :)
Fix  #8893
2024-10-10 20:04:14 +02:00
nikolaj.olsson
fdb4d34de6 Update Bulgarian translation - thx Калин :) 2024-10-10 14:12:24 +02:00
Nikolaj Olsson
b0df6412d0 Update change log 2024-10-09 21:21:19 +02:00
Nikolaj Olsson
975e47ac62 Minor improvements to color picker
Somewhat related to  #8887
2024-10-09 21:06:55 +02:00
Nikolaj Olsson
267829ea9b Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-10-07 19:04:10 +02:00
Nikolaj Olsson
3800f7eed4 Update Whisper CPP to v1.7.1 2024-10-07 19:04:01 +02:00
nikolaj.olsson
cb86eba5e8 Let selection apply by pressing enter - thx MitchSirco :)
Fix #8887
2024-10-07 12:06:36 +02:00
Nikolaj Olsson
e0490b7115 More 2024-10-06 18:06:39 +02:00
Nikolaj Olsson
312915879f Fix for nulling time code after load of sub from mkv 2024-10-06 18:06:25 +02:00
Nikolaj Olsson
00e931cd22 More info from ffmpeg 2024-10-06 18:04:37 +02:00
Nikolaj Olsson
0accb7ccdc
Merge pull request #8876 from ivandrofly/association-delete
Delete associated registry value when removing file association
2024-10-03 17:07:30 +02:00
Nikolaj Olsson
8398a776a0
Merge pull request #8875 from ivandrofly/file-association
Simplify subtitle file type descriptions
2024-10-03 17:05:20 +02:00
Nikolaj Olsson
0a78ec5408
Merge pull request #8872 from elfriob/main
Update Russian translation
2024-10-03 17:04:18 +02:00
Ivandro Jao
ffcc9343bf Delete associated registry value when removing file association
Enhanced the `DeleteFileAssociationViaRegistry` method to also delete the default registry value associated with the file extension if it matches the given application extension. This ensures a more thorough cleanup of file type associations in the registry.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-03 15:44:01 +01:00
Ivandro Jao
1dceeb0327 Simplify subtitle file type descriptions
Replace the verbose subtitle file type descriptions with shorter, more concise names. This enhances readability and consistency across the codebase by focusing on the essential part of each description.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-03 15:07:31 +01:00
Nikolaj Olsson
911bc718ee Add large-v3-turbo to Whisper OpenAI models (not tested) 2024-10-03 08:45:48 +02:00
Nikolaj Olsson
847bd603d6 again... 2024-10-03 08:39:01 +02:00
Nikolaj Olsson
ed7e267744 Add Whisper CPP model large-v3 + large-v3-turbo 2024-10-03 08:38:46 +02:00
elfriob
6a9d946b62
Update Russian translation 2024-10-02 09:57:43 +00:00
Nikolaj Olsson
4ebe2da219
Merge pull request #8859 from ivandrofly/unit-test
Unit test: Upgrade to .NET SDK Project style
2024-10-01 13:51:16 +02:00
Nikolaj Olsson
320608d72b
Merge pull request #8856 from ivandrofly/git-ignore
Clean .gitignore file by removing redundant entries
2024-10-01 10:07:32 +02:00
Ivandro Jao
1a38183344 Create missing directories for dictionary files
Updated InterjectionsRepository to check if the dictionary directory exists before attempting to save files. If the directory does not exist, it will now be created automatically. This change prevents potential errors during file saving operations.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-30 20:50:02 +01:00
Ivandro Jao
a6bc467dab Refactor: Consolidate multiple ItemGroup sections in .csproj
This change merges several separate ItemGroup sections in the Test.csproj file into fewer ones. It improves the structure and readability of the project file without altering its functionality. This will make future updates to the project file simpler and more efficient.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-30 20:42:42 +01:00
Ivandro Jao
b85d331239 Remove MSTest.Sdk package version
The MSTest.Sdk package version entry was redundant since it is not being used in the project. This cleanup helps to simplify the package management and reduce potential confusion.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-30 20:35:08 +01:00
Ivandro Jao
18efd14123 Remove redundant MSTest package references
Consolidate MSTest package versions for simplicity and to avoid conflicts. Removed individual MSTest related references from the project file and centralized the version management in Directory.Packages.props.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-30 20:33:46 +01:00
Nikolaj Olsson
8bc678ef38 Update dictionaries 2024-09-28 07:49:18 +02:00
Nikolaj Olsson
eb0c635da7 Add a few names 2024-09-28 07:31:28 +02:00
Nikolaj Olsson
c6deddd55a Fix some wrong OCR (English) corrections - thx Zoltan :) 2024-09-28 06:57:14 +02:00
Nikolaj Olsson
c522cdaef3 Add FramesRate to FfmpegMediaInfo 2024-09-28 06:37:42 +02:00
Ivandro Jao
f873487388 Uncomment MSTest.TestAdapter package reference.
Re-enabling the MSTest.TestAdapter package reference allows the project to use MSTest framework adapters, ensuring it can run and discover MSTest tests correctly. This change is essential for maintaining compatibility with expected test structures and execution.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-27 22:59:55 +01:00
Ivandro Jao
40f69b2f06 Remove obsolete import statements from Test.csproj
Deleted commented-out import statements that are no longer needed. This cleanup helps maintain code clarity and reduces confusion about dependencies.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-27 22:58:14 +01:00
Ivandro Jao
ea811cacf3 Update MSTest dependencies and manage package versions centrally
Replaced deprecated MSTest.TestAdapter with new MSTest packages and added necessary analyzer configurations. Also included version management for the Microsoft.NET.Test.Sdk and various MSTest packages in Directory.Packages.props to ensure uniformity across the project.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-27 22:55:29 +01:00
Ivandro Jao
2e2fa383c5 Switch to SDK-style project and add MSTest references
Converted Test.csproj to SDK-style format for modern .NET framework targeting and project simplification. Added MSTest.TestAdapter and MSTest.TestFramework package references and their versions to Directory.Packages.props.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-27 22:44:56 +01:00
Nikolaj Olsson
0dcb118064 Fix new issue with OCR/Italic - thx Zoltan :) 2024-09-27 07:54:16 +02:00
Nikolaj Olsson
9e428531ce Add Icelandic language to ChatGPT + Gemini - thx dhofverberg :)
Fix #8855
2024-09-26 07:32:58 +02:00