Commit Graph

17543 Commits

Author SHA1 Message Date
niksedk
6a7c09a3a6 Update "BeautifyTimeCodes" toolbar icons - thx jmaraujouy :)
See https://github.com/SubtitleEdit/subtitleedit/discussions/6921#discussioncomment-6543902
2023-07-25 21:17:26 +02:00
niksedk
831faa71d2 Update change log 2023-07-25 20:11:32 +02:00
niksedk
7d4f9395e1 Update Whisper Const-me to version 1.12
https://github.com/Const-me/Whisper/releases/tag/1.12.0
2023-07-25 19:40:52 +02:00
niksedk
513b0b9a0a Fix crash in OCR/Find - thx przemo20 :)
Fix #7155
2023-07-25 19:36:26 +02:00
niksedk
ccb3a6094f Fix possible crash in "Fix common errors" - thx darnn :)
Fix #7146
2023-07-25 17:22:02 +02:00
niksedk
a784236846 Fix invanted NikseUpDown ValueChanged event 2023-07-25 07:08:39 +02:00
Nikolaj Olsson
19435e4d53
Merge pull request #7153 from hugok79/patch-99
Update pt-PT.xml
2023-07-24 15:18:53 -04:00
niksedk
2c3f73f68b Minor fixes for last commit 2023-07-24 21:17:26 +02:00
Nikolaj Olsson
99fe3a777f
Merge pull request #7154 from ivandrofly/feature/fixcomonerrors-description
Update FixCommonErrors with explicit descriptions
2023-07-24 15:14:42 -04:00
Ivandro Jao
b062e749c8 Update FixCommonErrors with explicit descriptions
Several FixItem descriptions were updated in the FixCommonErrors.cs source file with clear and specific examples of what each fix does. This will help users understand the changes that are being performed on their subtitles, leading to enhanced usability and a better user experience. This change does not affect functionality, it solely enriches the user interface with more informative text.
2023-07-24 19:12:16 +01:00
niksedk
bfc1a339cf More Hebrew language auto detect words 2023-07-24 20:10:23 +02:00
Hugo Carvalho
f44deaf6e7
Update pt-PT.xml 2023-07-24 18:53:38 +01:00
niksedk
d2a6a609d6 Fix crash when generating empty wav file for online video - thx Gromko1111 :)
Fix #7140
2023-07-24 19:49:53 +02:00
niksedk
521fb05c1d Fix mkv in batch-convert 2023-07-24 16:31:24 +02:00
niksedk
7622aaf5f0 Minor fix 2023-07-24 15:52:06 +02:00
niksedk
d9f8851b91 Update Bulgarian translation - thx Калин :) 2023-07-24 15:34:09 +02:00
Nikolaj Olsson
69dbc97473
Merge pull request #7152 from Flitskikker/feature/fix-20230724
Fix for #7151
2023-07-24 06:55:00 -04:00
Martijn van Berkel (Flitskikker)
ad93f0f6f2 Fix for #7151 2023-07-24 10:16:18 +02:00
niksedk
4e898c62ac Minor UI fixes 2023-07-24 05:41:01 +02:00
niksedk
8c07f7339b Testing a bit more... 2023-07-24 05:07:37 +02:00
niksedk
a31fac563a Do not call onpaint as much... 2023-07-24 05:02:32 +02:00
niksedk
0eaa058ba7 Only use invalidate 2023-07-23 21:15:50 +02:00
niksedk
47df52c61e Use local var 2023-07-23 21:06:07 +02:00
niksedk
7cf8ea11a8 Try to improve performance a little 2023-07-23 21:01:25 +02:00
niksedk
297423f4c3 Try to fix auto-save issue 2023-07-23 20:42:25 +02:00
niksedk
551e3ab3a8 Minor clean 2023-07-23 20:07:23 +02:00
niksedk
5381ed8cfe Fix WebVTT crash - thx ms2048 :)
Fix #7148
2023-07-23 20:07:11 +02:00
niksedk
1003c82710 More work on #7109 2023-07-23 16:38:56 +02:00
Nikolaj Olsson
0791562994
Merge pull request #7143 from ivandrofly/feature/recursive-line-breaks
Refactor line break removal using new RemoveRecursiveLineBreaks method
2023-07-23 10:07:06 -04:00
Nikolaj Olsson
d85f68da98
Merge pull request #7138 from ivandrofly/develop
Update name lists in dictionary files
2023-07-23 10:00:54 -04:00
Nikolaj Olsson
9d82ae4eaf
Merge pull request #7141 from Flitskikker/feature/update-nl-translation-20230722
Update Dutch translation
2023-07-23 09:59:13 -04:00
Nikolaj Olsson
db060c77be
Merge pull request #7142 from ivandrofly/feature/main-clean
Remove redundant UI control methods
2023-07-23 09:58:31 -04:00
Nikolaj Olsson
0719c7e412
Merge pull request #7144 from ivandrofly/feature/save-retry
Replace magic numbers with named constants
2023-07-23 09:55:30 -04:00
Nikolaj Olsson
b1eb3c6bfa
Merge pull request #7145 from Flitskikker/feature/btc-fix-20230723
Add more null and count checks
2023-07-23 09:54:28 -04:00
niksedk
cc77023f2d Work on #7109
Fix for new UpDown control
2023-07-23 15:49:08 +02:00
Martijn van Berkel (Flitskikker)
1c21a422db Add more null and count checks 2023-07-23 15:18:41 +02:00
niksedk
8752323fb3 Fix crash in audio visualizer - thx Juan :) 2023-07-23 15:00:21 +02:00
Ivandro Jao
9bcf49e286 Replace magic numbers with named constants
This commit replaces magic numbers in the retry mechanism with named constants. In "UpdateLanguageFiles", the hardcoded delay of 10ms between retries has been replaced by the variable 'delayBetweenRetries'. Similarly, in "UpdateAssemblyInfo", the number of retries set to 10 has been replaced with 'maxRetries' and 'delayBetweenRetries' is used for the time gap between each attempt. This makes the code more readable and maintainable.
2023-07-23 13:54:55 +01:00
niksedk
e4ff1ac262 more #7109 2023-07-23 14:15:54 +02:00
niksedk
687be44fd9 Work on #7109 2023-07-23 14:14:13 +02:00
Ivandro Jao
48e75d2c23 Refactor line break removal using new RemoveRecursiveLineBreaks method
This commit replaces the previous method of removing repeated line breaks in the text with a new RemoveRecursiveLineBreaks method. The previous implementation consisted of a loop that executed a Replace method each time a repeated line break was found in the text. This was not an optimal solution as it resulted in unnecessary overhead due to the continuous replacement process.

Now, the RemoveRecursiveLineBreaks method performs this operation more efficiently, without the need to continuously call the Replace method. The codebase has been updated to use the new method, improving execution speed and efficiency. Unit tests have also been added to confirm the functionality of this new method.
2023-07-23 01:51:42 +01:00
Ivandro Jao
c839752cfc Remove redundant UI control methods
The redundant methods handling UI controls for subtitle timing adjustments and waveform zoom were removed. These event handler methods were replaced with a more efficient design that is controlled centrally, improving code maintainability and reducing redundancy.
2023-07-23 01:17:28 +01:00
Martijn van Berkel (Flitskikker)
93ab333ae3 Ditto 2023-07-22 21:45:28 +02:00
Martijn van Berkel (Flitskikker)
98b54a5169 Ditto 2023-07-22 21:41:32 +02:00
Martijn van Berkel (Flitskikker)
11eada9d4d Some corrections 2023-07-22 21:28:17 +02:00
niksedk
e46f4e4092 Minor UI work 2023-07-22 17:46:37 +02:00
Ivandro Jao
f66f745bd2 Adjust order of operations in SplitLongLines
This commit modifies the order of method calls in the SplitLongLines feature. The SubtitleListview1.Items.Clear() operation is now called after SubtitleListview1.BeginUpdate(). This change prevents visual glitches and improves the overall performance by delaying the UI update until all changes have been made.
2023-07-22 13:24:21 +01:00
Ivandro Jao
de15e8a06f Update name lists in dictionary files
Changes were made to the 'en_names.xml' and 'names.xml' dictionary files. The name '2Pac' was moved from 'en_names.xml' to 'names.xml' to enhance the correct language categorization. The name 'AI' was added to 'en_names.xml' to improve the AI related query processing. In addition, several other relevant names were also added to 'names.xml', including 'Apple Inc.', 'Rumble', 'The Matrix', 'Burger King', and 'KFC', to enhance the dictionary coverage for those specific topics. The name 'AndreasB88', which seems to be a typo, was removed.
2023-07-22 01:09:31 +01:00
Martijn van B
727ab8ca77
Update Dutch.isl 2023-07-22 01:08:55 +02:00
Martijn van B
dd3dcea5d9
Update Subtitle_Edit_Localization.iss 2023-07-22 01:07:05 +02:00