Commit Graph

20245 Commits

Author SHA1 Message Date
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
Ivandro Jao
f3139dba3d Add XML documentation to HTML tag constants
Enhanced HtmlUtil.cs with XML comments detailing the purpose of each HTML tag constant. This improves code readability and helps developers understand the specific usage of these constants.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-13 15:18:44 +01:00
Ivandro Jao
80d20fbb77 Add XML documentation for all public methods in HtmlUtil.cs
Update the HtmlUtil.cs file to include comprehensive XML documentation for all public methods. This enhances code readability and provides detailed explanations for each method's functionality, parameters, and return values.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-13 15:14:12 +01:00
Ivandro Jao
39d1bccfc5 Add detailed file type checks and utility methods in FileUtil
Enhanced the `FileUtil` class by adding multiple methods to determine specific file types and read file content in different ways. This includes methods for ZIP, 7-Zip, MP3, WAV, RAR, PNG, JPG, and other file formats, as well as functions to handle text and binary file operations.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
2024-09-13 15:10:58 +01:00
Nikolaj Olsson
293e81c42c fix typo 2024-09-13 07:47:51 +02:00
Nikolaj Olsson
bd3497f23a Fix possible crash in "Gen transparent subs" when using video from "Program files" 2024-09-13 07:15:13 +02:00
Nikolaj Olsson
4237f39a9f Fix wrong dialog info text in FCE 2024-09-13 07:13:59 +02:00
Nikolaj Olsson
d16a3a06c0 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-09-13 07:12:58 +02:00
Nikolaj Olsson
37e8cedb6a Update Koreans translation - thx domddol :) 2024-09-13 07:12:53 +02:00
Nikolaj Olsson
b430a49283
Merge pull request #8818 from potplayer-fanpack/main
Update pl-PL.xml file
2024-09-11 14:17:19 +02:00