Commit Graph

14161 Commits

Author SHA1 Message Date
Martijn van Berkel (Flitskikker)
df94d8bdae Merge branch 'master' into feature/verify-integrity
# Conflicts:
#	src/ui/Forms/Main.Designer.cs
2024-02-14 16:06:02 +01:00
everest
078f0c41d1 Implement simple sort method for multiple replace rules view 2024-02-12 20:01:57 -03:00
Nikolaj Olsson
b6892bc235 Add default icon for layout - thx PaulVeld :)
Fix #7899
2024-02-11 18:41:04 +01:00
Nikolaj Olsson
900dab28de Improve Macedonia language auto detect - thx Aco :) 2024-02-11 17:56:34 +01:00
Martijn van Berkel (Flitskikker)
ae5f53aec8 Save selected paragraph when sorting 2024-02-10 12:34:00 +01:00
Martijn van Berkel (Flitskikker)
b15dea31a8 Improve selecting, allow column click sort 2024-02-10 12:17:30 +01:00
Martijn van Berkel (Flitskikker)
fb2781909e Fix selecting, fix drag&drop 2024-02-10 11:58:51 +01:00
Martijn van Berkel (Flitskikker)
a669dec3cf Fix seeking, hope to improve racing 2024-02-10 11:36:07 +01:00
Martijn van Berkel (Flitskikker)
a8c1ba2432 Restore code 2024-02-10 00:38:20 +01:00
Martijn van Berkel (Flitskikker)
13dbdc55b2 Disable menu item until subtitle loaded 2024-02-10 00:21:27 +01:00
Martijn van Berkel (Flitskikker)
b908b49e65 Everything seems to be working now 2024-02-10 00:01:26 +01:00
Martijn van Berkel (Flitskikker)
a49af31712 Work on Verify completeness dialog 2024-02-08 20:21:46 +01:00
Martijn van Berkel (Flitskikker)
384b75c0a5 Update dialog flags 2024-02-08 16:10:48 +01:00
Martijn van Berkel (Flitskikker)
7a641b0ef2 Several Beautify timecodes improvements
- Fix intermediate shot changes being ignored during chaining
- By default, still enforce general chaining rules if unaffected by cue-specific rules
- Prepare separate shot change behavior settings for cue-specific rules if ever needed
- Show review dialog if some paragraphs were not fully chained
2024-02-07 21:48:38 +01:00
Martijn van Berkel (Flitskikker)
a5751ac2fd Add subtitle list view option to evenly distribute selected lines (CPS) 2024-02-06 20:56:35 +01:00
Martijn van Berkel (Flitskikker)
2502e5b363 Fix another typo 2024-02-05 21:44:07 +01:00
Martijn van Berkel (Flitskikker)
2270bf012b Ditto when only the left out-cue is on a shot change 2024-02-05 21:16:13 +01:00
Martijn van Berkel (Flitskikker)
48b7c612b3 Fix typo 2024-02-05 20:36:02 +01:00
Martijn van Berkel (Flitskikker)
aed3ccd8f9 When chaining, also check for shot changes in between when only the right in-cue is on a shot change 2024-02-05 13:34:05 +01:00
Nikolaj Olsson
7fe11340e1
Merge pull request #7900 from ivandrofly/feature/logger
Feature/logger
2024-02-03 18:30:24 +01:00
Nikolaj Olsson
1ae1b08d20
Merge pull request #7897 from PWillumsen/main
Fix: comment and and context was switched for some checks
2024-02-03 18:28:05 +01:00
Nikolaj Olsson
13cad5421a Fix unit tests 2024-02-03 18:25:49 +01:00
Nikolaj Olsson
df10d9345f Support for Remove if only music symbols in CLI - thx Hlsgs :)
Work on #7898
2024-02-03 18:19:49 +01:00
Ivandro Jao
af58e4c777 Add machine info caching to SeLogger class
A cached version of the machine information is now utilized in the SeLogger class. The method GetSeInfo() now fetches data from this cache, rather than doing a direct fetch each time. This change aims to improve performance by reducing redundant information retrieval.
2024-02-02 22:45:09 +00:00
Ivandro Jao
3708e0c3da Remove TextLengthHelper class from project
The TextLengthHelper.cs file under the TextLengthCalculator in the common library has been completely deleted. This change removes redundant functions and helps to streamline the codebase.
2024-02-02 22:22:46 +00:00
Peter Willumsen
73e2ba221d Fix: comment and and context was switched for some checks 2024-02-02 11:03:48 +01:00
Nikolaj Olsson
51f95d9489 Try to fix Arabic character count - thx OmrSi :)
Work on #7889
2024-02-01 20:17:10 +01:00
Nikolaj Olsson
b501ebcb8c More UI 2024-01-31 20:20:45 +01:00
Nikolaj Olsson
5d697ba8a0 Minor UI fix 2024-01-31 20:16:23 +01:00
Nikolaj Olsson
929f47ccb4 Use SubtitleMaximumDisplayMilliseconds for ShortenLongTexts + rename 2024-01-31 20:01:52 +01:00
Nikolaj Olsson
ae93b3204f Fix for not-working double click in spell check - thx lambdacore12 :)
Fix  #7879
2024-01-31 17:08:35 +01:00
Nikolaj Olsson
235ff1ef5a
Merge pull request #7876 from OmrSi/find-shortcut-in-find-select-text
Make using Find shortcut in its dialog select text
2024-01-31 16:50:46 +01:00
Nikolaj Olsson
4603e550b0 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-01-31 16:00:53 +01:00
Nikolaj Olsson
4d2bafa024 Fix shorten text bug - thx ivandrofly :)
Fix #7885
2024-01-31 16:00:45 +01:00
Ivandro Jao
0d495ab244 Update IAutoTranslator interface
The IAutoTranslator interface has been expanded with new documentation. Further clarification has been added to the 'Translate' method including its parameters and return value. Additionally, documentation for the 'MaxCharacters' property and a new 'Error' property have been added.
2024-01-29 22:02:55 +00:00
Ivandro Jao
c2a9faed0a Integrate SeJsonParser as class field in MyMemoryApi
In the MyMemoryApi class, SeJsonParser is now instantiated as a class field instead of a local variable in the GetTranslatedTextAsync method. This change was implemented to simplify the retrieval of translated text from JSON results.
2024-01-29 22:01:08 +00:00
OmrSi
1640d7ffaf Make using Find shortcut in its dialog select text 2024-01-29 14:40:42 +02:00
Nikolaj Olsson
5068fc65df Fix json text decode bug - thx darnn :) 2024-01-29 07:56:06 +01:00
Nikolaj Olsson
710cb31cb7 Minor clean 2024-01-28 21:32:14 +01:00
Nikolaj Olsson
a052d3b083 Fix for MyMemory Russian/Hebrew - thx darnn :) 2024-01-28 21:31:20 +01:00
Nikolaj Olsson
b459aa22bb Work on translate 2024-01-28 20:37:47 +01:00
Nikolaj Olsson
fe1d7ce238 Fix sorting 2024-01-28 18:04:16 +01:00
Nikolaj Olsson
56e778caa2 Add Hebrew to ChatGPT/Gemini - thx darnn :) 2024-01-28 18:03:48 +01:00
Nikolaj Olsson
fe514c9c9a Work on Gemini translate 2024-01-28 17:59:15 +01:00
Nikolaj Olsson
c961c0bd3b testing Gemini 2024-01-28 17:10:15 +01:00
Nikolaj Olsson
60cac9cb09 Update Russian translation - thx elfriob :) 2024-01-28 13:09:54 +01:00
Nikolaj Olsson
0dcea07dc6 Work on Thai (ext Unicode) character count - thx Poh :) 2024-01-27 19:07:09 +01:00
Nikolaj Olsson
f0564400de Update French translation - thx Pierre :) 2024-01-27 18:46:21 +01:00
Hugo Carvalho
2776c450be
Update pt-PT.xml
For commit: 84b33dc9e0
2024-01-22 01:28:05 +00:00
Nikolaj Olsson
e254aea2c6 Upd<te Koeran translation - thx domddol :) 2024-01-21 08:48:02 +01:00
Nikolaj Olsson
1a593a8193 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2024-01-20 20:39:22 +01:00
Nikolaj Olsson
8e74470ba1 improve volume siderr and scaling - thx molitar :)
Somewhat fix #7847
2024-01-20 20:39:15 +01:00
bovirus
e544f88bb0
Update Italian language 2024-01-17 18:28:46 +01:00
Nikolaj Olsson
19d2fe5d54 Minor fix for #7837 2024-01-15 15:53:59 +01:00
Nikolaj Olsson
4085c25ee8 A little more #7839 2024-01-14 18:49:12 +01:00
Nikolaj Olsson
38fe049530 Yet another fix for ASSA default style - thx mpr0st :)
Fix #7839
2024-01-14 18:46:45 +01:00
Nikolaj Olsson
9fd8c0863d Update change log 2024-01-14 17:46:09 +01:00
Nikolaj Olsson
730ff76951 Fix for ASSA new file default style - thx mpr0st :)
Fix #7839
(when default style if not "Default")
2024-01-14 17:32:26 +01:00
Nikolaj Olsson
fbc1447428 Fix single line length to 39 for Netflix Russian - thx Ekaterina :) 2024-01-11 19:28:26 +01:00
nkh0472
bcc0a1735c
Update zh-Hans.xml
for commit 84b33dc9e0
2024-01-11 13:55:02 +08:00
Nikolaj Olsson
4949495c9c Add Turkish to translate via ChatGPT - thx Bel :) 2024-01-10 06:34:16 +01:00
Nikolaj Olsson
84b33dc9e0 Work on translate selected lines 2024-01-09 20:15:46 +01:00
Nikolaj Olsson
0a8746ea78 Try to improve ANSI encoding auto detect - thx wifi-left :)
Work on #7820
2024-01-07 17:38:11 +01:00
Nikolaj Olsson
d44fa6e205 Update Whisper CPP to V1.5.4 2024-01-06 18:52:18 +01:00
Nikolaj Olsson
3a81f5d2ed Fix crash in "Remove text for HI" - thx darnn :)
Fix #7818
2024-01-06 17:29:34 +01:00
Nikolaj Olsson
46b431d478 Update Finnish translation - thx Teijo S :) 2024-01-05 19:39:01 +01:00
Nikolaj Olsson
91745db3c7 Change "Save as" shortcut from "Control+Alt+S" to "Control+Shift+S" to work with Polish - thx Krystian :) 2024-01-05 19:33:58 +01:00
Nikolaj Olsson
1a6d6422e7 Fix for last commit 2024-01-05 18:36:16 +01:00
Nikolaj Olsson
74f7c69e33 Add one more check 2024-01-05 18:35:23 +01:00
Nikolaj Olsson
087060d4d2 Purfview Faster Whiaper:: Remove preprocessor_config.json file if empty - thx Purfview :)
Fix #7813
2024-01-05 18:25:06 +01:00
Nikolaj Olsson
abd36e5f9a Add CPP model small.en-q5_1.bin 2024-01-04 18:09:05 +01:00
Nikolaj Olsson
6a465d2e4f Update Whisper CPP to V1.5.3 2024-01-04 17:48:38 +01:00
Nikolaj Olsson
260bd33fe8 Fix Papago translate - thx banziseo :) 2024-01-03 19:37:06 +01:00
Nikolaj Olsson
56726b129c Fix for output file name in cmd line - thx sapphire-bt :)
Related to #5981
2024-01-02 17:37:23 +01:00
Nikolaj Olsson
f17bbd1665 Minor fix for last commit 2024-01-01 12:31:41 +01:00
Nikolaj Olsson
1cf0357ad0 Try to make it possible to cancel auto-translate faster - thx Siamak :) 2024-01-01 12:28:50 +01:00
Nikolaj Olsson
77f1d91831 Set file name after mks import - thx RedSoxFan04 :)
Work on #780
2023-12-31 11:42:07 +01:00
Nikolaj Olsson
974f165d99 Improve auto-translate re-split (two lines only) 2023-12-30 14:54:33 +01:00
Hugo Carvalho
31244cda0b
Update pt-PT.xml
For commit: df50a7a922
2023-12-27 18:18:36 +00:00
Nikolaj Olsson
df672f719d
Merge pull request #7776 from potplayer-fanpack/main
Update pl-PL.xml to version 4.0.3
2023-12-23 18:27:07 +01:00
Nikolaj Olsson
a15b6afae3 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-12-23 16:52:11 +01:00
Nikolaj Olsson
82d0a651d7 Update Korean translation - thx domddol :) 2023-12-23 16:52:04 +01:00
Adam Malich
07e1f317c1 Update pl-PL.xml to version 4.0.3 2023-12-23 15:19:01 +01:00
Nikolaj Olsson
5728ed2432
Merge branch 'main' into main 2023-12-23 14:55:15 +01:00
Nikolaj Olsson
e49c5c0bc7 SE 4.0.3 2023-12-23 10:58:19 +01:00
Μητσάκης Παναγιώτης
c47f63ee7b
Update el-GR.xml 2023-12-22 21:54:58 +02:00
Nikolaj Olsson
2a4496c80e Better remember last auto-translate languages - thx vivodi :)
Fix #7761
2023-12-22 13:52:15 +01:00
Juan M. Araújo
3d5aee93c2
Update es-AR.xml 2023-12-22 02:04:16 -03:00
Juan M. Araújo
6f0044143b
Update es-MX.xml 2023-12-22 02:04:12 -03:00
Nikolaj Olsson
43c9044e1b Fix for remembering auto-translate target language - thx vivodi :)
Work on #7761
2023-12-21 19:59:22 +01:00
Nikolaj Olsson
d9ffa1ac89 Fix faster whisper urls 2023-12-21 18:29:57 +01:00
Nikolaj Olsson
1c9fb10b53 Add "preprocessor_config.json" file download 2023-12-21 18:16:07 +01:00
Nikolaj Olsson
e0580aa591 Update Faster Whisper model links to Systran 2023-12-21 18:05:12 +01:00
Nikolaj Olsson
c8dce4c333 Update Purfview's Faster Whisper to r167.2 - thx Purfview :)
Related to #7764
2023-12-21 17:58:31 +01:00
Nikolaj Olsson
5f2ee69817 Fix Slovenian translation - thx Tomislav :) 2023-12-21 15:05:32 +01:00
Nikolaj Olsson
b4a96689b6 Minor updates 2023-12-19 18:59:47 +01:00
Nikolaj Olsson
c0fb0dbeb8 Paste text into list view from clipboard, now also inserts in original - thx darnn :)
Related to #7758
2023-12-19 17:58:12 +01:00
Nikolaj Olsson
52cb0c518a Set file ext in batch translate - thx Lunchbox209 :)
Related to #7759
2023-12-19 16:38:18 +01:00
Nikolaj Olsson
837d850e4b Minor fix for last commit 2023-12-18 21:41:32 +01:00
Nikolaj Olsson
fe5d007ab6 Fix for batch convert translate - thx Lunchbox209 :)
Work on #7759
2023-12-18 21:34:52 +01:00
Nikolaj Olsson
b0217b3380 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-12-18 17:03:13 +01:00
Nikolaj Olsson
b93bfe124e Update Bulgarian translation - thx Калин :) 2023-12-18 17:03:05 +01:00
nkh0472
0d8b537b3e
Update zh-Hans.xml
for commit df50a7a922
2023-12-18 18:01:26 +08:00
Nikolaj Olsson
621b8a9598
Merge pull request #7754 from Flitskikker/feature/btc-improvements-20231217
Some "Beautify time codes" fixes and improvements
2023-12-18 09:17:32 +01:00
Martijn van Berkel (Flitskikker)
8f5cc96d6d If not ignoring an overlap, fix it first to prevent unwanted outcomes 2023-12-17 23:45:03 +01:00
Martijn van Berkel (Flitskikker)
9d7f8e3bc3 Set default threshold to 1000 ms 2023-12-17 23:12:06 +01:00
Martijn van Berkel (Flitskikker)
c2dd129b20 Fix exceptions for edgecase with overlapping subtitles or a large "Treat as connected" setting 2023-12-17 22:35:54 +01:00
Martijn van Berkel (Flitskikker)
86e033ee62 Add overlap threshold 2023-12-17 22:34:32 +01:00
Nikolaj Olsson
27a58ae0f0 Allow hide of codec info in video label
Related to #7636
2023-12-17 21:25:02 +01:00
Nikolaj Olsson
5660484403 Update DK/SV 2023-12-17 20:57:53 +01:00
bovirus
f1fc24eb32
Update Italian language 2023-12-17 20:52:30 +01:00
Nikolaj Olsson
d7a8db4f89 Improve media info a bit 2023-12-17 20:23:47 +01:00
Nikolaj Olsson
464c4c0c09 Testing #7752 2023-12-17 18:34:20 +01:00
Nikolaj Olsson
dbb23369ee Show video info, when clicking on video label - thx Leon :)
Fix #7636
2023-12-17 16:12:30 +01:00
Nikolaj Olsson
29d9b25f57 Fix resize for video file name + info
A little relatd to  #7636
2023-12-17 14:02:35 +01:00
Nikolaj Olsson
df50a7a922 Add "Formality" for DeepL 2023-12-17 12:48:53 +01:00
Nikolaj Olsson
ae49d1931b Update Whisper CPP to 1.5.2 2023-12-16 21:25:47 +01:00
Nikolaj Olsson
9221760408 Update dictionaries 2023-12-16 21:01:21 +01:00
Nikolaj Olsson
459e78294f
Merge pull request #7750 from Flitskikker/feature/update-nl-translation-20231216
Update Dutch translation
2023-12-16 17:42:37 +01:00
Martijn van Berkel (Flitskikker)
8f9711498f Update Dutch translation 2023-12-16 17:20:05 +01:00
Martijn van Berkel (Flitskikker)
d37590e202 Bring Cancel button for extracting time codes to front when needed 2023-12-16 17:12:03 +01:00
Martijn van Berkel (Flitskikker)
2331d493f9 Align controls on BTC dialog 2023-12-16 17:08:50 +01:00
Martijn van Berkel (Flitskikker)
8e783a9f4b Pass current framerate (instead of 0) to BTC Profile dialog from Settings to prevent errors in Simple dialog 2023-12-16 17:08:31 +01:00
Nikolaj Olsson
20f69c81a9 Fix typo 2023-12-16 13:14:43 +01:00
Nikolaj Olsson
d36e9a0679 Work on #7744 2023-12-16 13:14:21 +01:00
Nikolaj Olsson
0e45b8aee7 Remember combobox line split mode in "Import plain text" - thx Leon :)
Fix #7743
2023-12-16 13:07:28 +01:00
Nikolaj Olsson
f6f7f77d5c Add "add new no-break-after-list" - thx lambdacore12 :)
Related to #7745
2023-12-16 12:50:32 +01:00
Nikolaj Olsson
284592b1e9 Improve err handling a little 2023-12-16 12:00:46 +01:00
Nikolaj Olsson
09770e74a9 Add .adts as audio file ext 2023-12-16 11:55:25 +01:00
Nikolaj Olsson
3e4bfbb9cd Toggle music symbols, now toggles via first text - thx Leon :)
Related to #7386
2023-12-15 20:13:56 +01:00
Nikolaj Olsson
a2e9519725 Minor update of err msg 2023-12-15 17:16:37 +01:00
Nikolaj Olsson
7d368717ef More error handling 2023-12-15 07:12:59 +01:00
Nikolaj Olsson
a1a95417f0 Improve error handling 2023-12-14 19:11:54 +01:00
Nikolaj Olsson
b29c3cb995 Fix issue with "Merge short lines" - thx despairTK :)
Work on  #7735
Allow merge short lines when "%" and "$" ending
2023-12-14 18:37:04 +01:00
Nikolaj Olsson
056cac00b8 Use source video folder when saving hard-sub vid - thx LeonCheung :)
Work on #7737
2023-12-14 18:21:57 +01:00
Nikolaj Olsson
e7806e8279 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-12-14 18:13:41 +01:00
Nikolaj Olsson
58bac8c6ed Minor fix for OCR engine
Add check when applying a new line ending period
2023-12-14 18:08:02 +01:00
Hugo Carvalho
29a08ba832
Update pt-PT.xml
For commit: 7ee3b3e227
and another minor correction.
2023-12-13 14:27:37 +00:00
Nikolaj Olsson
563633fc0f Minor fix for msg box copy text
Only use selected text if any
2023-12-13 07:17:17 +01:00
Nikolaj Olsson
6fe1f4f593 Update French letters - thx tormento :)
Fix #7730
2023-12-13 07:16:38 +01:00
Nikolaj Olsson
9333160f9f Show chat gpt url in auto-translate 2023-12-12 13:49:13 +01:00
Nikolaj Olsson
608b37a7a0 Update Bulgarian translation - thx Калин :) 2023-12-12 13:48:11 +01:00
Nikolaj Olsson
e105eee94e Update German translation - thx Netspark :) 2023-12-11 06:52:42 +01:00
Nikolaj Olsson
1c7945abc2 Use same logic for numpad subtract/add/divide/multiply as for single letter letters/digits - thx
pandalamp :)
Work on #7717
2023-12-09 17:34:56 +01:00
Nikolaj Olsson
4b818b1457 Improve error msg slightly 2023-12-09 17:33:54 +01:00
Nikolaj Olsson
aa37d8c74e A few minor updates 2023-12-09 15:00:39 +01:00
Nikolaj Olsson
82a1fbb234 Remember setting 2023-12-08 18:24:21 +01:00
Nikolaj Olsson
984832e172 Always use even resolutions for ffmpeg - thx Leon :) 2023-12-08 18:19:31 +01:00
Nikolaj Olsson
3d2d7b5462 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-12-08 17:27:02 +01:00
Nikolaj Olsson
23364040cd Allow configure of Whisper post-processing 2023-12-08 17:26:55 +01:00