Ivandro Jao
d5190e44b9
Refactor quotes replacement in FixCommonErrors
...
Changed the structure and logic of AddMissingQuotes.cs to improve readability and performance. Instead of multiple utility function calls with hardcoded quotes, a constant "doubleQuote" is implemented, and the nested conditions are reorganized for better flow.
2024-02-24 20:30:27 +00:00
Ivandro Jao
932d168b6e
Avoid replacing punctuation for French in FixDoubleDash
...
This commit introduces a conditional to prevent replacing ellipsis followed by a question mark or exclamation mark with no space in between, specifically for French language. This change was deemed necessary as the original punctuation format is commonly used in French typography.
2024-02-24 20:27:52 +00:00
Ivandro Jao
8344295af9
Refactor uppercase fix after colon in subtitles
...
The subtitle correction code was refactored to improve readability and efficiency. A few lines were rearranged for better flow, and we introduced helper methods to determine the language, the start of the text, and special naming conventions. This will help in maintaining and understanding the code in the future.
2024-02-24 20:16:29 +00:00
Nikolaj Olsson
9bf47b3dc7
Try to fix Whisper CPP Hebrew language code
2024-02-24 19:52:52 +01:00
Nikolaj Olsson
2495eab2d1
Update change log
2024-02-24 10:53:06 +01:00
Nikolaj Olsson
423db90113
Updated Russian translation - thx elfriob :)
2024-02-23 18:05:35 +01:00
Ivandro Jao
6e715a5045
Add tests and improve 'MissingOpenBracket' fixer
...
The update introduces test cases for the 'MissingOpenBracket' fixer to ensure it behaves as expected. A significant re-work has also been done on the 'MissingOpenBracket' fixer, refining its handling of various scenarios to resolve potential issues more effectively. The updated fixer also checks for per line restoration and deals with 2 or more lines even if their adjacent line is not closed correctly.
2024-02-22 21:41:56 +00:00
Nikolaj Olsson
37286cc42e
Merge pull request #7962 from nkh0472/patch-103
...
Update zh-Hans.xml
2024-02-22 17:44:44 +01:00
Nikolaj Olsson
6118218c8d
Merge pull request #7965 from potplayer-fanpack/main
...
Update pl-PL.xml
2024-02-22 17:44:22 +01:00
Nikolaj Olsson
199aa53cd9
Merge pull request #7966 from bovirus/main
...
Italian language update
2024-02-22 17:43:52 +01:00
bovirus
17014fcd25
Italian language update
2024-02-22 15:55:00 +01:00
Adam Malich
bdc81a8918
Update pl-PL.xml
2024-02-22 14:22:27 +01:00
May Kittens Devour Your Soul
e6ec4052d0
Update hrv_OCRFixReplaceList.xml
2024-02-22 10:37:42 +01:00
nkh0472
fad69f92ff
Update zh-Hans.xml
...
for commit 9151febbf0
2024-02-22 10:32:28 +08:00
Nikolaj Olsson
accadebdc0
Merge pull request #7955 from diomed/main
...
Croatian OCR update
2024-02-21 20:33:52 +01:00
Nikolaj Olsson
9aee30d244
Merge pull request #7957 from Flitskikker/feature/update-nl-translation-20240221
...
Update Dutch translation
2024-02-21 20:33:33 +01:00
Nikolaj Olsson
c5b24c9453
Merge pull request #7956 from Flitskikker/feature/btc-fix-20240221
...
A few more "Beautify time codes" fixes
2024-02-21 20:33:05 +01:00
Nikolaj Olsson
7eddaa34d5
Fix names mistake - thx Zoltán :)
2024-02-21 20:30:33 +01:00
Martijn van Berkel (Flitskikker)
603e5c9358
Update Dutch translation
2024-02-21 13:08:13 +01:00
Martijn van Berkel (Flitskikker)
a1f8858f4b
Improve comment
2024-02-21 12:47:39 +01:00
Martijn van Berkel (Flitskikker)
7efcf2f815
When chaining, use original cues if they were pushed outside, so chaining rules will be used
2024-02-21 12:36:19 +01:00
Martijn van Berkel (Flitskikker)
3a6025e4da
Also check if out cues are chainable
2024-02-21 12:24:27 +01:00
Martijn van Berkel (Flitskikker)
7e6d3c2424
Fix two distance calculations (overlap detection)
2024-02-21 11:43:27 +01:00
May Kittens Devour Your Soul
4c6d65699e
Update hrv_OCRFixReplaceList.xml
2024-02-21 08:38:13 +01:00
Nikolaj Olsson
bc1a9dc331
Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit
2024-02-21 06:54:49 +01:00
Nikolaj Olsson
9151febbf0
Fix for "Add missing periods" and ASSA tags - thx Firegloom :)
...
Fix #7952
2024-02-21 06:54:42 +01:00
Nikolaj Olsson
5be3e460ea
Merge pull request #7951 from bovirus/main
...
Italian language update
2024-02-20 16:33:29 +01:00
bovirus
e7f96237c6
Italian language update
2024-02-20 15:07:18 +01:00
Nikolaj Olsson
5a2375fa57
Minor fix for last commit
2024-02-20 09:30:39 +01:00
Nikolaj Olsson
06e75f8101
Auto load video when switching to layout w video - thx Dave :)
2024-02-20 09:28:26 +01:00
Nikolaj Olsson
2545e1b591
Merge pull request #7950 from nkh0472/patch-102
...
Update zh-Hans.xml
2024-02-20 08:48:02 +01:00
nkh0472
6d7f9e809c
Update zh-Hans.xml
...
for commit 74939aa3c3
, 92d3e3d236
2024-02-20 15:46:32 +08:00
May Kittens Devour Your Soul
3c0ffd7afd
Update hrv_OCRFixReplaceList.xml
2024-02-20 07:35:51 +01:00
May Kittens Devour Your Soul
b6fd7e68b8
Update hrv_OCRFixReplaceList.xml
2024-02-20 04:45:39 +01:00
May Kittens Devour Your Soul
e608b65dce
Update hrv_OCRFixReplaceList.xml
2024-02-20 04:39:20 +01:00
May Kittens Devour Your Soul
df73a156aa
Update hrv_OCRFixReplaceList.xml
2024-02-20 04:17:36 +01:00
May Kittens Devour Your Soul
54d1f34eed
Update hrv_OCRFixReplaceList.xml
2024-02-20 04:12:00 +01:00
Nikolaj Olsson
4ba2cab8a8
Fix for spell check concat name in uppercase
2024-02-19 20:02:29 +01:00
Nikolaj Olsson
c7cbd82839
Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit
2024-02-19 20:02:00 +01:00
Nikolaj Olsson
772f17e2b0
Update Korean translation - thx domddol :)
2024-02-19 20:01:52 +01:00
May Kittens Devour Your Soul
cf118550b5
Update hrv_OCRFixReplaceList.xml
2024-02-19 08:22:17 +01:00
Nikolaj Olsson
0ee1cd1f26
Merge pull request #7946 from ivandrofly/feature/bracket
...
Update FixMissingOpenBracket method description
2024-02-19 06:55:11 +01:00
May Kittens Devour Your Soul
87d5569549
Update hrv_OCRFixReplaceList.xml
2024-02-19 04:22:44 +01:00
Ivandro Jao
a2254f955c
Update FixMissingOpenBracket method description
...
The method description for FixMissingOpenBracket in Language.cs has been updated. It now includes fixing both missing square and round opening brackets, as opposed to just square brackets previously.
2024-02-18 20:52:27 +00:00
Nikolaj Olsson
a997304ae9
Fix possible crash in mkv/ts reading - thx Maknol :)
2024-02-18 19:34:13 +01:00
Nikolaj Olsson
e882034a5b
Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit
2024-02-18 19:19:56 +01:00
Nikolaj Olsson
83844ce568
Update change log
2024-02-18 19:19:50 +01:00
Nikolaj Olsson
6682f0b1bd
Merge pull request #7945 from hugok79/patch-115
...
Update pt-PT.xml
2024-02-18 19:10:22 +01:00
Hugo Carvalho
704e5c48c4
Update pt-PT.xml
...
For coomit: ffc3150a44
2024-02-18 18:04:20 +00:00
Nikolaj Olsson
ebcebd9961
Update Danish translation
2024-02-18 18:50:37 +01:00