Commit Graph

19854 Commits

Author SHA1 Message Date
Nikolaj Olsson
3c0c92e4d1 Update Bulgarian translation - thx Калин :) 2024-05-09 13:21:32 +02:00
Nikolaj Olsson
36f308c0c5
Merge pull request #8341 from bovirus/main
Update Italian language
2024-05-09 10:58:01 +02:00
bovirus
18cd77e280
Update Italian language 2024-05-09 10:18:21 +02:00
Nikolaj Olsson
6e8944742a Minor UI fix 2024-05-09 09:01:23 +02:00
Nikolaj Olsson
5eacb31f0b Fix Azure TTS - thx BlueBlue7891 :)
Fix #8339
2024-05-09 08:10:36 +02:00
Nikolaj Olsson
4a02923c80 Hack for multi download... 2024-05-08 21:41:19 +02:00
Nikolaj Olsson
7e623130e6 Work on #8334 2024-05-08 20:57:22 +02:00
Nikolaj Olsson
31e92dcfbc Work on #8312 2024-05-08 20:38:26 +02:00
Nikolaj Olsson
9d7d1be987 Update Bulgarian translation - thx Калин :) 2024-05-08 19:37:39 +02:00
Nikolaj Olsson
3a6ecac04a Minor UI fix 2024-05-08 19:33:14 +02:00
Nikolaj Olsson
fa3ca2e992 Try to fix #8333 2024-05-08 19:27:16 +02:00
Nikolaj Olsson
a9f70c1ffe Update translation 2024-05-08 19:21:55 +02:00
Nikolaj Olsson
3e312b682c Work on #8332 2024-05-08 19:11:42 +02:00
Nikolaj Olsson
8c14075f4b Display TTS speed adjustment in review - thx BlueBlue7891 :)
Fix #8329
2024-05-08 17:17:47 +02:00
Nikolaj Olsson
75922a09d2
Merge pull request #8331 from ivandrofly/feature/namelist
Refactor code for XML document creation
2024-05-08 16:55:42 +02:00
Ivandro Jao
d687d4c51c Refactor NameList to simplify addition of names
The logic for adding names to either _namesMultiList or _namesList in the NameList class was spread widely in the method. It has now been encapsulated within a new private method called TryAdd. This commit leads to cleaner and clearer code within the class and promotes easier maintenance in the future.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-05-08 13:24:39 +01:00
Ivandro Jao
2b726092e8 Refactor code for XML document creation
The XML document creation has been refactored into a separate function to reduce repetition. Prior code for creating the XML document was repeated in several places, specifically in the 'Remove' and 'Add' functions. The new 'CreateDocument' function now contains this code, making the overall codebase cleaner and easier to maintain.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-05-08 13:20:06 +01:00
Nikolaj Olsson
e91bf3d1b7 Minor UI fix 2024-05-07 20:25:15 +02:00
Nikolaj Olsson
44676bc9a9 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-05-07 20:05:18 +02:00
Nikolaj Olsson
e3bb91e9d0 Minor ui fix 2024-05-07 20:05:05 +02:00
Nikolaj Olsson
76001419c5
Merge pull request #8328 from ivandrofly/spellcheck
Remove redundant XML load in SpellCheckWordLists
2024-05-07 18:56:54 +02:00
Nikolaj Olsson
ea565668ce Fix crash #8323 2024-05-07 18:42:24 +02:00
Nikolaj Olsson
be432810e1 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-05-07 18:35:24 +02:00
Nikolaj Olsson
b6579d055b Allow TTS without video - thx David :)
Work on #8324
2024-05-07 18:35:19 +02:00
Nikolaj Olsson
d9923e52e4
Merge pull request #8327 from hugok79/patch-120
Update pt-PT.xml
2024-05-07 18:08:56 +02:00
Hugo Carvalho
d2e5ec1487
Update pt-PT.xml
For commits: 280a2e1454 and f643d84844
2024-05-07 16:51:56 +01:00
Ivandro Jao
77c93bfae7 Remove redundant XML load in SpellCheckWordLists
In the SpellCheckWordLists class, the redundant XML load operation in the 'else' clause has been removed. This change simplifies the code by getting rid of an unnecessary operation that was adding complexity and potentially slowing down the application.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-05-06 23:13:06 +01:00
Nikolaj Olsson
bc6c382a4f Allow for "All files" when browsing for vlc.exe
Related to #8319
2024-05-06 18:49:51 +02:00
Nikolaj Olsson
5bc6775331 Try to make preview with ffmpeg if available - thx Kyowa312 :)
Fix #8321
2024-05-06 18:36:16 +02:00
Nikolaj Olsson
186efe3d81 Change text slightly 2024-05-06 18:35:26 +02:00
Nikolaj Olsson
9279e0cf4f Update dk/se translations 2024-05-06 18:34:59 +02:00
Nikolaj Olsson
0a613482ef
Merge pull request #8320 from diomed/main
OCR fixes for Croatian
2024-05-06 18:14:29 +02:00
Nikolaj Olsson
5afc122580
Merge pull request #8322 from elfriob/main
Update Russian translation
2024-05-06 18:14:11 +02:00
elfriob
aacb423f3d
Update Russian translation 2024-05-06 11:16:04 +00:00
May Kittens Devour Your Soul
93ae594730
Update hrv_OCRFixReplaceList.xml 2024-05-06 10:00:14 +02:00
Nikolaj Olsson
5ca151bce6 Update eleven labs api to best model - thx cvrle77 :)
Work on #8318
2024-05-06 06:38:41 +02:00
Nikolaj Olsson
3accd3fc58 Update change log 2024-05-05 21:17:53 +02:00
Nikolaj Olsson
15126e0c7f Work on ttml Imsc11 2024-05-05 18:12:38 +02:00
Nikolaj Olsson
106cdb9684 Try to handle empty text inTTS - thx Miguel :) 2024-05-05 16:59:02 +02:00
Nikolaj Olsson
201e61265d Update Korean translaton - thx domddol :) 2024-05-05 16:37:40 +02:00
Nikolaj Olsson
be06abd76d Add TTS AllTalk - thx Franz :) 2024-05-05 16:29:46 +02:00
Ivandro Jao
ca3c30372d Refactor condition check in IfoParser
The condition check in the IfoParser class has been refactored for better readability and correctness. Proper grouping of conditions within parentheses has been added to ensure appropriate execution order.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-05-05 14:29:07 +01:00
Ivandro Jao
778b2d04b3 Update minCount calculation in GetAllLanguages method
The GetAllLanguages function in IfoParser.cs has been updated to improve the calculation of the variable minCount. It now takes into consideration the count of three component lists - Subtitles, SubtitleIDs, and SubtitleTypes - ensuring that the loop operates on the smallest size among them. This modification prevents potential out-of-range errors.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-05-05 14:27:53 +01:00
Ivandro Jao
55bd510311 Optimize GetAllLanguages method in IfoParser
This commit optimizes the GetAllLanguages method within the IfoParser class. Instead of checking bounds within the loop, we calculate the minimum count between SubtitleIDs and SubtitleTypes before starting the iteration. This simplifies the logic and could potentially improve performance.

Signed-off-by: Ivandro Jao <ivandrofly@gmail.com>
2024-05-05 14:26:27 +01:00
Nikolaj Olsson
57b96a236b Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-05-05 14:07:33 +02:00
Nikolaj Olsson
c0d2c73109 Allow vertical zoomout in waveform (ctrl+shift+mouse-wheel in waveform) - thx Leon :)
Fix #8314
2024-05-05 14:07:27 +02:00
Nikolaj Olsson
6697aa8453
Merge pull request #8313 from nkh0472/patch-111
Update zh-Hans.xml
2024-05-05 13:37:47 +02:00
Nikolaj Olsson
ad31fba605
Merge pull request #8311 from bovirus/main
Update Italian language
2024-05-05 13:36:49 +02:00
nkh0472
a842bde098
Update zh-Hans.xml 2024-05-05 18:47:31 +08:00
bovirus
71a94b0c32
Update Italian language 2024-05-05 12:03:28 +02:00