Commit Graph

20288 Commits

Author SHA1 Message Date
Nikolaj Olsson
674dcf3159
Merge pull request #8920 from Flitskikker/feature/import-shotcuts-initial-directory
Initially browse for shot cuts in video folder
2024-10-20 12:54:50 +02:00
Nikolaj Olsson
aeed8afa3c
Merge pull request #8919 from Flitskikker/feature/update-nl-translation-20241018
Update Dutch translation
2024-10-20 12:54:13 +02:00
Martijn van Berkel (Flitskikker)
f378bf8def Remove weird spaces 2024-10-20 12:38:46 +02:00
Martijn van Berkel (Flitskikker)
c13db1f4a7 More general approach 2024-10-20 12:23:57 +02:00
Nikolaj Olsson
740ac29f6b Do not append voices when reloading 2024-10-19 21:31:51 +02:00
Ivandro Jao
0edb30eba8 Refactor frame-to-milliseconds conversion
Replaced direct frame rate based conversions with reusable utility methods across multiple subtitle formats. This improves consistency, readability, and maintainability of the codebase.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-10-19 20:28:53 +01:00
Martijn van Berkel (Flitskikker)
ba565edfa4 Update Dutch translation 2024-10-18 22:54:39 +02:00
Martijn van Berkel (Flitskikker)
227b30e374 Initially browse for shot cuts in video folder 2024-10-18 22:29:53 +02:00
Martijn van Berkel (Flitskikker)
13cfef9144 Handle subtitles as connected that turn out to be so when chaining 2024-10-18 22:24:59 +02:00
Nikolaj Olsson
30ba6afdba
Merge pull request #8616 from ivandrofly/matroska
Matroska
2024-10-18 20:38:24 +02:00
Nikolaj Olsson
e4574183f7 Minor fixes 2024-10-17 08:03:45 +02:00
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