Commit Graph

20254 Commits

Author SHA1 Message Date
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
Nikolaj Olsson
97f5fcaecc Add one more model 2024-09-26 07:14:11 +02:00
Nikolaj Olsson
8eeaa3212b Add llama3.2 model 2024-09-26 07:11:39 +02:00
Nikolaj Olsson
e11977d438 More italic detection - thx Zoltan :) 2024-09-26 06:35:42 +02:00
Ivandro Jao
244e6075be Clean .gitignore file by removing redundant entries
Removed unnecessary entries for /src/TestResults/, NuGet files, and package directories. Also added .idea/ for JetBrains Rider configuration files. This ensures the .gitignore file is more organized and easier to maintain.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-25 14:23:57 +01:00
Nikolaj Olsson
95e4c2450b Change new line handling to match VS code - thx darnn :)
Fix #8854
2024-09-25 06:22:30 +02:00
Nikolaj Olsson
b83470277c Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-09-24 17:17:29 +02:00
Nikolaj Olsson
7c55a71a2a Fix for wrong OCR italic detection - thx Boulder08 :)
Fix #8851
2024-09-24 17:17:23 +02:00
Nikolaj Olsson
675b6bc1d3
Merge pull request #8831 from ivandrofly/settings
Refactor XmlWriter variable names in Settings.cs
2024-09-24 13:31:40 +02:00
Nikolaj Olsson
afd7ac9b5a
Merge pull request #8838 from diomed/main
Croatian OCR update
2024-09-24 13:29:34 +02:00
May Kittens Devour Your Soul
43a15c961b
Update hrv_OCRFixReplaceList.xml 2024-09-19 11:38:47 +02:00
May Kittens Devour Your Soul
a721aa814a
Update hrv_OCRFixReplaceList.xml 2024-09-19 11:23:11 +02:00
May Kittens Devour Your Soul
84a5515e5e
Update hrv_OCRFixReplaceList.xml 2024-09-19 09:43:14 +02:00
Nikolaj Olsson
f667fef5c7 Align navigating video with frame when in frame-time-code-mode
Related to #7105
2024-09-19 07:54:52 +02:00
Nikolaj Olsson
dbe07ab735 Do not show save message with text box - thx Pasco :) 2024-09-19 07:51:24 +02:00
Ivandro Jao
14948deb4c Refactor XmlWriter variable names in Settings.cs
Renamed all occurrences of `textWriter` to `xmlWriter` for consistency and clarity. This change enhances code readability without altering functionality, ensuring that the `XmlWriter` object is consistently referenced throughout the file.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-17 14:08:18 +01:00
Nikolaj Olsson
9ae93c4d49
Merge pull request #8821 from ivandrofly/doc
Improves/Add documentation
2024-09-15 15:28:56 +02:00
Nikolaj Olsson
bc82e79089 Fix bug in EBU validation
Now detect teletext correctly
2024-09-15 15:26:36 +02:00
Nikolaj Olsson
7aa4635cd3 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-09-15 10:54:32 +02:00
Nikolaj Olsson
bee0d0eda1 Add interface for save to stream 2024-09-15 10:54:25 +02:00
Nikolaj Olsson
163504389c
Merge pull request #8825 from hugok79/patch-129
Update pt-PT.xml
2024-09-15 08:28:48 +02:00
Hugo Carvalho
b7e1e4ae5a
Update pt-PT.xml
For commit: d97cefd57b
2024-09-14 23:39:11 +01:00
Nikolaj Olsson
2d38b34b45 Add "o1-mini" model 2024-09-14 14:41:45 +02:00
Nikolaj Olsson
50d4864987 Minor fix for Cavena890 save options
Missing check for Romanian
2024-09-14 11:31:30 +02:00