Commit Graph

17991 Commits

Author SHA1 Message Date
Ivandro Jao
3872cc8bcf Refactor plugin loading logic and improve validation checks.
The refactoring was done for LocalPluginMetadataProvider and LocalPlugin classes. A new SymbolReader class is introduced to read property values from the plugin assemblies' types using reflection, removing repeated code for this task. String constants are introduced for the "*.dll" extension and for the properties names to avoid hardcoded strings.
In LocalPlugin, a validation check method 'IsValid' is introduced to ensure the plugin's name is not null or empty and its version is greater than 0. This is to ensure only valid plugins get added to the installed plugins. Improved the equality check for plugin names to ignore casing. All these changes made the code more maintainable and robust, reducing possibility for errors.
2023-08-17 20:46:54 +01:00
niksedk
6b7877f5c6 Use better color picker for dark theme fore/back color 2023-08-17 15:41:43 +02:00
niksedk
6e3a3c79bf Minor UI fix (context menu dynamic created items) 2023-08-17 15:00:37 +02:00
niksedk
63cffd0cf0 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-08-17 14:17:46 +02:00
niksedk
4529d5742c Update Korean translation - thx domddol :) 2023-08-17 14:17:40 +02:00
Nikolaj Olsson
d409244063
Merge pull request #7251 from nkh0472/main-1
Update zh-Hans.xml
2023-08-17 08:16:41 -04:00
niksedk
941f37f9f4 Work on new shortcuts 2023-08-17 14:15:57 +02:00
nkh0472
53c260dc71
Update zh-Hans.xml 2023-08-17 19:21:06 +08:00
niksedk
c2863f5399 Work on new shortcuts 2023-08-17 12:54:50 +02:00
Nikolaj Olsson
0d95b26a19
Merge pull request #7250 from bovirus/main
Update italian language
2023-08-17 05:16:24 -04:00
niksedk
b86e4a9e4a Allow 33 mb text subtitles + unlimeted .ass files in cmd line convert - thx JeWe37 :)
Fix #7244
2023-08-17 11:09:00 +02:00
bovirus
75c6b96aa5
Update italian language 2023-08-17 10:35:02 +02:00
niksedk
83eb4b9667 Minor UI fixes 2023-08-17 08:59:51 +02:00
niksedk
20169ffd8c Some fixes for ASSA set layer 2023-08-17 08:45:35 +02:00
niksedk
cfff37f67d Update Bulgarian translation - thx Калин :) 2023-08-17 08:29:06 +02:00
niksedk
4c06f30c24 More dark theme - thx Leon :)
Work on #7205
2023-08-17 08:27:12 +02:00
niksedk
040db8b667 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-08-17 07:30:41 +02:00
niksedk
6d9537f438 Fix wrong overlap message - thx Cyberyoda1411 :)
Fix #7246
2023-08-17 07:30:33 +02:00
Ivandro Jao
e387d7244d Move plugin constant initialization close to usage
The location of the constant initialization "IPlugin" was moved closer to its usage within the GetPlugins() method. This provides better code readability
2023-08-16 22:23:21 +01:00
Ivandro Jao
94c53cd425 Remove redundant code in LocalPluginMetadataProvider.cs
Removed the GetKnownProperties method in the LocalPluginMetadataProvider class. This part was unnecessary because we rely on a specific set of properties ("Text") and don't need to retrieve all public instance properties. This results in cleaner and more efficient code.
2023-08-16 21:45:28 +01:00
Ivandro Jao
40d839d32f Fixes #7186 2023-08-16 21:42:28 +01:00
Nikolaj Olsson
f927757708
Merge pull request #7242 from hugok79/patch-104
Update pt-PT.xml
2023-08-16 14:07:49 -04:00
niksedk
d59b6bb0bc Update yt-dlp to 2023.07.06 2023-08-16 20:02:55 +02:00
niksedk
9690e203ab Minor adjust for list view unfocused seleced tow 2023-08-16 19:58:52 +02:00
Hugo Carvalho
bf185b7dc2
Update pt-PT.xml
For commits: 57879a61dc 207c4a8175
2023-08-16 18:33:47 +01:00
niksedk
73732bdd3f A little more EBU auto fix 2023-08-16 17:56:47 +02:00
niksedk
e97360f786 Update change log 2023-08-16 17:50:07 +02:00
niksedk
451faecc07 Minor fix for text box focus box 2023-08-16 17:16:26 +02:00
niksedk
acd9e46f04 Allow .tsv as extension for tranport streams - thx Mihai :) 2023-08-16 15:43:55 +02:00
niksedk
207c4a8175 Minor work on progress helper 2023-08-16 15:43:15 +02:00
niksedk
0833371735 Fix typo + double dialog 2023-08-16 14:57:14 +02:00
niksedk
7167471dbb Update Dansih translation 2023-08-16 14:18:32 +02:00
niksedk
bf97d803aa Update Korean translation - thx domddol :) 2023-08-16 14:14:58 +02:00
niksedk
5be4d0ee4e again... 2023-08-16 14:14:14 +02:00
niksedk
b1756fb888 Use blue focus color for NikseTextBox 2023-08-16 14:13:52 +02:00
niksedk
a1fc3d5eb1 Use simple text box for better dark theme 2023-08-16 11:37:58 +02:00
niksedk
57879a61dc Minor improve of Whisper UI 2023-08-16 10:55:41 +02:00
niksedk
ec8f8584c8 Add whisper update check 2023-08-16 08:55:29 +02:00
niksedk
1a874cb77d Minor fix for msgbox (use left align) 2023-08-15 23:29:04 +02:00
niksedk
ec9fb47f66 Fix for new msgbox 2023-08-15 23:00:03 +02:00
niksedk
93b61b2972 Fix for Visual sync 2023-08-15 22:59:49 +02:00
niksedk
c942f2f1c1 Batch convert use new label 2023-08-15 22:48:56 +02:00
niksedk
81349967dd Fix for crash in Batch convert - thx pcspeak :)
Fix #7241
2023-08-15 22:30:08 +02:00
niksedk
6a80c278a3 Minor refact 2023-08-15 19:32:38 +02:00
niksedk
b3bd422260 Testing for CUDA - thx Purfview :)
See https://github.com/Purfview/whisper-standalone-win/issues/58#issuecomment-1679221536
2023-08-15 19:14:02 +02:00
niksedk
50f6fe1925 Draw file association image in dark mode 2023-08-15 18:11:28 +02:00
niksedk
580b15a37e Update Korean translation - thx domddol :) 2023-08-15 17:19:36 +02:00
Nikolaj Olsson
13598aba6c
Merge pull request #7240 from hugok79/patch-103
Update pt-PT.xml
2023-08-15 11:04:32 -04:00
Nikolaj Olsson
9b21ecc0c2
Merge pull request #7239 from bovirus/main
Update italian language
2023-08-15 11:03:46 -04:00
Nikolaj Olsson
deafd47829
Merge pull request #7107 from PMitsakis/main
Translation update
2023-08-15 11:03:22 -04:00