Commit Graph

20182 Commits

Author SHA1 Message Date
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
Adam Malich
b36eff6eab Update pl-PL.xml file 2024-09-11 14:04:45 +02:00
Nikolaj Olsson
ddeee56e03 Fix for divide by zero in tts 2024-09-11 09:21:36 +02:00
Nikolaj Olsson
0b90c931a6 Try to add support for Eleven labs "eleven_turbo_v2_5" - thx laszlolaszlo :)
Related to https://github.com/SubtitleEdit/subtitleedit/discussions/8810
2024-09-11 07:13:14 +02:00
Nikolaj Olsson
5bc1e56f75 Add "Intel Quick Sync" for "video burn in" - thx ghostminhtoan :)
Fix #8814
Added "h264_qsv" + "hevc_qsv" video encoders
2024-09-11 07:09:51 +02:00
Nikolaj Olsson
8d23d40fad
Merge pull request #8811 from nkh0472/patch-123
Update zh-Hans.xml
2024-09-10 11:49:26 +02:00
nkh0472
00f108c3d5
Update zh-Hans.xml
for commit d97cefd57b
2024-09-10 16:27:44 +08:00
Nikolaj Olsson
b9ebcb5316
Merge pull request #8807 from bovirus/main
Update Italian language
2024-09-10 08:10:13 +02:00
bovirus
f60bb6c8d6
Update Italian language 2024-09-09 19:14:20 +02:00
Nikolaj Olsson
17489f32dd Allow save selected lines as subtitle with only 1 row selected - thx Pierrounator :)
Fix #8796
2024-09-09 18:46:59 +02:00
Nikolaj Olsson
d97cefd57b Add move all shot changes shortcuts - thx acetilo :)
Work on  #8795
2024-09-09 18:17:51 +02:00
May Kittens Devour Your Soul
7b4d2cfd4d
Update hrv_OCRFixReplaceList.xml 2024-09-09 07:10:54 +02:00
Nikolaj Olsson
89cdf24b60 Update Romanian installer translation - thx mircea :) 2024-09-07 13:49:19 +02:00
Nikolaj Olsson
16e19c9252 Update winget + libse pack info 2024-09-06 10:57:58 +02:00